#C2B02B#C2B02B
#C2B02B is a light, vivid yellow. Relative luminance 0.427; OKLCH L 75.0% C 0.144 H 101.2°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).
Color values
| HEX | #C2B02B |
|---|---|
| RGB | rgb(194, 176, 43) |
| HSL | hsl(53, 64%, 46%) |
| HSV | hsv(53, 78%, 76%) |
| CMYK | cmyk(0%, 9.3%, 77.8%, 23.9%) |
| CIE-LAB | lab(71.35, -7.48, 65.08) |
| CIE-LCH | lch(71.35, 65.51, 96.55°) |
| OKLab | oklab(75.05% -0.0279 0.1417) |
| OKLCH | oklch(75.05% 0.144 101.2) |
| XYZ | xyz(38.2114, 42.6962, 8.5135) |
| Luminance | 0.4269 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 1.99
Brownish Yellow
#C9B003
ΔE00 2.75
Olive Yellow
#C2B709
ΔE00 3.17
Mustard (survey)
#CEB301
ΔE00 3.48
Mustard Yellow
#D2BD0A
ΔE00 4.49
Dark Yellow
#D5B60A
ΔE00 4.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2B02B #2B3DC2
analogous
#C2652B #C2B02B #89C22B
triadic
#C2B02B #2BC2B0 #B02BC2
tetradic
#C2B02B #2BC265 #2B3DC2 #C22B89
square
#C2B02B #2BC265 #2B3DC2 #C22B89
split-complementary
#C2B02B #2B89C2 #652BC2
monochromatic
#5E5515 #908320 #C2B02B #D9C852 #E4D884
Accessibility & contrast
On white
2.20
#C2B02B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.54
#C2B02B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2B02B
9.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2B02B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2B02B | 1.00 | 2.20 | 9.54 | 9.54 |
| #FFFFFF | 2.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AB08
Deuteranopia (green-blind)
#C6B235
Tritanopia (blue-blind)
#D1A397
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #c2b02b; /* rgb */ color: rgb(194, 176, 43); /* oklch */ color: oklch(75.0% 0.144 101.2);
Tailwind
colors: {
custom: {
50: '#d9c770',
500: '#c2b02b',
950: '#000000',
},
}SCSS
$custom: #c2b02b; $custom-light: #d9c770; $custom-dark: #000000;
JSON
{
"hex": "#c2b02b",
"rgb": {
"r": 194,
"g": 176,
"b": 43
},
"hsl": {
"h": 52.848,
"s": 63.713,
"l": 46.471
},
"oklch": {
"l": 0.75047,
"c": 0.14442,
"h": 101.2
},
"luminance": 0.42694
}Semantic roles & 50–950 ramp
primary
#C2B02B
secondary
#7C86CD
accent
#55E741
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151308
muted
#83827B