#C1A231#C1A231
#C1A231 is a light, vivid yellow. Relative luminance 0.374; OKLCH L 72.0% C 0.131 H 93.0°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).
Color values
| HEX | #C1A231 |
|---|---|
| RGB | rgb(193, 162, 49) |
| HSL | hsl(47, 60%, 47%) |
| HSV | hsv(47, 75%, 76%) |
| CMYK | cmyk(0%, 16.1%, 74.6%, 24.3%) |
| CIE-LAB | lab(67.58, -0.27, 59.45) |
| CIE-LCH | lch(67.58, 59.45, 90.26°) |
| OKLab | oklab(72.05% -0.0069 0.1309) |
| OKLCH | oklch(72.05% 0.131 93) |
| XYZ | xyz(35.4690, 37.4020, 8.2562) |
| Luminance | 0.3740 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 2.95
Ocre
#C69C04
ΔE00 3.79
Brown Yellow
#B29705
ΔE00 4.28
Dark Gold
#B59410
ΔE00 4.39
Yellow Ochre
#CB9D06
ΔE00 4.51
Yellow Brown
#B79400
ΔE00 4.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C1A231 #3150C1
analogous
#C15A31 #C1A231 #98C131
triadic
#C1A231 #31C1A2 #A231C1
tetradic
#C1A231 #31C15A #3150C1 #C13198
square
#C1A231 #31C15A #3150C1 #C13198
split-complementary
#C1A231 #3198C1 #5A31C1
monochromatic
#5F5018 #907925 #C1A231 #D5BB5A #E2CF8B
Accessibility & contrast
On white
2.48
#C1A231 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.48
#C1A231 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C1A231
8.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C1A231 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C1A231 | 1.00 | 2.48 | 8.48 | 8.48 |
| #FFFFFF | 2.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B49F1E
Deuteranopia (green-blind)
#BBA838
Tritanopia (blue-blind)
#D1958C
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #c1a231; /* rgb */ color: rgb(193, 162, 49); /* oklch */ color: oklch(72.0% 0.131 93.0);
Tailwind
colors: {
custom: {
50: '#d8bd71',
500: '#c1a231',
950: '#000000',
},
}SCSS
$custom: #c1a231; $custom-light: #d8bd71; $custom-dark: #000000;
JSON
{
"hex": "#c1a231",
"rgb": {
"r": 193,
"g": 162,
"b": 49
},
"hsl": {
"h": 47.083,
"s": 59.504,
"l": 47.451
},
"oklch": {
"l": 0.72049,
"c": 0.13109,
"h": 93
},
"luminance": 0.374
}Semantic roles & 50–950 ramp
primary
#C1A231
secondary
#8292CC
accent
#67E345
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151208
muted
#83817B