#C2A442#C2A442
#C2A442 is a light, vivid yellow. Relative luminance 0.384; OKLCH L 72.7% C 0.121 H 92.0°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).
Color values
| HEX | #C2A442 |
|---|---|
| RGB | rgb(194, 164, 66) |
| HSL | hsl(46, 51%, 51%) |
| HSV | hsv(46, 66%, 76%) |
| CMYK | cmyk(0%, 15.5%, 66%, 23.9%) |
| CIE-LAB | lab(68.33, -0.01, 53.25) |
| CIE-LCH | lch(68.33, 53.25, 90.01°) |
| OKLab | oklab(72.7% -0.0042 0.1208) |
| OKLCH | oklch(72.7% 0.121 92) |
| XYZ | xyz(36.5088, 38.4156, 10.6452) |
| Luminance | 0.3841 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 4.37
Ocher
#BF9B0C
ΔE00 4.59
Sandy Brown
#C4A661
ΔE00 4.82
Ocre
#C69C04
ΔE00 5.17
Dark Gold
#B59410
ΔE00 5.63
Yellow Ochre
#CB9D06
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2A442 #4260C2
analogous
#C26442 #C2A442 #A0C242
triadic
#C2A442 #42C2A4 #A442C2
tetradic
#C2A442 #42C264 #4260C2 #C242A0
square
#C2A442 #42C264 #4260C2 #C242A0
split-complementary
#C2A442 #42A0C2 #6442C2
monochromatic
#685822 #967E31 #C2A442 #D1BA70 #E0D19F
Accessibility & contrast
On white
2.42
#C2A442 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.68
#C2A442 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2A442
8.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2A442 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2A442 | 1.00 | 2.42 | 8.68 | 8.68 |
| #FFFFFF | 2.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A236
Deuteranopia (green-blind)
#BCAA47
Tritanopia (blue-blind)
#D1978F
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #c2a442; /* rgb */ color: rgb(194, 164, 66); /* oklch */ color: oklch(72.7% 0.121 92.0);
Tailwind
colors: {
custom: {
50: '#d8be7b',
500: '#c2a442',
950: '#000000',
},
}SCSS
$custom: #c2a442; $custom-light: #d8be7b; $custom-dark: #000000;
JSON
{
"hex": "#c2a442",
"rgb": {
"r": 194,
"g": 164,
"b": 66
},
"hsl": {
"h": 45.938,
"s": 51.2,
"l": 50.98
},
"oklch": {
"l": 0.72703,
"c": 0.12088,
"h": 92
},
"luminance": 0.38414
}Semantic roles & 50–950 ramp
primary
#C2A442
secondary
#94A1CC
accent
#6EDB4D
background
#FDFBF7
surface
#FBF6EE
border
#D4D0C9
text
#15120A
muted
#83817C