#C2AC39#C2AC39
#C2AC39 is a light, vivid yellow. Relative luminance 0.413; OKLCH L 74.3% C 0.133 H 98.1°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).
Color values
| HEX | #C2AC39 |
|---|---|
| RGB | rgb(194, 172, 57) |
| HSL | hsl(50, 55%, 49%) |
| HSV | hsv(50, 71%, 76%) |
| CMYK | cmyk(0%, 11.3%, 70.6%, 23.9%) |
| CIE-LAB | lab(70.37, -4.76, 59.13) |
| CIE-LCH | lch(70.37, 59.32, 94.61°) |
| OKLab | oklab(74.29% -0.0188 0.1317) |
| OKLCH | oklch(74.29% 0.133 98.1) |
| XYZ | xyz(37.7410, 41.2716, 9.8484) |
| Luminance | 0.4127 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.39
Brownish Yellow
#C9B003
ΔE00 3.86
Mustard (survey)
#CEB301
ΔE00 4.55
Olive Yellow
#C2B709
ΔE00 5.38
Dark Yellow
#D5B60A
ΔE00 5.38
Mustard
#DBB42C
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2AC39 #394FC2
analogous
#C26839 #C2AC39 #94C239
triadic
#C2AC39 #39C2AC #AC39C2
tetradic
#C2AC39 #39C268 #394FC2 #C23994
square
#C2AC39 #39C268 #394FC2 #C23994
split-complementary
#C2AC39 #3994C2 #6839C2
monochromatic
#63581D #93822B #C2AC39 #D2C166 #E0D495
Accessibility & contrast
On white
2.27
#C2AC39 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.25
#C2AC39 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2AC39
9.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2AC39 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2AC39 | 1.00 | 2.27 | 9.25 | 9.25 |
| #FFFFFF | 2.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA828
Deuteranopia (green-blind)
#C3AF40
Tritanopia (blue-blind)
#D19F95
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #c2ac39; /* rgb */ color: rgb(194, 172, 57); /* oklch */ color: oklch(74.3% 0.133 98.1);
Tailwind
colors: {
custom: {
50: '#d8c476',
500: '#c2ac39',
950: '#000000',
},
}SCSS
$custom: #c2ac39; $custom-light: #d8c476; $custom-dark: #000000;
JSON
{
"hex": "#c2ac39",
"rgb": {
"r": 194,
"g": 172,
"b": 57
},
"hsl": {
"h": 50.365,
"s": 54.582,
"l": 49.216
},
"oklch": {
"l": 0.74294,
"c": 0.13305,
"h": 98.1
},
"luminance": 0.4127
}Semantic roles & 50–950 ramp
primary
#C2AC39
secondary
#8B96CB
accent
#62DE4A
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151209
muted
#83817B