#C4A12C#C4A12C
#C4A12C is a light, vivid yellow. Relative luminance 0.374; OKLCH L 72.1% C 0.134 H 91.2°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).
Color values
| HEX | #C4A12C |
|---|---|
| RGB | rgb(196, 161, 44) |
| HSL | hsl(46, 63%, 47%) |
| HSV | hsv(46, 78%, 77%) |
| CMYK | cmyk(0%, 17.9%, 77.6%, 23.1%) |
| CIE-LAB | lab(67.58, 1.38, 61.37) |
| CIE-LCH | lch(67.58, 61.39, 88.71°) |
| OKLab | oklab(72.11% -0.0028 0.1339) |
| OKLCH | oklch(72.11% 0.134 91.2) |
| XYZ | xyz(35.9665, 37.4096, 7.7088) |
| Luminance | 0.3741 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 2.36
Ocre
#C69C04
ΔE00 2.75
Yellow Ochre
#CB9D06
ΔE00 3.36
Dark Gold
#B59410
ΔE00 4.22
Yellow Brown
#B79400
ΔE00 4.24
Burnt Yellow
#D5AB09
ΔE00 4.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C4A12C #2C4FC4
analogous
#C4552C #C4A12C #9BC42C
triadic
#C4A12C #2CC4A1 #A12CC4
tetradic
#C4A12C #2CC455 #2C4FC4 #C42C9B
square
#C4A12C #2CC455 #2C4FC4 #C42C9B
split-complementary
#C4A12C #2C9BC4 #552CC4
monochromatic
#604F16 #927821 #C4A12C #D9BA54 #E4CE86
Accessibility & contrast
On white
2.48
#C4A12C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.48
#C4A12C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C4A12C
8.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C4A12C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C4A12C | 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)
#B49F14
Deuteranopia (green-blind)
#BCA933
Tritanopia (blue-blind)
#D4938B
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #c4a12c; /* rgb */ color: rgb(196, 161, 44); /* oklch */ color: oklch(72.1% 0.134 91.2);
Tailwind
colors: {
custom: {
50: '#dabc6f',
500: '#c4a12c',
950: '#000000',
},
}SCSS
$custom: #c4a12c; $custom-light: #dabc6f; $custom-dark: #000000;
JSON
{
"hex": "#c4a12c",
"rgb": {
"r": 196,
"g": 161,
"b": 44
},
"hsl": {
"h": 46.184,
"s": 63.333,
"l": 47.059
},
"oklch": {
"l": 0.72112,
"c": 0.13389,
"h": 91.2
},
"luminance": 0.37407
}Semantic roles & 50–950 ramp
primary
#C4A12C
secondary
#7E91CD
accent
#67E641
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#161108
muted
#84807B