#C2A339#C2A339
#C2A339 is a light, vivid yellow. Relative luminance 0.380; OKLCH L 72.4% C 0.127 H 92.4°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).
Color values
| HEX | #C2A339 |
|---|---|
| RGB | rgb(194, 163, 57) |
| HSL | hsl(46, 55%, 49%) |
| HSV | hsv(46, 71%, 76%) |
| CMYK | cmyk(0%, 16%, 70.6%, 23.9%) |
| CIE-LAB | lab(67.99, 0.02, 56.75) |
| CIE-LCH | lch(67.99, 56.75, 89.98°) |
| OKLab | oklab(72.42% -0.0052 0.1267) |
| OKLCH | oklch(72.42% 0.127 92.4) |
| XYZ | xyz(36.0858, 37.9612, 9.2967) |
| Luminance | 0.3796 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 3.63
Ocre
#C69C04
ΔE00 4.29
Yellow Ochre
#CB9D06
ΔE00 4.87
Dark Gold
#B59410
ΔE00 4.93
Brown Yellow
#B29705
ΔE00 4.95
Yellow Brown
#B79400
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2A339 #3958C2
analogous
#C25E39 #C2A339 #9DC239
triadic
#C2A339 #39C2A3 #A339C2
tetradic
#C2A339 #39C25E #3958C2 #C2399D
square
#C2A339 #39C25E #3958C2 #C2399D
split-complementary
#C2A339 #399DC2 #5E39C2
monochromatic
#63541D #937B2B #C2A339 #D2BA66 #E0CF95
Accessibility & contrast
On white
2.44
#C2A339 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.59
#C2A339 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2A339
8.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2A339 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2A339 | 1.00 | 2.44 | 8.59 | 8.59 |
| #FFFFFF | 2.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A02A
Deuteranopia (green-blind)
#BCA93F
Tritanopia (blue-blind)
#D2968D
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #c2a339; /* rgb */ color: rgb(194, 163, 57); /* oklch */ color: oklch(72.4% 0.127 92.4);
Tailwind
colors: {
custom: {
50: '#d8bd76',
500: '#c2a339',
950: '#000000',
},
}SCSS
$custom: #c2a339; $custom-light: #d8bd76; $custom-dark: #000000;
JSON
{
"hex": "#c2a339",
"rgb": {
"r": 194,
"g": 163,
"b": 57
},
"hsl": {
"h": 46.423,
"s": 54.582,
"l": 49.216
},
"oklch": {
"l": 0.72416,
"c": 0.12678,
"h": 92.4
},
"luminance": 0.37959
}Semantic roles & 50–950 ramp
primary
#C2A339
secondary
#8B9ACB
accent
#6BDE4A
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151209
muted
#83817B