#C2A82C#C2A82C
#C2A82C is a light, vivid yellow. Relative luminance 0.397; OKLCH L 73.4% C 0.138 H 96.6°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).
Color values
| HEX | #C2A82C |
|---|---|
| RGB | rgb(194, 168, 44) |
| HSL | hsl(50, 63%, 47%) |
| HSV | hsv(50, 77%, 76%) |
| CMYK | cmyk(0%, 13.4%, 77.3%, 23.9%) |
| CIE-LAB | lab(69.23, -3.23, 62.81) |
| CIE-LCH | lch(69.23, 62.90, 92.95°) |
| OKLab | oklab(73.37% -0.0159 0.137) |
| OKLCH | oklch(73.37% 0.138 96.6) |
| XYZ | xyz(36.7073, 39.6584, 8.1038) |
| Luminance | 0.3966 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.19
Brownish Yellow
#C9B003
ΔE00 3.49
Mustard (survey)
#CEB301
ΔE00 4.26
Ocher
#BF9B0C
ΔE00 4.45
Burnt Yellow
#D5AB09
ΔE00 4.94
Dark Yellow
#D5B60A
ΔE00 5.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2A82C #2C46C2
analogous
#C25D2C #C2A82C #91C22C
triadic
#C2A82C #2CC2A8 #A82CC2
tetradic
#C2A82C #2CC25D #2C46C2 #C22C91
square
#C2A82C #2CC25D #2C46C2 #C22C91
split-complementary
#C2A82C #2C91C2 #5D2CC2
monochromatic
#5E5215 #907D21 #C2A82C #D8C153 #E3D385
Accessibility & contrast
On white
2.35
#C2A82C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.93
#C2A82C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2A82C
8.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2A82C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2A82C | 1.00 | 2.35 | 8.93 | 8.93 |
| #FFFFFF | 2.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BAA411
Deuteranopia (green-blind)
#C0AD34
Tritanopia (blue-blind)
#D29B90
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #c2a82c; /* rgb */ color: rgb(194, 168, 44); /* oklch */ color: oklch(73.4% 0.138 96.6);
Tailwind
colors: {
custom: {
50: '#d9c16f',
500: '#c2a82c',
950: '#000000',
},
}SCSS
$custom: #c2a82c; $custom-light: #d9c16f; $custom-dark: #000000;
JSON
{
"hex": "#c2a82c",
"rgb": {
"r": 194,
"g": 168,
"b": 44
},
"hsl": {
"h": 49.6,
"s": 63.025,
"l": 46.667
},
"oklch": {
"l": 0.73365,
"c": 0.13795,
"h": 96.6
},
"luminance": 0.39656
}Semantic roles & 50–950 ramp
primary
#C2A82C
secondary
#7D8BCD
accent
#5EE642
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151208
muted
#83817B