#C2A239#C2A239
#C2A239 is a light, vivid yellow. Relative luminance 0.376; OKLCH L 72.2% C 0.126 H 91.7°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).
Color values
| HEX | #C2A239 |
|---|---|
| RGB | rgb(194, 162, 57) |
| HSL | hsl(46, 55%, 49%) |
| HSV | hsv(46, 71%, 76%) |
| CMYK | cmyk(0%, 16.5%, 70.6%, 23.9%) |
| CIE-LAB | lab(67.73, 0.55, 56.48) |
| CIE-LCH | lch(67.73, 56.48, 89.44°) |
| OKLab | oklab(72.21% -0.0037 0.1261) |
| OKLCH | oklch(72.21% 0.126 91.7) |
| XYZ | xyz(35.9089, 37.6075, 9.2377) |
| Luminance | 0.3760 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 3.50
Ocre
#C69C04
ΔE00 4.10
Yellow Ochre
#CB9D06
ΔE00 4.65
Dark Gold
#B59410
ΔE00 4.74
Brown Yellow
#B29705
ΔE00 4.94
Yellow Brown
#B79400
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2A239 #3959C2
analogous
#C25D39 #C2A239 #9EC239
triadic
#C2A239 #39C2A2 #A239C2
tetradic
#C2A239 #39C25D #3959C2 #C2399E
square
#C2A239 #39C25D #3959C2 #C2399E
split-complementary
#C2A239 #399EC2 #5D39C2
monochromatic
#63531D #937B2B #C2A239 #D2B966 #E0CF95
Accessibility & contrast
On white
2.46
#C2A239 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.52
#C2A239 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2A239
8.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2A239 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2A239 | 1.00 | 2.46 | 8.52 | 8.52 |
| #FFFFFF | 2.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B4A02A
Deuteranopia (green-blind)
#BBA93E
Tritanopia (blue-blind)
#D2958D
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #c2a239; /* rgb */ color: rgb(194, 162, 57); /* oklch */ color: oklch(72.2% 0.126 91.7);
Tailwind
colors: {
custom: {
50: '#d8bd75',
500: '#c2a239',
950: '#000000',
},
}SCSS
$custom: #c2a239; $custom-light: #d8bd75; $custom-dark: #000000;
JSON
{
"hex": "#c2a239",
"rgb": {
"r": 194,
"g": 162,
"b": 57
},
"hsl": {
"h": 45.985,
"s": 54.582,
"l": 49.216
},
"oklch": {
"l": 0.7221,
"c": 0.12616,
"h": 91.7
},
"luminance": 0.37605
}Semantic roles & 50–950 ramp
primary
#C2A239
secondary
#8B9ACB
accent
#6CDE4A
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151209
muted
#83817B