#C2AD2E#C2AD2E
#C2AD2E is a light, vivid yellow. Relative luminance 0.416; OKLCH L 74.4% C 0.141 H 99.4°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).
Color values
| HEX | #C2AD2E |
|---|---|
| RGB | rgb(194, 173, 46) |
| HSL | hsl(51, 62%, 47%) |
| HSV | hsv(51, 76%, 76%) |
| CMYK | cmyk(0%, 10.8%, 76.3%, 23.9%) |
| CIE-LAB | lab(70.56, -5.79, 63.37) |
| CIE-LCH | lch(70.56, 63.63, 95.22°) |
| OKLab | oklab(74.43% -0.0229 0.1386) |
| OKLCH | oklch(74.43% 0.141 99.4) |
| XYZ | xyz(37.6867, 41.5556, 8.6202) |
| Luminance | 0.4155 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 2.22
Brownish Yellow
#C9B003
ΔE00 2.84
Mustard (survey)
#CEB301
ΔE00 3.64
Olive Yellow
#C2B709
ΔE00 4.32
Dark Yellow
#D5B60A
ΔE00 4.68
Mustard Yellow
#D2BD0A
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2AD2E #2E43C2
analogous
#C2632E #C2AD2E #8DC22E
triadic
#C2AD2E #2EC2AD #AD2EC2
tetradic
#C2AD2E #2EC263 #2E43C2 #C22E8D
square
#C2AD2E #2EC263 #2E43C2 #C22E8D
split-complementary
#C2AD2E #2E8DC2 #632EC2
monochromatic
#5F5517 #918122 #C2AD2E #D7C556 #E3D688
Accessibility & contrast
On white
2.26
#C2AD2E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.31
#C2AD2E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2AD2E
9.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2AD2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2AD2E | 1.00 | 2.26 | 9.31 | 9.31 |
| #FFFFFF | 2.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEA813
Deuteranopia (green-blind)
#C4B037
Tritanopia (blue-blind)
#D1A095
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #c2ad2e; /* rgb */ color: rgb(194, 173, 46); /* oklch */ color: oklch(74.4% 0.141 99.4);
Tailwind
colors: {
custom: {
50: '#d9c571',
500: '#c2ad2e',
950: '#000000',
},
}SCSS
$custom: #c2ad2e; $custom-light: #d9c571; $custom-dark: #000000;
JSON
{
"hex": "#c2ad2e",
"rgb": {
"r": 194,
"g": 173,
"b": 46
},
"hsl": {
"h": 51.486,
"s": 61.667,
"l": 47.059
},
"oklch": {
"l": 0.74429,
"c": 0.14051,
"h": 99.4
},
"luminance": 0.41554
}Semantic roles & 50–950 ramp
primary
#C2AD2E
secondary
#7F8ACC
accent
#5AE543
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151208
muted
#83817B