#C2AB2E#C2AB2E
#C2AB2E is a light, vivid yellow. Relative luminance 0.408; OKLCH L 74.0% C 0.139 H 98.2°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).
Color values
| HEX | #C2AB2E |
|---|---|
| RGB | rgb(194, 171, 46) |
| HSL | hsl(51, 62%, 47%) |
| HSV | hsv(51, 76%, 76%) |
| CMYK | cmyk(0%, 11.9%, 76.3%, 23.9%) |
| CIE-LAB | lab(70.03, -4.74, 62.88) |
| CIE-LCH | lch(70.03, 63.05, 94.31°) |
| OKLab | oklab(74.01% -0.0199 0.1376) |
| OKLCH | oklch(74.01% 0.139 98.2) |
| XYZ | xyz(37.3061, 40.7943, 8.4933) |
| Luminance | 0.4079 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 2.54
Brownish Yellow
#C9B003
ΔE00 3.03
Mustard (survey)
#CEB301
ΔE00 3.83
Dark Yellow
#D5B60A
ΔE00 4.81
Olive Yellow
#C2B709
ΔE00 5.02
Mustard
#DBB42C
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2AB2E #2E45C2
analogous
#C2612E #C2AB2E #8FC22E
triadic
#C2AB2E #2EC2AB #AB2EC2
tetradic
#C2AB2E #2EC261 #2E45C2 #C22E8F
square
#C2AB2E #2EC261 #2E45C2 #C22E8F
split-complementary
#C2AB2E #2E8FC2 #612EC2
monochromatic
#5F5417 #917F22 #C2AB2E #D7C356 #E3D588
Accessibility & contrast
On white
2.29
#C2AB2E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.16
#C2AB2E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2AB2E
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2AB2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2AB2E | 1.00 | 2.29 | 9.16 | 9.16 |
| #FFFFFF | 2.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA714
Deuteranopia (green-blind)
#C2AF37
Tritanopia (blue-blind)
#D29E93
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #c2ab2e; /* rgb */ color: rgb(194, 171, 46); /* oklch */ color: oklch(74.0% 0.139 98.2);
Tailwind
colors: {
custom: {
50: '#d9c371',
500: '#c2ab2e',
950: '#000000',
},
}SCSS
$custom: #c2ab2e; $custom-light: #d9c371; $custom-dark: #000000;
JSON
{
"hex": "#c2ab2e",
"rgb": {
"r": 194,
"g": 171,
"b": 46
},
"hsl": {
"h": 50.676,
"s": 61.667,
"l": 47.059
},
"oklch": {
"l": 0.74007,
"c": 0.13901,
"h": 98.2
},
"luminance": 0.40792
}Semantic roles & 50–950 ramp
primary
#C2AB2E
secondary
#7F8BCC
accent
#5CE543
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151208
muted
#83817B