#C2AB36#C2AB36
#C2AB36 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 | #C2AB36 |
|---|---|
| RGB | rgb(194, 171, 54) |
| HSL | hsl(50, 56%, 49%) |
| HSV | hsv(50, 72%, 76%) |
| CMYK | cmyk(0%, 11.9%, 72.2%, 23.9%) |
| CIE-LAB | lab(70.08, -4.38, 60.01) |
| CIE-LCH | lch(70.08, 60.17, 94.18°) |
| OKLab | oklab(74.06% -0.0181 0.133) |
| OKLCH | oklch(74.06% 0.134 97.7) |
| XYZ | xyz(37.4787, 40.8634, 9.4026) |
| Luminance | 0.4086 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.26
Brownish Yellow
#C9B003
ΔE00 3.70
Mustard (survey)
#CEB301
ΔE00 4.42
Dark Yellow
#D5B60A
ΔE00 5.27
Olive Yellow
#C2B709
ΔE00 5.50
Mustard
#DBB42C
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2AB36 #364DC2
analogous
#C26536 #C2AB36 #93C236
triadic
#C2AB36 #36C2AB #AB36C2
tetradic
#C2AB36 #36C265 #364DC2 #C23693
square
#C2AB36 #36C265 #364DC2 #C23693
split-complementary
#C2AB36 #3693C2 #6536C2
monochromatic
#62571B #928129 #C2AB36 #D3C162 #E1D492
Accessibility & contrast
On white
2.29
#C2AB36 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.17
#C2AB36 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2AB36
9.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2AB36 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2AB36 | 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)
#BCA723
Deuteranopia (green-blind)
#C2AF3D
Tritanopia (blue-blind)
#D19E94
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #c2ab36; /* rgb */ color: rgb(194, 171, 54); /* oklch */ color: oklch(74.1% 0.134 97.7);
Tailwind
colors: {
custom: {
50: '#d8c375',
500: '#c2ab36',
950: '#000000',
},
}SCSS
$custom: #c2ab36; $custom-light: #d8c375; $custom-dark: #000000;
JSON
{
"hex": "#c2ab36",
"rgb": {
"r": 194,
"g": 171,
"b": 54
},
"hsl": {
"h": 50.143,
"s": 56.452,
"l": 48.627
},
"oklch": {
"l": 0.74061,
"c": 0.13426,
"h": 97.7
},
"luminance": 0.40861
}Semantic roles & 50–950 ramp
primary
#C2AB36
secondary
#8893CC
accent
#61E048
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B