#C4A12F#C4A12F
#C4A12F is a light, vivid yellow. Relative luminance 0.374; OKLCH L 72.1% C 0.132 H 90.9°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).
Color values
| HEX | #C4A12F |
|---|---|
| RGB | rgb(196, 161, 47) |
| HSL | hsl(46, 61%, 48%) |
| HSV | hsv(46, 76%, 77%) |
| CMYK | cmyk(0%, 17.9%, 76%, 23.1%) |
| CIE-LAB | lab(67.60, 1.50, 60.31) |
| CIE-LCH | lch(67.60, 60.33, 88.58°) |
| OKLab | oklab(72.13% -0.0022 0.1322) |
| OKLCH | oklch(72.13% 0.132 90.9) |
| XYZ | xyz(36.0250, 37.4330, 8.0166) |
| Luminance | 0.3743 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 2.57
Ocre
#C69C04
ΔE00 2.92
Yellow Ochre
#CB9D06
ΔE00 3.48
Dark Gold
#B59410
ΔE00 4.30
Yellow Brown
#B79400
ΔE00 4.35
Burnt Yellow
#D5AB09
ΔE00 4.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C4A12F #2F52C4
analogous
#C4562F #C4A12F #9CC42F
triadic
#C4A12F #2FC4A1 #A12FC4
tetradic
#C4A12F #2FC456 #2F52C4 #C42F9C
square
#C4A12F #2FC456 #2F52C4 #C42F9C
split-complementary
#C4A12F #2F9CC4 #562FC4
monochromatic
#615017 #937823 #C4A12F #D7BA59 #E3CE8A
Accessibility & contrast
On white
2.47
#C4A12F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.49
#C4A12F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C4A12F
8.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C4A12F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C4A12F | 1.00 | 2.47 | 8.49 | 8.49 |
| #FFFFFF | 2.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B39F1A
Deuteranopia (green-blind)
#BCA936
Tritanopia (blue-blind)
#D4938B
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #c4a12f; /* rgb */ color: rgb(196, 161, 47); /* oklch */ color: oklch(72.1% 0.132 90.9);
Tailwind
colors: {
custom: {
50: '#dabc70',
500: '#c4a12f',
950: '#000000',
},
}SCSS
$custom: #c4a12f; $custom-light: #dabc70; $custom-dark: #000000;
JSON
{
"hex": "#c4a12f",
"rgb": {
"r": 196,
"g": 161,
"b": 47
},
"hsl": {
"h": 45.906,
"s": 61.317,
"l": 47.647
},
"oklch": {
"l": 0.72132,
"c": 0.13224,
"h": 90.9
},
"luminance": 0.37431
}Semantic roles & 50–950 ramp
primary
#C4A12F
secondary
#8293CD
accent
#69E443
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#161108
muted
#84807B