#C2B21D color
The hex color #C2B21D is a moderate yellow.
In the RGB color model it is made of 76.1% red, 69.8% green and 11.4% blue (194, 178, 29).
Its hue angle is 54°, with 74% saturation and 44% lightness. For print, the CMYK equivalent is 0% cyan, 8% magenta, 85% yellow and 24% black.
The closest named color is Muddy Yellow (#BFAC05), a difference of 1.8 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 9.68:1).
#C2B21D color codes
| HEX | #C2B21D | |
|---|---|---|
| RGB | rgb(194, 178, 29) | |
| RGB percent | rgb(76.1%, 69.8%, 11.4%) | |
| HSL | hsl(54, 74%, 44%) | |
| HSV / HSB | hsv(54, 85%, 76%) | |
| CMYK | cmyk(0%, 8%, 85%, 24%) | |
| CIE LAB | lab(71.83, -8.96, 69.38) | |
| CIE LCH | lch(71.83, 69.95, 97.35) | |
| CIE XYZ | xyz(38.392, 43.401, 7.517) | |
| Decimal | 12759581 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #C2B21D, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #C2B21D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.68:1 | Pass | Pass | Pass |
| Sample text | 2.17:1 | Fail | Fail | Fail |
| #C2B21D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.17:1 | Fail | Fail | Fail |
| Sample text | 9.68:1 | Pass | Pass | Pass |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #C2B21D looks to people with the most common types of color vision deficiency.
#c3ac00Protanopia
no red cones#c8b32bDeuteranopia
no green cones#d1a598Tritanopia
no blue cones#b0b0b0Achromatopsia
no color vision
CSS examples
.background { background-color: #c2b21d; }
.text { color: #c2b21d; }
.border { border: 2px solid #c2b21d; }
.transparent { background-color: rgb(194 178 29 / 50%); }
.gradient { background: linear-gradient(to right, #c2b21d, #7fc21d); }
Similar colors
#bfac05Muddy Yellow#cab012Sulphur#c1b23ePesto#bda928Greenfinch#bea932Hey Pesto#cfb53bOld Gold#d5bc26Indian Pale Ale#c6aa2bHippie Trail
Closest common color name: Metallic Gold.
Questions
- What color is #C2B21D?
- #C2B21D is a moderate yellow, closest to the named color Muddy Yellow. It belongs to the yellow family of colors.
- What is the RGB value of #C2B21D?
- The RGB value is 194, 178, 29: 194 red, 178 green and 29 blue on a 0 to 255 scale.
- What is the complementary color of #C2B21D?
- The complementary color is #1D2DC2, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #C2B21D?
- Black text. Black text has a contrast ratio of 9.68:1 and white text 2.17:1. WCAG asks for at least 4.5:1 for normal text.