#C2A940#C2A940
#C2A940 is a light, vivid yellow. Relative luminance 0.402; OKLCH L 73.7% C 0.126 H 95.7°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).
Color values
| HEX | #C2A940 |
|---|---|
| RGB | rgb(194, 169, 64) |
| HSL | hsl(48, 52%, 51%) |
| HSV | hsv(48, 67%, 76%) |
| CMYK | cmyk(0%, 12.9%, 67%, 23.9%) |
| CIE-LAB | lab(69.62, -2.80, 55.49) |
| CIE-LCH | lch(69.62, 55.57, 92.88°) |
| OKLab | oklab(73.72% -0.0124 0.1252) |
| OKLCH | oklch(73.72% 0.126 95.7) |
| XYZ | xyz(37.3633, 40.2173, 10.6442) |
| Luminance | 0.4022 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 4.77
Brownish Yellow
#C9B003
ΔE00 5.08
Desert
#CCAD60
ΔE00 5.12
Ocher
#BF9B0C
ΔE00 5.43
Mustard (survey)
#CEB301
ΔE00 5.68
Mustard
#DBB42C
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2A940 #4059C2
analogous
#C26840 #C2A940 #9AC240
triadic
#C2A940 #40C2A9 #A940C2
tetradic
#C2A940 #40C268 #4059C2 #C2409A
square
#C2A940 #40C268 #4059C2 #C2409A
split-complementary
#C2A940 #409AC2 #6840C2
monochromatic
#675921 #958230 #C2A940 #D1BE6E #E0D39D
Accessibility & contrast
On white
2.32
#C2A940 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.04
#C2A940 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2A940
9.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2A940 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2A940 | 1.00 | 2.32 | 9.04 | 9.04 |
| #FFFFFF | 2.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BAA633
Deuteranopia (green-blind)
#C0AD45
Tritanopia (blue-blind)
#D19C93
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #c2a940; /* rgb */ color: rgb(194, 169, 64); /* oklch */ color: oklch(73.7% 0.126 95.7);
Tailwind
colors: {
custom: {
50: '#d8c27a',
500: '#c2a940',
950: '#000000',
},
}SCSS
$custom: #c2a940; $custom-light: #d8c27a; $custom-dark: #000000;
JSON
{
"hex": "#c2a940",
"rgb": {
"r": 194,
"g": 169,
"b": 64
},
"hsl": {
"h": 48.462,
"s": 51.587,
"l": 50.588
},
"oklch": {
"l": 0.73723,
"c": 0.12585,
"h": 95.7
},
"luminance": 0.40215
}Semantic roles & 50–950 ramp
primary
#C2A940
secondary
#929DCC
accent
#68DB4D
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#151209
muted
#83817B