#C2A342#C2A342
#C2A342 is a light, vivid yellow. Relative luminance 0.381; OKLCH L 72.5% C 0.120 H 91.3°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).
Color values
| HEX | #C2A342 |
|---|---|
| RGB | rgb(194, 163, 66) |
| HSL | hsl(45, 51%, 51%) |
| HSV | hsv(45, 66%, 76%) |
| CMYK | cmyk(0%, 16%, 66%, 23.9%) |
| CIE-LAB | lab(68.06, 0.52, 52.97) |
| CIE-LCH | lch(68.06, 52.98, 89.44°) |
| OKLab | oklab(72.5% -0.0027 0.1202) |
| OKLCH | oklch(72.5% 0.12 91.3) |
| XYZ | xyz(36.3305, 38.0591, 10.5857) |
| Luminance | 0.3806 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 4.36
Ocher
#BF9B0C
ΔE00 4.49
Sandy Brown
#C4A661
ΔE00 4.67
Ocre
#C69C04
ΔE00 5.02
Yellow Ochre
#CB9D06
ΔE00 5.46
Dark Gold
#B59410
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2A342 #4261C2
analogous
#C26342 #C2A342 #A1C242
triadic
#C2A342 #42C2A3 #A342C2
tetradic
#C2A342 #42C263 #4261C2 #C242A1
square
#C2A342 #42C263 #4261C2 #C242A1
split-complementary
#C2A342 #42A1C2 #6342C2
monochromatic
#685722 #967E31 #C2A342 #D1BA70 #E0D09F
Accessibility & contrast
On white
2.44
#C2A342 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.61
#C2A342 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2A342
8.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2A342 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2A342 | 1.00 | 2.44 | 8.61 | 8.61 |
| #FFFFFF | 2.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B4A137
Deuteranopia (green-blind)
#BCAA47
Tritanopia (blue-blind)
#D1968E
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #c2a342; /* rgb */ color: rgb(194, 163, 66); /* oklch */ color: oklch(72.5% 0.120 91.3);
Tailwind
colors: {
custom: {
50: '#d8bd7b',
500: '#c2a342',
950: '#000000',
},
}SCSS
$custom: #c2a342; $custom-light: #d8bd7b; $custom-dark: #000000;
JSON
{
"hex": "#c2a342",
"rgb": {
"r": 194,
"g": 163,
"b": 66
},
"hsl": {
"h": 45.469,
"s": 51.2,
"l": 50.98
},
"oklch": {
"l": 0.72496,
"c": 0.12024,
"h": 91.3
},
"luminance": 0.38057
}Semantic roles & 50–950 ramp
primary
#C2A342
secondary
#94A1CC
accent
#6FDB4D
background
#FDFBF7
surface
#FBF6EE
border
#D4D0C9
text
#15120A
muted
#83817C