#C2A12B#C2A12B
#C2A12B is a light, vivid yellow. Relative luminance 0.371; OKLCH L 71.9% C 0.134 H 92.3°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).
Color values
| HEX | #C2A12B |
|---|---|
| RGB | rgb(194, 161, 43) |
| HSL | hsl(47, 64%, 46%) |
| HSV | hsv(47, 78%, 76%) |
| CMYK | cmyk(0%, 17%, 77.8%, 23.9%) |
| CIE-LAB | lab(67.38, 0.46, 61.46) |
| CIE-LCH | lch(67.38, 61.46, 89.57°) |
| OKLab | oklab(71.9% -0.0055 0.1339) |
| OKLCH | oklch(71.9% 0.134 92.3) |
| XYZ | xyz(35.4311, 37.1357, 7.5867) |
| Luminance | 0.3713 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 2.32
Ocre
#C69C04
ΔE00 3.06
Yellow Ochre
#CB9D06
ΔE00 3.81
Dark Gold
#B59410
ΔE00 4.05
Brown Yellow
#B29705
ΔE00 4.12
Yellow Brown
#B79400
ΔE00 4.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2A12B #2B4CC2
analogous
#C2552B #C2A12B #98C22B
triadic
#C2A12B #2BC2A1 #A12BC2
tetradic
#C2A12B #2BC255 #2B4CC2 #C22B98
square
#C2A12B #2BC255 #2B4CC2 #C22B98
split-complementary
#C2A12B #2B98C2 #552BC2
monochromatic
#5E4E15 #907720 #C2A12B #D9BB52 #E4CF84
Accessibility & contrast
On white
2.49
#C2A12B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.43
#C2A12B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2A12B
8.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2A12B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2A12B | 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)
#B39F12
Deuteranopia (green-blind)
#BBA832
Tritanopia (blue-blind)
#D2938B
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #c2a12b; /* rgb */ color: rgb(194, 161, 43); /* oklch */ color: oklch(71.9% 0.134 92.3);
Tailwind
colors: {
custom: {
50: '#d9bc6e',
500: '#c2a12b',
950: '#000000',
},
}SCSS
$custom: #c2a12b; $custom-light: #d9bc6e; $custom-dark: #000000;
JSON
{
"hex": "#c2a12b",
"rgb": {
"r": 194,
"g": 161,
"b": 43
},
"hsl": {
"h": 46.887,
"s": 63.713,
"l": 46.471
},
"oklch": {
"l": 0.71903,
"c": 0.13405,
"h": 92.3
},
"luminance": 0.37133
}Semantic roles & 50–950 ramp
primary
#C2A12B
secondary
#7C8ECD
accent
#65E741
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151108
muted
#83807B