#C2AD3E#C2AD3E
#C2AD3E is a light, vivid yellow. Relative luminance 0.417; OKLCH L 74.5% C 0.130 H 98.4°. Best body text is #000000 at 9.34:1 contrast (WCAG AA passes).
Color values
| HEX | #C2AD3E |
|---|---|
| RGB | rgb(194, 173, 62) |
| HSL | hsl(50, 52%, 50%) |
| HSV | hsv(50, 68%, 76%) |
| CMYK | cmyk(0%, 10.8%, 68%, 23.9%) |
| CIE-LAB | lab(70.67, -5.02, 57.42) |
| CIE-LCH | lch(70.67, 57.64, 95.00°) |
| OKLab | oklab(74.54% -0.019 0.129) |
| OKLCH | oklch(74.54% 0.13 98.4) |
| XYZ | xyz(38.0629, 41.7061, 10.6017) |
| Luminance | 0.4170 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.80
Brownish Yellow
#C9B003
ΔE00 4.28
Mustard (survey)
#CEB301
ΔE00 4.91
Olive Yellow
#C2B709
ΔE00 5.47
Dark Yellow
#D5B60A
ΔE00 5.69
Mustard
#DBB42C
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2AD3E #3E53C2
analogous
#C26B3E #C2AD3E #95C23E
triadic
#C2AD3E #3EC2AD #AD3EC2
tetradic
#C2AD3E #3EC26B #3E53C2 #C23E95
square
#C2AD3E #3EC26B #3E53C2 #C23E95
split-complementary
#C2AD3E #3E95C2 #6B3EC2
monochromatic
#665A20 #94842F #C2AD3E #D1C16D #DFD59B
Accessibility & contrast
On white
2.25
#C2AD3E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.34
#C2AD3E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2AD3E
9.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2AD3E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2AD3E | 1.00 | 2.25 | 9.34 | 9.34 |
| #FFFFFF | 2.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEA92F
Deuteranopia (green-blind)
#C3B044
Tritanopia (blue-blind)
#D1A096
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #c2ad3e; /* rgb */ color: rgb(194, 173, 62); /* oklch */ color: oklch(74.5% 0.130 98.4);
Tailwind
colors: {
custom: {
50: '#d8c579',
500: '#c2ad3e',
950: '#000000',
},
}SCSS
$custom: #c2ad3e; $custom-light: #d8c579; $custom-dark: #000000;
JSON
{
"hex": "#c2ad3e",
"rgb": {
"r": 194,
"g": 173,
"b": 62
},
"hsl": {
"h": 50.455,
"s": 51.969,
"l": 50.196
},
"oklch": {
"l": 0.74545,
"c": 0.13037,
"h": 98.4
},
"luminance": 0.41704
}Semantic roles & 50–950 ramp
primary
#C2AD3E
secondary
#909ACB
accent
#63DB4C
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151209
muted
#83817B