#C2AB35#C2AB35
#C2AB35 is a light, vivid yellow. Relative luminance 0.409; OKLCH L 74.1% C 0.135 H 97.8°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).
Color values
| HEX | #C2AB35 |
|---|---|
| RGB | rgb(194, 171, 53) |
| HSL | hsl(50, 57%, 48%) |
| HSV | hsv(50, 73%, 76%) |
| CMYK | cmyk(0%, 11.9%, 72.7%, 23.9%) |
| CIE-LAB | lab(70.07, -4.43, 60.39) |
| CIE-LCH | lch(70.07, 60.55, 94.20°) |
| OKLab | oklab(74.05% -0.0184 0.1336) |
| OKLCH | oklch(74.05% 0.135 97.8) |
| XYZ | xyz(37.4555, 40.8541, 9.2802) |
| Luminance | 0.4085 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.16
Brownish Yellow
#C9B003
ΔE00 3.61
Mustard (survey)
#CEB301
ΔE00 4.34
Dark Yellow
#D5B60A
ΔE00 5.20
Olive Yellow
#C2B709
ΔE00 5.43
Mustard
#DBB42C
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2AB35 #354CC2
analogous
#C26435 #C2AB35 #92C235
triadic
#C2AB35 #35C2AB #AB35C2
tetradic
#C2AB35 #35C264 #354CC2 #C23592
square
#C2AB35 #35C264 #354CC2 #C23592
split-complementary
#C2AB35 #3592C2 #6435C2
monochromatic
#62561B #928128 #C2AB35 #D4C160 #E1D491
Accessibility & contrast
On white
2.29
#C2AB35 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.17
#C2AB35 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2AB35
9.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2AB35 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2AB35 | 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)
#BCA722
Deuteranopia (green-blind)
#C2AF3C
Tritanopia (blue-blind)
#D19E94
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #c2ab35; /* rgb */ color: rgb(194, 171, 53); /* oklch */ color: oklch(74.1% 0.135 97.8);
Tailwind
colors: {
custom: {
50: '#d8c374',
500: '#c2ab35',
950: '#000000',
},
}SCSS
$custom: #c2ab35; $custom-light: #d8c374; $custom-dark: #000000;
JSON
{
"hex": "#c2ab35",
"rgb": {
"r": 194,
"g": 171,
"b": 53
},
"hsl": {
"h": 50.213,
"s": 57.085,
"l": 48.431
},
"oklch": {
"l": 0.74054,
"c": 0.13489,
"h": 97.8
},
"luminance": 0.40852
}Semantic roles & 50–950 ramp
primary
#C2AB35
secondary
#8792CC
accent
#60E047
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B