#C2A22A#C2A22A
#C2A22A is a light, vivid yellow. Relative luminance 0.375; OKLCH L 72.1% C 0.135 H 93.1°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).
Color values
| HEX | #C2A22A |
|---|---|
| RGB | rgb(194, 162, 42) |
| HSL | hsl(47, 64%, 46%) |
| HSV | hsv(47, 78%, 76%) |
| CMYK | cmyk(0%, 16.5%, 78.4%, 23.9%) |
| CIE-LAB | lab(67.64, -0.12, 62.03) |
| CIE-LCH | lch(67.64, 62.03, 90.11°) |
| OKLab | oklab(72.1% -0.0072 0.135) |
| OKLCH | oklch(72.1% 0.135 93.1) |
| XYZ | xyz(35.5884, 37.4793, 7.5498) |
| Luminance | 0.3748 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 2.50
Ocre
#C69C04
ΔE00 3.30
Yellow Ochre
#CB9D06
ΔE00 4.07
Brown Yellow
#B29705
ΔE00 4.13
Dark Gold
#B59410
ΔE00 4.27
Yellow Brown
#B79400
ΔE00 4.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2A22A #2A4AC2
analogous
#C2562A #C2A22A #96C22A
triadic
#C2A22A #2AC2A2 #A22AC2
tetradic
#C2A22A #2AC256 #2A4AC2 #C22A96
square
#C2A22A #2AC256 #2A4AC2 #C22A96
split-complementary
#C2A22A #2A96C2 #562AC2
monochromatic
#5D4E14 #90781F #C2A22A #D9BC50 #E4CF82
Accessibility & contrast
On white
2.47
#C2A22A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.50
#C2A22A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2A22A
8.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2A22A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2A22A | 1.00 | 2.47 | 8.50 | 8.50 |
| #FFFFFF | 2.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B49F0F
Deuteranopia (green-blind)
#BCA932
Tritanopia (blue-blind)
#D2948B
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #c2a22a; /* rgb */ color: rgb(194, 162, 42); /* oklch */ color: oklch(72.1% 0.135 93.1);
Tailwind
colors: {
custom: {
50: '#d9bd6e',
500: '#c2a22a',
950: '#000000',
},
}SCSS
$custom: #c2a22a; $custom-light: #d9bd6e; $custom-dark: #000000;
JSON
{
"hex": "#c2a22a",
"rgb": {
"r": 194,
"g": 162,
"b": 42
},
"hsl": {
"h": 47.368,
"s": 64.407,
"l": 46.275
},
"oklch": {
"l": 0.72104,
"c": 0.13515,
"h": 93.1
},
"luminance": 0.37477
}Semantic roles & 50–950 ramp
primary
#C2A22A
secondary
#7B8CCD
accent
#64E740
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151208
muted
#83817B