#C2A83E#C2A83E
#C2A83E is a light, vivid yellow. Relative luminance 0.398; OKLCH L 73.5% C 0.127 H 95.2°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).
Color values
| HEX | #C2A83E |
|---|---|
| RGB | rgb(194, 168, 62) |
| HSL | hsl(48, 52%, 50%) |
| HSV | hsv(48, 68%, 76%) |
| CMYK | cmyk(0%, 13.4%, 68%, 23.9%) |
| CIE-LAB | lab(69.34, -2.38, 56.05) |
| CIE-LCH | lch(69.34, 56.10, 92.43°) |
| OKLab | oklab(73.5% -0.0115 0.1261) |
| OKLCH | oklch(73.5% 0.127 95.2) |
| XYZ | xyz(37.1221, 39.8243, 10.2880) |
| Luminance | 0.3982 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 4.81
Ocher
#BF9B0C
ΔE00 5.06
Brownish Yellow
#C9B003
ΔE00 5.08
Desert
#CCAD60
ΔE00 5.17
Mustard (survey)
#CEB301
ΔE00 5.69
Brown Yellow
#B29705
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2A83E #3E58C2
analogous
#C2663E #C2A83E #9AC23E
triadic
#C2A83E #3EC2A8 #A83EC2
tetradic
#C2A83E #3EC266 #3E58C2 #C23E9A
square
#C2A83E #3EC266 #3E58C2 #C23E9A
split-complementary
#C2A83E #3E9AC2 #663EC2
monochromatic
#665820 #94802F #C2A83E #D1BD6D #DFD29B
Accessibility & contrast
On white
2.34
#C2A83E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.96
#C2A83E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2A83E
8.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2A83E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2A83E | 1.00 | 2.34 | 8.96 | 8.96 |
| #FFFFFF | 2.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B9A530
Deuteranopia (green-blind)
#C0AD44
Tritanopia (blue-blind)
#D19B92
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #c2a83e; /* rgb */ color: rgb(194, 168, 62); /* oklch */ color: oklch(73.5% 0.127 95.2);
Tailwind
colors: {
custom: {
50: '#d8c179',
500: '#c2a83e',
950: '#000000',
},
}SCSS
$custom: #c2a83e; $custom-light: #d8c179; $custom-dark: #000000;
JSON
{
"hex": "#c2a83e",
"rgb": {
"r": 194,
"g": 168,
"b": 62
},
"hsl": {
"h": 48.182,
"s": 51.969,
"l": 50.196
},
"oklch": {
"l": 0.73497,
"c": 0.1266,
"h": 95.2
},
"luminance": 0.39822
}Semantic roles & 50–950 ramp
primary
#C2A83E
secondary
#909CCB
accent
#69DB4C
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#151209
muted
#83817B