#C1A42F#C1A42F
#C1A42F is a light, vivid yellow. Relative luminance 0.381; OKLCH L 72.5% C 0.134 H 94.5°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).
Color values
| HEX | #C1A42F |
|---|---|
| RGB | rgb(193, 164, 47) |
| HSL | hsl(48, 61%, 47%) |
| HSV | hsv(48, 76%, 76%) |
| CMYK | cmyk(0%, 15%, 75.6%, 24.3%) |
| CIE-LAB | lab(68.09, -1.43, 60.67) |
| CIE-LCH | lch(68.09, 60.69, 91.35°) |
| OKLab | oklab(72.45% -0.0104 0.1331) |
| OKLCH | oklch(72.45% 0.134 94.5) |
| XYZ | xyz(35.7828, 38.0957, 8.1572) |
| Luminance | 0.3809 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 3.36
Ocre
#C69C04
ΔE00 4.27
Brown Yellow
#B29705
ΔE00 4.40
Muddy Yellow
#BFAC05
ΔE00 4.57
Brownish Yellow
#C9B003
ΔE00 4.81
Dark Gold
#B59410
ΔE00 4.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C1A42F #2F4CC1
analogous
#C15B2F #C1A42F #95C12F
triadic
#C1A42F #2FC1A4 #A42FC1
tetradic
#C1A42F #2FC15B #2F4CC1 #C12F95
square
#C1A42F #2FC15B #2F4CC1 #C12F95
split-complementary
#C1A42F #2F95C1 #5B2FC1
monochromatic
#5F5017 #907A23 #C1A42F #D6BD57 #E2D088
Accessibility & contrast
On white
2.44
#C1A42F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.62
#C1A42F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C1A42F
8.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C1A42F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C1A42F | 1.00 | 2.44 | 8.62 | 8.62 |
| #FFFFFF | 2.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B6A119
Deuteranopia (green-blind)
#BDAA36
Tritanopia (blue-blind)
#D1978D
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #c1a42f; /* rgb */ color: rgb(193, 164, 47); /* oklch */ color: oklch(72.5% 0.134 94.5);
Tailwind
colors: {
custom: {
50: '#d8be70',
500: '#c1a42f',
950: '#000000',
},
}SCSS
$custom: #c1a42f; $custom-light: #d8be70; $custom-dark: #000000;
JSON
{
"hex": "#c1a42f",
"rgb": {
"r": 193,
"g": 164,
"b": 47
},
"hsl": {
"h": 48.082,
"s": 60.833,
"l": 47.059
},
"oklch": {
"l": 0.72451,
"c": 0.13352,
"h": 94.5
},
"luminance": 0.38094
}Semantic roles & 50–950 ramp
primary
#C1A42F
secondary
#808FCC
accent
#64E444
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151208
muted
#83817B