#C2AB33#C2AB33
#C2AB33 is a light, vivid yellow. Relative luminance 0.408; OKLCH L 74.0% C 0.136 H 97.9°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).
Color values
| HEX | #C2AB33 |
|---|---|
| RGB | rgb(194, 171, 51) |
| HSL | hsl(50, 58%, 48%) |
| HSV | hsv(50, 74%, 76%) |
| CMYK | cmyk(0%, 11.9%, 73.7%, 23.9%) |
| CIE-LAB | lab(70.06, -4.52, 61.12) |
| CIE-LCH | lch(70.06, 61.29, 94.23°) |
| OKLab | oklab(74.04% -0.0188 0.1348) |
| OKLCH | oklch(74.04% 0.136 97.9) |
| XYZ | xyz(37.4104, 40.8361, 9.0430) |
| Luminance | 0.4083 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 2.98
Brownish Yellow
#C9B003
ΔE00 3.43
Mustard (survey)
#CEB301
ΔE00 4.18
Dark Yellow
#D5B60A
ΔE00 5.08
Olive Yellow
#C2B709
ΔE00 5.30
Mustard
#DBB42C
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2AB33 #334AC2
analogous
#C26433 #C2AB33 #91C233
triadic
#C2AB33 #33C2AB #AB33C2
tetradic
#C2AB33 #33C264 #334AC2 #C23391
square
#C2AB33 #33C264 #334AC2 #C23391
split-complementary
#C2AB33 #3391C2 #6433C2
monochromatic
#61561A #928026 #C2AB33 #D5C15E #E1D48E
Accessibility & contrast
On white
2.29
#C2AB33 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.17
#C2AB33 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2AB33
9.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2AB33 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2AB33 | 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)
#BCA71E
Deuteranopia (green-blind)
#C2AF3B
Tritanopia (blue-blind)
#D19E94
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #c2ab33; /* rgb */ color: rgb(194, 171, 51); /* oklch */ color: oklch(74.0% 0.136 97.9);
Tailwind
colors: {
custom: {
50: '#d8c373',
500: '#c2ab33',
950: '#000000',
},
}SCSS
$custom: #c2ab33; $custom-light: #d8c373; $custom-dark: #000000;
JSON
{
"hex": "#c2ab33",
"rgb": {
"r": 194,
"g": 171,
"b": 51
},
"hsl": {
"h": 50.35,
"s": 58.367,
"l": 48.039
},
"oklch": {
"l": 0.7404,
"c": 0.13612,
"h": 97.9
},
"luminance": 0.40834
}Semantic roles & 50–950 ramp
primary
#C2AB33
secondary
#8590CC
accent
#5FE246
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B