#C2A640#C2A640
#C2A640 is a light, vivid yellow. Relative luminance 0.391; OKLCH L 73.1% C 0.124 H 93.6°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).
Color values
| HEX | #C2A640 |
|---|---|
| RGB | rgb(194, 166, 64) |
| HSL | hsl(47, 52%, 51%) |
| HSV | hsv(47, 67%, 76%) |
| CMYK | cmyk(0%, 14.4%, 67%, 23.9%) |
| CIE-LAB | lab(68.83, -1.20, 54.67) |
| CIE-LCH | lch(68.83, 54.68, 91.26°) |
| OKLab | oklab(73.1% -0.0079 0.1235) |
| OKLCH | oklch(73.1% 0.124 93.6) |
| XYZ | xyz(36.8116, 39.1139, 10.4603) |
| Luminance | 0.3911 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 4.71
Ocher
#BF9B0C
ΔE00 4.73
Ocre
#C69C04
ΔE00 5.43
Sandy Brown
#C4A661
ΔE00 5.43
Muddy Yellow
#BFAC05
ΔE00 5.62
Brown Yellow
#B29705
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2A640 #405CC2
analogous
#C26540 #C2A640 #9DC240
triadic
#C2A640 #40C2A6 #A640C2
tetradic
#C2A640 #40C265 #405CC2 #C2409D
square
#C2A640 #40C265 #405CC2 #C2409D
split-complementary
#C2A640 #409DC2 #6540C2
monochromatic
#675821 #957F30 #C2A640 #D1BC6E #E0D19D
Accessibility & contrast
On white
2.38
#C2A640 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.82
#C2A640 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2A640
8.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2A640 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2A640 | 1.00 | 2.38 | 8.82 | 8.82 |
| #FFFFFF | 2.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7A333
Deuteranopia (green-blind)
#BEAC45
Tritanopia (blue-blind)
#D19991
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #c2a640; /* rgb */ color: rgb(194, 166, 64); /* oklch */ color: oklch(73.1% 0.124 93.6);
Tailwind
colors: {
custom: {
50: '#d8c07a',
500: '#c2a640',
950: '#000000',
},
}SCSS
$custom: #c2a640; $custom-light: #d8c07a; $custom-dark: #000000;
JSON
{
"hex": "#c2a640",
"rgb": {
"r": 194,
"g": 166,
"b": 64
},
"hsl": {
"h": 47.077,
"s": 51.587,
"l": 50.588
},
"oklch": {
"l": 0.73098,
"c": 0.12373,
"h": 93.6
},
"luminance": 0.39112
}Semantic roles & 50–950 ramp
primary
#C2A640
secondary
#929ECC
accent
#6BDB4D
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#151209
muted
#83817B