#C2A031#C2A031
#C2A031 is a light, vivid yellow. Relative luminance 0.368; OKLCH L 71.7% C 0.130 H 91.1°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).
Color values
| HEX | #C2A031 |
|---|---|
| RGB | rgb(194, 160, 49) |
| HSL | hsl(46, 60%, 48%) |
| HSV | hsv(46, 75%, 76%) |
| CMYK | cmyk(0%, 17.5%, 74.7%, 23.9%) |
| CIE-LAB | lab(67.15, 1.24, 59.07) |
| CIE-LCH | lch(67.15, 59.09, 88.80°) |
| OKLab | oklab(71.74% -0.0026 0.1301) |
| OKLCH | oklch(71.74% 0.13 91.1) |
| XYZ | xyz(35.3753, 36.8349, 8.1517) |
| Luminance | 0.3683 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 2.61
Ocre
#C69C04
ΔE00 3.18
Yellow Ochre
#CB9D06
ΔE00 3.81
Dark Gold
#B59410
ΔE00 4.04
Yellow Brown
#B79400
ΔE00 4.18
Brown Yellow
#B29705
ΔE00 4.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2A031 #3153C2
analogous
#C25731 #C2A031 #9CC231
triadic
#C2A031 #31C2A0 #A031C2
tetradic
#C2A031 #31C257 #3153C2 #C2319C
square
#C2A031 #31C257 #3153C2 #C2319C
split-complementary
#C2A031 #319CC2 #5731C2
monochromatic
#604F18 #917825 #C2A031 #D6B95B #E2CE8C
Accessibility & contrast
On white
2.51
#C2A031 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.37
#C2A031 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2A031
8.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2A031 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2A031 | 1.00 | 2.51 | 8.37 | 8.37 |
| #FFFFFF | 2.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B29E1E
Deuteranopia (green-blind)
#BAA737
Tritanopia (blue-blind)
#D2928A
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #c2a031; /* rgb */ color: rgb(194, 160, 49); /* oklch */ color: oklch(71.7% 0.130 91.1);
Tailwind
colors: {
custom: {
50: '#d9bb71',
500: '#c2a031',
950: '#000000',
},
}SCSS
$custom: #c2a031; $custom-light: #d9bb71; $custom-dark: #000000;
JSON
{
"hex": "#c2a031",
"rgb": {
"r": 194,
"g": 160,
"b": 49
},
"hsl": {
"h": 45.931,
"s": 59.671,
"l": 47.647
},
"oklch": {
"l": 0.71736,
"c": 0.1301,
"h": 91.1
},
"luminance": 0.36833
}Semantic roles & 50–950 ramp
primary
#C2A031
secondary
#8394CC
accent
#6AE345
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B