#C2AE39#C2AE39
#C2AE39 is a light, vivid yellow. Relative luminance 0.420; OKLCH L 74.7% C 0.135 H 99.3°. Best body text is #000000 at 9.41:1 contrast (WCAG AA passes).
Color values
| HEX | #C2AE39 |
|---|---|
| RGB | rgb(194, 174, 57) |
| HSL | hsl(51, 55%, 49%) |
| HSV | hsv(51, 71%, 76%) |
| CMYK | cmyk(0%, 10.3%, 70.6%, 23.9%) |
| CIE-LAB | lab(70.90, -5.81, 59.66) |
| CIE-LCH | lch(70.90, 59.94, 95.57°) |
| OKLab | oklab(74.72% -0.0218 0.1328) |
| OKLCH | oklch(74.72% 0.135 99.3) |
| XYZ | xyz(38.1245, 42.0387, 9.9762) |
| Luminance | 0.4204 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.17
Brownish Yellow
#C9B003
ΔE00 3.73
Mustard (survey)
#CEB301
ΔE00 4.39
Olive Yellow
#C2B709
ΔE00 4.73
Dark Yellow
#D5B60A
ΔE00 5.28
Mustard Yellow
#D2BD0A
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2AE39 #394DC2
analogous
#C26A39 #C2AE39 #92C239
triadic
#C2AE39 #39C2AE #AE39C2
tetradic
#C2AE39 #39C26A #394DC2 #C23992
square
#C2AE39 #39C26A #394DC2 #C23992
split-complementary
#C2AE39 #3992C2 #6A39C2
monochromatic
#63591D #93842B #C2AE39 #D2C266 #E0D595
Accessibility & contrast
On white
2.23
#C2AE39 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.41
#C2AE39 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2AE39
9.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2AE39 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2AE39 | 1.00 | 2.23 | 9.41 | 9.41 |
| #FFFFFF | 2.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFA927
Deuteranopia (green-blind)
#C4B140
Tritanopia (blue-blind)
#D1A197
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #c2ae39; /* rgb */ color: rgb(194, 174, 57); /* oklch */ color: oklch(74.7% 0.135 99.3);
Tailwind
colors: {
custom: {
50: '#d8c577',
500: '#c2ae39',
950: '#000000',
},
}SCSS
$custom: #c2ae39; $custom-light: #d8c577; $custom-dark: #000000;
JSON
{
"hex": "#c2ae39",
"rgb": {
"r": 194,
"g": 174,
"b": 57
},
"hsl": {
"h": 51.241,
"s": 54.582,
"l": 49.216
},
"oklch": {
"l": 0.74715,
"c": 0.13461,
"h": 99.3
},
"luminance": 0.42037
}Semantic roles & 50–950 ramp
primary
#C2AE39
secondary
#8B95CB
accent
#5FDE4A
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151209
muted
#83817B