#C1AA38#C1AA38
#C1AA38 is a light, vivid yellow. Relative luminance 0.404; OKLCH L 73.8% C 0.132 H 97.5°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).
Color values
| HEX | #C1AA38 |
|---|---|
| RGB | rgb(193, 170, 56) |
| HSL | hsl(50, 55%, 49%) |
| HSV | hsv(50, 71%, 76%) |
| CMYK | cmyk(0%, 11.9%, 71%, 24.3%) |
| CIE-LAB | lab(69.74, -4.19, 58.86) |
| CIE-LCH | lch(69.74, 59.01, 94.08°) |
| OKLab | oklab(73.77% -0.0173 0.131) |
| OKLCH | oklch(73.77% 0.132 97.5) |
| XYZ | xyz(37.0827, 40.3743, 9.5804) |
| Luminance | 0.4037 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.57
Brownish Yellow
#C9B003
ΔE00 4.09
Mustard (survey)
#CEB301
ΔE00 4.81
Ocher
#BF9B0C
ΔE00 5.54
Dark Yellow
#D5B60A
ΔE00 5.64
Mustard
#DBB42C
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C1AA38 #384FC1
analogous
#C16638 #C1AA38 #94C138
triadic
#C1AA38 #38C1AA #AA38C1
tetradic
#C1AA38 #38C166 #384FC1 #C13894
square
#C1AA38 #38C166 #384FC1 #C13894
split-complementary
#C1AA38 #3894C1 #6638C1
monochromatic
#62561C #92802A #C1AA38 #D2C064 #E0D394
Accessibility & contrast
On white
2.31
#C1AA38 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.07
#C1AA38 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C1AA38
9.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C1AA38 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C1AA38 | 1.00 | 2.31 | 9.07 | 9.07 |
| #FFFFFF | 2.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA627
Deuteranopia (green-blind)
#C1AE3F
Tritanopia (blue-blind)
#D09D93
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #c1aa38; /* rgb */ color: rgb(193, 170, 56); /* oklch */ color: oklch(73.8% 0.132 97.5);
Tailwind
colors: {
custom: {
50: '#d7c276',
500: '#c1aa38',
950: '#000000',
},
}SCSS
$custom: #c1aa38; $custom-light: #d7c276; $custom-dark: #000000;
JSON
{
"hex": "#c1aa38",
"rgb": {
"r": 193,
"g": 170,
"b": 56
},
"hsl": {
"h": 49.927,
"s": 55.02,
"l": 48.824
},
"oklch": {
"l": 0.7377,
"c": 0.13215,
"h": 97.5
},
"luminance": 0.40372
}Semantic roles & 50–950 ramp
primary
#C1AA38
secondary
#8A95CB
accent
#62DE49
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B