#C2A42A#C2A42A
#C2A42A is a light, vivid yellow. Relative luminance 0.382; OKLCH L 72.5% C 0.136 H 94.3°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).
Color values
| HEX | #C2A42A |
|---|---|
| RGB | rgb(194, 164, 42) |
| HSL | hsl(48, 64%, 46%) |
| HSV | hsv(48, 78%, 76%) |
| CMYK | cmyk(0%, 15.5%, 78.4%, 23.9%) |
| CIE-LAB | lab(68.16, -1.18, 62.51) |
| CIE-LCH | lch(68.16, 62.52, 91.09°) |
| OKLab | oklab(72.52% -0.0102 0.136) |
| OKLCH | oklch(72.52% 0.136 94.3) |
| XYZ | xyz(35.9435, 38.1895, 7.6682) |
| Luminance | 0.3819 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 3.08
Ocre
#C69C04
ΔE00 3.93
Brown Yellow
#B29705
ΔE00 4.34
Muddy Yellow
#BFAC05
ΔE00 4.44
Burnt Yellow
#D5AB09
ΔE00 4.55
Brownish Yellow
#C9B003
ΔE00 4.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2A42A #2A48C2
analogous
#C2582A #C2A42A #94C22A
triadic
#C2A42A #2AC2A4 #A42AC2
tetradic
#C2A42A #2AC258 #2A48C2 #C22A94
square
#C2A42A #2AC258 #2A48C2 #C22A94
split-complementary
#C2A42A #2A94C2 #582AC2
monochromatic
#5D4F14 #90791F #C2A42A #D9BE50 #E4D182
Accessibility & contrast
On white
2.43
#C2A42A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.64
#C2A42A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2A42A
8.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2A42A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2A42A | 1.00 | 2.43 | 8.64 | 8.64 |
| #FFFFFF | 2.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B6A10E
Deuteranopia (green-blind)
#BEAA32
Tritanopia (blue-blind)
#D2968D
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #c2a42a; /* rgb */ color: rgb(194, 164, 42); /* oklch */ color: oklch(72.5% 0.136 94.3);
Tailwind
colors: {
custom: {
50: '#d9be6e',
500: '#c2a42a',
950: '#000000',
},
}SCSS
$custom: #c2a42a; $custom-light: #d9be6e; $custom-dark: #000000;
JSON
{
"hex": "#c2a42a",
"rgb": {
"r": 194,
"g": 164,
"b": 42
},
"hsl": {
"h": 48.158,
"s": 64.407,
"l": 46.275
},
"oklch": {
"l": 0.72519,
"c": 0.13637,
"h": 94.3
},
"luminance": 0.38187
}Semantic roles & 50–950 ramp
primary
#C2A42A
secondary
#7B8BCD
accent
#61E740
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151208
muted
#83817B