#C2AB40#C2AB40
#C2AB40 is a light, vivid yellow. Relative luminance 0.410; OKLCH L 74.1% C 0.127 H 97.0°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).
Color values
| HEX | #C2AB40 |
|---|---|
| RGB | rgb(194, 171, 64) |
| HSL | hsl(49, 52%, 51%) |
| HSV | hsv(49, 67%, 76%) |
| CMYK | cmyk(0%, 11.9%, 67%, 23.9%) |
| CIE-LAB | lab(70.15, -3.85, 56.05) |
| CIE-LCH | lch(70.15, 56.18, 93.93°) |
| OKLab | oklab(74.14% -0.0155 0.1264) |
| OKLCH | oklch(74.14% 0.127 97) |
| XYZ | xyz(37.7382, 40.9672, 10.7692) |
| Luminance | 0.4097 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 4.34
Brownish Yellow
#C9B003
ΔE00 4.72
Mustard (survey)
#CEB301
ΔE00 5.34
Desert
#CCAD60
ΔE00 5.51
Mustard
#DBB42C
ΔE00 5.90
Ocher
#BF9B0C
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2AB40 #4057C2
analogous
#C26A40 #C2AB40 #98C240
triadic
#C2AB40 #40C2AB #AB40C2
tetradic
#C2AB40 #40C26A #4057C2 #C24098
square
#C2AB40 #40C26A #4057C2 #C24098
split-complementary
#C2AB40 #4098C2 #6A40C2
monochromatic
#675A21 #958330 #C2AB40 #D1BF6E #E0D49D
Accessibility & contrast
On white
2.28
#C2AB40 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.19
#C2AB40 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2AB40
9.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2AB40 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2AB40 | 1.00 | 2.28 | 9.19 | 9.19 |
| #FFFFFF | 2.28 | 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)
#BCA732
Deuteranopia (green-blind)
#C2AF46
Tritanopia (blue-blind)
#D19F95
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #c2ab40; /* rgb */ color: rgb(194, 171, 64); /* oklch */ color: oklch(74.1% 0.127 97.0);
Tailwind
colors: {
custom: {
50: '#d8c37a',
500: '#c2ab40',
950: '#000000',
},
}SCSS
$custom: #c2ab40; $custom-light: #d8c37a; $custom-dark: #000000;
JSON
{
"hex": "#c2ab40",
"rgb": {
"r": 194,
"g": 171,
"b": 64
},
"hsl": {
"h": 49.385,
"s": 51.587,
"l": 50.588
},
"oklch": {
"l": 0.74142,
"c": 0.12734,
"h": 97
},
"luminance": 0.40965
}Semantic roles & 50–950 ramp
primary
#C2AB40
secondary
#929CCC
accent
#66DB4D
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#15120A
muted
#83817C