#C1AA40#C1AA40
#C1AA40 is a light, vivid yellow. Relative luminance 0.405; OKLCH L 73.8% C 0.126 H 96.9°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).
Color values
| HEX | #C1AA40 |
|---|---|
| RGB | rgb(193, 170, 64) |
| HSL | hsl(49, 51%, 50%) |
| HSV | hsv(49, 67%, 76%) |
| CMYK | cmyk(0%, 11.9%, 66.8%, 24.3%) |
| CIE-LAB | lab(69.80, -3.76, 55.65) |
| CIE-LCH | lch(69.80, 55.77, 93.86°) |
| OKLab | oklab(73.84% -0.0151 0.1256) |
| OKLCH | oklch(73.84% 0.126 96.9) |
| XYZ | xyz(37.2942, 40.4589, 10.6944) |
| Luminance | 0.4046 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 4.46
Brownish Yellow
#C9B003
ΔE00 4.91
Desert
#CCAD60
ΔE00 5.48
Mustard (survey)
#CEB301
ΔE00 5.56
Ocher
#BF9B0C
ΔE00 5.86
Mustard
#DBB42C
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C1AA40 #4057C1
analogous
#C16940 #C1AA40 #98C140
triadic
#C1AA40 #40C1AA #AA40C1
tetradic
#C1AA40 #40C169 #4057C1 #C14098
square
#C1AA40 #40C169 #4057C1 #C14098
split-complementary
#C1AA40 #4098C1 #6940C1
monochromatic
#665921 #948230 #C1AA40 #D0BF6E #DFD39C
Accessibility & contrast
On white
2.31
#C1AA40 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.09
#C1AA40 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C1AA40
9.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C1AA40 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C1AA40 | 1.00 | 2.31 | 9.09 | 9.09 |
| #FFFFFF | 2.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BAA633
Deuteranopia (green-blind)
#C0AE46
Tritanopia (blue-blind)
#D09E94
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #c1aa40; /* rgb */ color: rgb(193, 170, 64); /* oklch */ color: oklch(73.8% 0.126 96.9);
Tailwind
colors: {
custom: {
50: '#d7c37a',
500: '#c1aa40',
950: '#000000',
},
}SCSS
$custom: #c1aa40; $custom-light: #d7c37a; $custom-dark: #000000;
JSON
{
"hex": "#c1aa40",
"rgb": {
"r": 193,
"g": 170,
"b": 64
},
"hsl": {
"h": 49.302,
"s": 50.988,
"l": 50.392
},
"oklch": {
"l": 0.73837,
"c": 0.12649,
"h": 96.9
},
"luminance": 0.40457
}Semantic roles & 50–950 ramp
primary
#C1AA40
secondary
#929CCB
accent
#66DA4D
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#15120A
muted
#83817C