#C2AB37#C2AB37
#C2AB37 is a light, vivid yellow. Relative luminance 0.409; OKLCH L 74.1% C 0.134 H 97.7°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).
Color values
| HEX | #C2AB37 |
|---|---|
| RGB | rgb(194, 171, 55) |
| HSL | hsl(50, 56%, 49%) |
| HSV | hsv(50, 72%, 76%) |
| CMYK | cmyk(0%, 11.9%, 71.6%, 23.9%) |
| CIE-LAB | lab(70.09, -4.34, 59.63) |
| CIE-LCH | lch(70.09, 59.79, 94.16°) |
| OKLab | oklab(74.07% -0.0179 0.1324) |
| OKLCH | oklch(74.07% 0.134 97.7) |
| XYZ | xyz(37.5025, 40.8729, 9.5276) |
| Luminance | 0.4087 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.36
Brownish Yellow
#C9B003
ΔE00 3.79
Mustard (survey)
#CEB301
ΔE00 4.50
Dark Yellow
#D5B60A
ΔE00 5.33
Olive Yellow
#C2B709
ΔE00 5.57
Mustard
#DBB42C
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2AB37 #374EC2
analogous
#C26637 #C2AB37 #94C237
triadic
#C2AB37 #37C2AB #AB37C2
tetradic
#C2AB37 #37C266 #374EC2 #C23794
square
#C2AB37 #37C266 #374EC2 #C23794
split-complementary
#C2AB37 #3794C2 #6637C2
monochromatic
#63571C #928129 #C2AB37 #D3C063 #E0D493
Accessibility & contrast
On white
2.29
#C2AB37 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.17
#C2AB37 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2AB37
9.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2AB37 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2AB37 | 1.00 | 2.29 | 9.17 | 9.17 |
| #FFFFFF | 2.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA725
Deuteranopia (green-blind)
#C2AF3E
Tritanopia (blue-blind)
#D19E94
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #c2ab37; /* rgb */ color: rgb(194, 171, 55); /* oklch */ color: oklch(74.1% 0.134 97.7);
Tailwind
colors: {
custom: {
50: '#d8c375',
500: '#c2ab37',
950: '#000000',
},
}SCSS
$custom: #c2ab37; $custom-light: #d8c375; $custom-dark: #000000;
JSON
{
"hex": "#c2ab37",
"rgb": {
"r": 194,
"g": 171,
"b": 55
},
"hsl": {
"h": 50.072,
"s": 55.823,
"l": 48.824
},
"oklch": {
"l": 0.74068,
"c": 0.13361,
"h": 97.7
},
"luminance": 0.40871
}Semantic roles & 50–950 ramp
primary
#C2AB37
secondary
#8994CB
accent
#62DF49
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B