#C2AA45#C2AA45
#C2AA45 is a light, vivid yellow. Relative luminance 0.406; OKLCH L 74.0% C 0.123 H 95.8°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).
Color values
| HEX | #C2AA45 |
|---|---|
| RGB | rgb(194, 170, 69) |
| HSL | hsl(48, 51%, 52%) |
| HSV | hsv(48, 64%, 76%) |
| CMYK | cmyk(0%, 12.4%, 64.4%, 23.9%) |
| CIE-LAB | lab(69.93, -3.02, 53.65) |
| CIE-LCH | lch(69.93, 53.73, 93.22°) |
| OKLab | oklab(73.98% -0.0125 0.1221) |
| OKLCH | oklch(73.98% 0.123 95.8) |
| XYZ | xyz(37.6987, 40.6503, 11.4897) |
| Luminance | 0.4065 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 4.77
Muddy Yellow
#BFAC05
ΔE00 5.15
Brownish Yellow
#C9B003
ΔE00 5.46
Sandy Brown
#C4A661
ΔE00 5.79
Ocher
#BF9B0C
ΔE00 6.00
Mustard (survey)
#CEB301
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2AA45 #455DC2
analogous
#C26C45 #C2AA45 #9CC245
triadic
#C2AA45 #45C2AA #AA45C2
tetradic
#C2AA45 #45C26C #455DC2 #C2459C
square
#C2AA45 #45C26C #455DC2 #C2459C
split-complementary
#C2AA45 #459CC2 #6C45C2
monochromatic
#6A5C23 #988432 #C2AA45 #D1BF73 #E0D4A1
Accessibility & contrast
On white
2.30
#C2AA45 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.13
#C2AA45 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2AA45
9.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2AA45 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2AA45 | 1.00 | 2.30 | 9.13 | 9.13 |
| #FFFFFF | 2.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BAA639
Deuteranopia (green-blind)
#C1AE4A
Tritanopia (blue-blind)
#D19E95
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #c2aa45; /* rgb */ color: rgb(194, 170, 69); /* oklch */ color: oklch(74.0% 0.123 95.8);
Tailwind
colors: {
custom: {
50: '#d8c37d',
500: '#c2aa45',
950: '#000000',
},
}SCSS
$custom: #c2aa45; $custom-light: #d8c37d; $custom-dark: #000000;
JSON
{
"hex": "#c2aa45",
"rgb": {
"r": 194,
"g": 170,
"b": 69
},
"hsl": {
"h": 48.48,
"s": 50.607,
"l": 51.569
},
"oklch": {
"l": 0.73979,
"c": 0.12274,
"h": 95.8
},
"luminance": 0.40648
}Semantic roles & 50–950 ramp
primary
#C2AA45
secondary
#96A0CD
accent
#69DA4E
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#15120A
muted
#83817C