#C2AB3A#C2AB3A
#C2AB3A is a light, vivid yellow. Relative luminance 0.409; OKLCH L 74.1% C 0.132 H 97.5°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).
Color values
| HEX | #C2AB3A |
|---|---|
| RGB | rgb(194, 171, 58) |
| HSL | hsl(50, 54%, 49%) |
| HSV | hsv(50, 70%, 76%) |
| CMYK | cmyk(0%, 11.9%, 70.1%, 23.9%) |
| CIE-LAB | lab(70.11, -4.18, 58.47) |
| CIE-LCH | lch(70.11, 58.62, 94.09°) |
| OKLab | oklab(74.09% -0.0171 0.1305) |
| OKLCH | oklch(74.09% 0.132 97.5) |
| XYZ | xyz(37.5766, 40.9025, 9.9179) |
| Luminance | 0.4090 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.67
Brownish Yellow
#C9B003
ΔE00 4.08
Mustard (survey)
#CEB301
ΔE00 4.76
Dark Yellow
#D5B60A
ΔE00 5.54
Mustard
#DBB42C
ΔE00 5.67
Ocher
#BF9B0C
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2AB3A #3A51C2
analogous
#C2673A #C2AB3A #95C23A
triadic
#C2AB3A #3AC2AB #AB3AC2
tetradic
#C2AB3A #3AC267 #3A51C2 #C23A95
square
#C2AB3A #3AC267 #3A51C2 #C23A95
split-complementary
#C2AB3A #3A95C2 #673AC2
monochromatic
#64581E #93812C #C2AB3A #D2C067 #E0D397
Accessibility & contrast
On white
2.29
#C2AB3A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.18
#C2AB3A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2AB3A
9.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2AB3A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2AB3A | 1.00 | 2.29 | 9.18 | 9.18 |
| #FFFFFF | 2.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA72A
Deuteranopia (green-blind)
#C2AF41
Tritanopia (blue-blind)
#D19E94
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #c2ab3a; /* rgb */ color: rgb(194, 171, 58); /* oklch */ color: oklch(74.1% 0.132 97.5);
Tailwind
colors: {
custom: {
50: '#d8c377',
500: '#c2ab3a',
950: '#000000',
},
}SCSS
$custom: #c2ab3a; $custom-light: #d8c377; $custom-dark: #000000;
JSON
{
"hex": "#c2ab3a",
"rgb": {
"r": 194,
"g": 171,
"b": 58
},
"hsl": {
"h": 49.853,
"s": 53.968,
"l": 49.412
},
"oklch": {
"l": 0.74091,
"c": 0.13161,
"h": 97.5
},
"luminance": 0.40901
}Semantic roles & 50–950 ramp
primary
#C2AB3A
secondary
#8D97CB
accent
#63DD4A
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B