#C1A22F#C1A22F
#C1A22F is a light, vivid yellow. Relative luminance 0.374; OKLCH L 72.0% C 0.132 H 93.2°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).
Color values
| HEX | #C1A22F |
|---|---|
| RGB | rgb(193, 162, 47) |
| HSL | hsl(47, 61%, 47%) |
| HSV | hsv(47, 76%, 76%) |
| CMYK | cmyk(0%, 16.1%, 75.6%, 24.3%) |
| CIE-LAB | lab(67.57, -0.36, 60.18) |
| CIE-LCH | lch(67.57, 60.18, 90.34°) |
| OKLab | oklab(72.04% -0.0073 0.1321) |
| OKLCH | oklch(72.04% 0.132 93.2) |
| XYZ | xyz(35.4277, 37.3854, 8.0389) |
| Luminance | 0.3738 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 2.83
Ocre
#C69C04
ΔE00 3.70
Brown Yellow
#B29705
ΔE00 4.19
Dark Gold
#B59410
ΔE00 4.33
Yellow Ochre
#CB9D06
ΔE00 4.45
Yellow Brown
#B79400
ΔE00 4.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C1A22F #2F4EC1
analogous
#C1592F #C1A22F #97C12F
triadic
#C1A22F #2FC1A2 #A22FC1
tetradic
#C1A22F #2FC159 #2F4EC1 #C12F97
square
#C1A22F #2FC159 #2F4EC1 #C12F97
split-complementary
#C1A22F #2F97C1 #592FC1
monochromatic
#5F4F17 #907923 #C1A22F #D6BB57 #E2CF88
Accessibility & contrast
On white
2.48
#C1A22F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.48
#C1A22F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C1A22F
8.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C1A22F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C1A22F | 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)
#B49F1A
Deuteranopia (green-blind)
#BCA836
Tritanopia (blue-blind)
#D1958C
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #c1a22f; /* rgb */ color: rgb(193, 162, 47); /* oklch */ color: oklch(72.0% 0.132 93.2);
Tailwind
colors: {
custom: {
50: '#d8bd70',
500: '#c1a22f',
950: '#000000',
},
}SCSS
$custom: #c1a22f; $custom-light: #d8bd70; $custom-dark: #000000;
JSON
{
"hex": "#c1a22f",
"rgb": {
"r": 193,
"g": 162,
"b": 47
},
"hsl": {
"h": 47.26,
"s": 60.833,
"l": 47.059
},
"oklch": {
"l": 0.72035,
"c": 0.13226,
"h": 93.2
},
"luminance": 0.37383
}Semantic roles & 50–950 ramp
primary
#C1A22F
secondary
#8090CC
accent
#66E444
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151208
muted
#83817B