#C2AB3E#C2AB3E
#C2AB3E is a light, vivid yellow. Relative luminance 0.409; OKLCH L 74.1% C 0.129 H 97.1°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).
Color values
| HEX | #C2AB3E |
|---|---|
| RGB | rgb(194, 171, 62) |
| HSL | hsl(50, 52%, 50%) |
| HSV | hsv(50, 68%, 76%) |
| CMYK | cmyk(0%, 11.9%, 68%, 23.9%) |
| CIE-LAB | lab(70.14, -3.97, 56.87) |
| CIE-LCH | lch(70.14, 57.01, 93.99°) |
| OKLab | oklab(74.12% -0.016 0.1278) |
| OKLCH | oklch(74.12% 0.129 97.1) |
| XYZ | xyz(37.6823, 40.9448, 10.4748) |
| Luminance | 0.4094 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 4.11
Brownish Yellow
#C9B003
ΔE00 4.50
Mustard (survey)
#CEB301
ΔE00 5.14
Desert
#CCAD60
ΔE00 5.72
Mustard
#DBB42C
ΔE00 5.81
Dark Yellow
#D5B60A
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2AB3E #3E55C2
analogous
#C2693E #C2AB3E #97C23E
triadic
#C2AB3E #3EC2AB #AB3EC2
tetradic
#C2AB3E #3EC269 #3E55C2 #C23E97
square
#C2AB3E #3EC269 #3E55C2 #C23E97
split-complementary
#C2AB3E #3E97C2 #693EC2
monochromatic
#665920 #94822F #C2AB3E #D1BF6D #DFD39B
Accessibility & contrast
On white
2.29
#C2AB3E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.19
#C2AB3E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2AB3E
9.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2AB3E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2AB3E | 1.00 | 2.29 | 9.19 | 9.19 |
| #FFFFFF | 2.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA72F
Deuteranopia (green-blind)
#C2AF44
Tritanopia (blue-blind)
#D19E95
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #c2ab3e; /* rgb */ color: rgb(194, 171, 62); /* oklch */ color: oklch(74.1% 0.129 97.1);
Tailwind
colors: {
custom: {
50: '#d8c379',
500: '#c2ab3e',
950: '#000000',
},
}SCSS
$custom: #c2ab3e; $custom-light: #d8c379; $custom-dark: #000000;
JSON
{
"hex": "#c2ab3e",
"rgb": {
"r": 194,
"g": 171,
"b": 62
},
"hsl": {
"h": 49.545,
"s": 51.969,
"l": 50.196
},
"oklch": {
"l": 0.74124,
"c": 0.12881,
"h": 97.1
},
"luminance": 0.40943
}Semantic roles & 50–950 ramp
primary
#C2AB3E
secondary
#909BCB
accent
#65DB4C
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#151209
muted
#83817B