#C2AB3B#C2AB3B
#C2AB3B is a light, vivid yellow. Relative luminance 0.409; OKLCH L 74.1% C 0.131 H 97.4°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).
Color values
| HEX | #C2AB3B |
|---|---|
| RGB | rgb(194, 171, 59) |
| HSL | hsl(50, 53%, 50%) |
| HSV | hsv(50, 70%, 76%) |
| CMYK | cmyk(0%, 11.9%, 69.6%, 23.9%) |
| CIE-LAB | lab(70.11, -4.13, 58.08) |
| CIE-LCH | lch(70.11, 58.23, 94.07°) |
| OKLab | oklab(74.1% -0.0168 0.1299) |
| OKLCH | oklch(74.1% 0.131 97.4) |
| XYZ | xyz(37.6023, 40.9128, 10.0532) |
| Luminance | 0.4091 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.78
Brownish Yellow
#C9B003
ΔE00 4.19
Mustard (survey)
#CEB301
ΔE00 4.85
Dark Yellow
#D5B60A
ΔE00 5.62
Mustard
#DBB42C
ΔE00 5.70
Ocher
#BF9B0C
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2AB3B #3B52C2
analogous
#C2683B #C2AB3B #96C23B
triadic
#C2AB3B #3BC2AB #AB3BC2
tetradic
#C2AB3B #3BC268 #3B52C2 #C23B96
square
#C2AB3B #3BC268 #3B52C2 #C23B96
split-complementary
#C2AB3B #3B96C2 #683BC2
monochromatic
#64581E #93822D #C2AB3B #D1C069 #E0D398
Accessibility & contrast
On white
2.29
#C2AB3B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.18
#C2AB3B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2AB3B
9.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2AB3B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2AB3B | 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)
#BCA72B
Deuteranopia (green-blind)
#C2AF41
Tritanopia (blue-blind)
#D19E94
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #c2ab3b; /* rgb */ color: rgb(194, 171, 59); /* oklch */ color: oklch(74.1% 0.131 97.4);
Tailwind
colors: {
custom: {
50: '#d8c377',
500: '#c2ab3b',
950: '#000000',
},
}SCSS
$custom: #c2ab3b; $custom-light: #d8c377; $custom-dark: #000000;
JSON
{
"hex": "#c2ab3b",
"rgb": {
"r": 194,
"g": 171,
"b": 59
},
"hsl": {
"h": 49.778,
"s": 53.36,
"l": 49.608
},
"oklch": {
"l": 0.74099,
"c": 0.13094,
"h": 97.4
},
"luminance": 0.40911
}Semantic roles & 50–950 ramp
primary
#C2AB3B
secondary
#8E98CB
accent
#64DD4B
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#151209
muted
#83817B