#C2B434#C2B434
#C2B434 is a light, vivid yellow. Relative luminance 0.444; OKLCH L 76.0% C 0.143 H 102.9°. Best body text is #000000 at 9.87:1 contrast (WCAG AA passes).
Color values
| HEX | #C2B434 |
|---|---|
| RGB | rgb(194, 180, 52) |
| HSL | hsl(54, 58%, 48%) |
| HSV | hsv(54, 73%, 76%) |
| CMYK | cmyk(0%, 7.2%, 73.2%, 23.9%) |
| CIE-LAB | lab(72.47, -9.18, 63.07) |
| CIE-LCH | lch(72.47, 63.73, 98.28°) |
| OKLab | oklab(75.95% -0.0319 0.1391) |
| OKLCH | oklch(75.95% 0.143 102.9) |
| XYZ | xyz(39.1910, 44.3614, 9.7464) |
| Luminance | 0.4436 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Yellow
#C2B709
ΔE00 2.78
Muddy Yellow
#BFAC05
ΔE00 3.26
Brownish Yellow
#C9B003
ΔE00 3.92
Puke Yellow
#C2BE0E
ΔE00 4.25
Mustard (survey)
#CEB301
ΔE00 4.42
Mustard Yellow
#D2BD0A
ΔE00 4.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2B434 #3442C2
analogous
#C26D34 #C2B434 #89C234
triadic
#C2B434 #34C2B4 #B434C2
tetradic
#C2B434 #34C26D #3442C2 #C23489
square
#C2B434 #34C26D #3442C2 #C23489
split-complementary
#C2B434 #3489C2 #6D34C2
monochromatic
#615A1A #928727 #C2B434 #D4C95F #E1D98F
Accessibility & contrast
On white
2.13
#C2B434 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.87
#C2B434 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2B434
9.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2B434 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2B434 | 1.00 | 2.13 | 9.87 | 9.87 |
| #FFFFFF | 2.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5AE1D
Deuteranopia (green-blind)
#C9B53D
Tritanopia (blue-blind)
#D1A79B
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #c2b434; /* rgb */ color: rgb(194, 180, 52); /* oklch */ color: oklch(76.0% 0.143 102.9);
Tailwind
colors: {
custom: {
50: '#d8ca75',
500: '#c2b434',
950: '#000000',
},
}SCSS
$custom: #c2b434; $custom-light: #d8ca75; $custom-dark: #000000;
JSON
{
"hex": "#c2b434",
"rgb": {
"r": 194,
"g": 180,
"b": 52
},
"hsl": {
"h": 54.085,
"s": 57.724,
"l": 48.235
},
"oklch": {
"l": 0.75953,
"c": 0.14274,
"h": 102.9
},
"luminance": 0.4436
}Semantic roles & 50–950 ramp
primary
#C2B434
secondary
#868DCC
accent
#56E147
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B