#C2AE40#C2AE40
#C2AE40 is a light, vivid yellow. Relative luminance 0.421; OKLCH L 74.8% C 0.130 H 98.9°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).
Color values
| HEX | #C2AE40 |
|---|---|
| RGB | rgb(194, 174, 64) |
| HSL | hsl(51, 52%, 51%) |
| HSV | hsv(51, 67%, 76%) |
| CMYK | cmyk(0%, 10.3%, 67%, 23.9%) |
| CIE-LAB | lab(70.95, -5.43, 56.88) |
| CIE-LCH | lch(70.95, 57.14, 95.46°) |
| OKLab | oklab(74.77% -0.02 0.1282) |
| OKLCH | oklch(74.77% 0.13 98.9) |
| XYZ | xyz(38.3113, 42.1134, 10.9602) |
| Luminance | 0.4211 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.93
Brownish Yellow
#C9B003
ΔE00 4.43
Mustard (survey)
#CEB301
ΔE00 5.03
Olive Yellow
#C2B709
ΔE00 5.35
Dark Yellow
#D5B60A
ΔE00 5.80
Mustard
#DBB42C
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2AE40 #4054C2
analogous
#C26D40 #C2AE40 #95C240
triadic
#C2AE40 #40C2AE #AE40C2
tetradic
#C2AE40 #40C26D #4054C2 #C24095
square
#C2AE40 #40C26D #4054C2 #C24095
split-complementary
#C2AE40 #4095C2 #6D40C2
monochromatic
#675C21 #958630 #C2AE40 #D1C26E #E0D59D
Accessibility & contrast
On white
2.23
#C2AE40 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.42
#C2AE40 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2AE40
9.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2AE40 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2AE40 | 1.00 | 2.23 | 9.42 | 9.42 |
| #FFFFFF | 2.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEAA32
Deuteranopia (green-blind)
#C4B146
Tritanopia (blue-blind)
#D1A297
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #c2ae40; /* rgb */ color: rgb(194, 174, 64); /* oklch */ color: oklch(74.8% 0.130 98.9);
Tailwind
colors: {
custom: {
50: '#d8c57a',
500: '#c2ae40',
950: '#000000',
},
}SCSS
$custom: #c2ae40; $custom-light: #d8c57a; $custom-dark: #000000;
JSON
{
"hex": "#c2ae40",
"rgb": {
"r": 194,
"g": 174,
"b": 64
},
"hsl": {
"h": 50.769,
"s": 51.587,
"l": 50.588
},
"oklch": {
"l": 0.74772,
"c": 0.12971,
"h": 98.9
},
"luminance": 0.42112
}Semantic roles & 50–950 ramp
primary
#C2AE40
secondary
#929BCC
accent
#63DB4D
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15120A
muted
#83817C