#C4A22F#C4A22F
#C4A22F is a light, vivid yellow. Relative luminance 0.378; OKLCH L 72.3% C 0.133 H 91.6°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).
Color values
| HEX | #C4A22F |
|---|---|
| RGB | rgb(196, 162, 47) |
| HSL | hsl(46, 61%, 48%) |
| HSV | hsv(46, 76%, 77%) |
| CMYK | cmyk(0%, 17.3%, 76%, 23.1%) |
| CIE-LAB | lab(67.86, 0.96, 60.56) |
| CIE-LCH | lch(67.86, 60.57, 89.09°) |
| OKLab | oklab(72.34% -0.0037 0.1328) |
| OKLCH | oklch(72.34% 0.133 91.6) |
| XYZ | xyz(36.2004, 37.7839, 8.0751) |
| Luminance | 0.3778 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 2.69
Ocre
#C69C04
ΔE00 3.14
Yellow Ochre
#CB9D06
ΔE00 3.72
Dark Gold
#B59410
ΔE00 4.47
Burnt Yellow
#D5AB09
ΔE00 4.52
Yellow Brown
#B79400
ΔE00 4.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C4A22F #2F51C4
analogous
#C4582F #C4A22F #9BC42F
triadic
#C4A22F #2FC4A2 #A22FC4
tetradic
#C4A22F #2FC458 #2F51C4 #C42F9B
square
#C4A22F #2FC458 #2F51C4 #C42F9B
split-complementary
#C4A22F #2F9BC4 #582FC4
monochromatic
#615017 #937923 #C4A22F #D7BA59 #E3CF8A
Accessibility & contrast
On white
2.45
#C4A22F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.56
#C4A22F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C4A22F
8.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C4A22F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C4A22F | 1.00 | 2.45 | 8.56 | 8.56 |
| #FFFFFF | 2.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B4A01A
Deuteranopia (green-blind)
#BDA936
Tritanopia (blue-blind)
#D4948C
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #c4a22f; /* rgb */ color: rgb(196, 162, 47); /* oklch */ color: oklch(72.3% 0.133 91.6);
Tailwind
colors: {
custom: {
50: '#dabd70',
500: '#c4a22f',
950: '#000000',
},
}SCSS
$custom: #c4a22f; $custom-light: #dabd70; $custom-dark: #000000;
JSON
{
"hex": "#c4a22f",
"rgb": {
"r": 196,
"g": 162,
"b": 47
},
"hsl": {
"h": 46.309,
"s": 61.317,
"l": 47.647
},
"oklch": {
"l": 0.72337,
"c": 0.1328,
"h": 91.6
},
"luminance": 0.37782
}Semantic roles & 50–950 ramp
primary
#C4A22F
secondary
#8293CD
accent
#68E443
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#161208
muted
#84817B