#C2B22B#C2B22B
#C2B22B is a light, vivid yellow. Relative luminance 0.435; OKLCH L 75.5% C 0.146 H 102.2°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).
Color values
| HEX | #C2B22B |
|---|---|
| RGB | rgb(194, 178, 43) |
| HSL | hsl(54, 64%, 46%) |
| HSV | hsv(54, 78%, 76%) |
| CMYK | cmyk(0%, 8.2%, 77.8%, 23.9%) |
| CIE-LAB | lab(71.88, -8.52, 65.56) |
| CIE-LCH | lch(71.88, 66.11, 97.40°) |
| OKLab | oklab(75.47% -0.0309 0.1427) |
| OKLCH | oklch(75.47% 0.146 102.2) |
| XYZ | xyz(38.6064, 43.4863, 8.6452) |
| Luminance | 0.4349 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 2.32
Olive Yellow
#C2B709
ΔE00 2.58
Brownish Yellow
#C9B003
ΔE00 3.05
Mustard (survey)
#CEB301
ΔE00 3.68
Mustard Yellow
#D2BD0A
ΔE00 4.19
Puke Yellow
#C2BE0E
ΔE00 4.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2B22B #2B3BC2
analogous
#C2662B #C2B22B #87C22B
triadic
#C2B22B #2BC2B2 #B22BC2
tetradic
#C2B22B #2BC266 #2B3BC2 #C22B87
square
#C2B22B #2BC266 #2B3BC2 #C22B87
split-complementary
#C2B22B #2B87C2 #662BC2
monochromatic
#5E5615 #908420 #C2B22B #D9CA52 #E4DA84
Accessibility & contrast
On white
2.17
#C2B22B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.70
#C2B22B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2B22B
9.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2B22B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2B22B | 1.00 | 2.17 | 9.70 | 9.70 |
| #FFFFFF | 2.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3AC06
Deuteranopia (green-blind)
#C8B335
Tritanopia (blue-blind)
#D1A599
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #c2b22b; /* rgb */ color: rgb(194, 178, 43); /* oklch */ color: oklch(75.5% 0.146 102.2);
Tailwind
colors: {
custom: {
50: '#d9c870',
500: '#c2b22b',
950: '#000000',
},
}SCSS
$custom: #c2b22b; $custom-light: #d9c870; $custom-dark: #000000;
JSON
{
"hex": "#c2b22b",
"rgb": {
"r": 194,
"g": 178,
"b": 43
},
"hsl": {
"h": 53.642,
"s": 63.713,
"l": 46.471
},
"oklch": {
"l": 0.75472,
"c": 0.14603,
"h": 102.2
},
"luminance": 0.43485
}Semantic roles & 50–950 ramp
primary
#C2B22B
secondary
#7C85CD
accent
#53E741
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151308
muted
#83827B