#C2A12A#C2A12A
#C2A12A is a light, vivid yellow. Relative luminance 0.371; OKLCH L 71.9% C 0.135 H 92.4°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).
Color values
| HEX | #C2A12A |
|---|---|
| RGB | rgb(194, 161, 42) |
| HSL | hsl(47, 64%, 46%) |
| HSV | hsv(47, 78%, 76%) |
| CMYK | cmyk(0%, 17%, 78.4%, 23.9%) |
| CIE-LAB | lab(67.37, 0.42, 61.79) |
| CIE-LCH | lch(67.37, 61.80, 89.61°) |
| OKLab | oklab(71.9% -0.0057 0.1344) |
| OKLCH | oklch(71.9% 0.135 92.4) |
| XYZ | xyz(35.4130, 37.1284, 7.4913) |
| Luminance | 0.3713 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 2.26
Ocre
#C69C04
ΔE00 3.02
Yellow Ochre
#CB9D06
ΔE00 3.79
Dark Gold
#B59410
ΔE00 4.04
Brown Yellow
#B29705
ΔE00 4.08
Yellow Brown
#B79400
ΔE00 4.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2A12A #2A4BC2
analogous
#C2552A #C2A12A #97C22A
triadic
#C2A12A #2AC2A1 #A12AC2
tetradic
#C2A12A #2AC255 #2A4BC2 #C22A97
square
#C2A12A #2AC255 #2A4BC2 #C22A97
split-complementary
#C2A12A #2A97C2 #552AC2
monochromatic
#5D4E14 #90771F #C2A12A #D9BB50 #E4CF82
Accessibility & contrast
On white
2.49
#C2A12A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.43
#C2A12A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2A12A
8.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2A12A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2A12A | 1.00 | 2.49 | 8.43 | 8.43 |
| #FFFFFF | 2.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B39E10
Deuteranopia (green-blind)
#BBA832
Tritanopia (blue-blind)
#D2938A
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #c2a12a; /* rgb */ color: rgb(194, 161, 42); /* oklch */ color: oklch(71.9% 0.135 92.4);
Tailwind
colors: {
custom: {
50: '#d9bc6d',
500: '#c2a12a',
950: '#000000',
},
}SCSS
$custom: #c2a12a; $custom-light: #d9bc6d; $custom-dark: #000000;
JSON
{
"hex": "#c2a12a",
"rgb": {
"r": 194,
"g": 161,
"b": 42
},
"hsl": {
"h": 46.974,
"s": 64.407,
"l": 46.275
},
"oklch": {
"l": 0.71897,
"c": 0.13457,
"h": 92.4
},
"luminance": 0.37126
}Semantic roles & 50–950 ramp
primary
#C2A12A
secondary
#7B8DCD
accent
#65E740
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151108
muted
#83807B