#C4A22B#C4A22B
#C4A22B is a light, vivid yellow. Relative luminance 0.378; OKLCH L 72.3% C 0.135 H 91.9°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).
Color values
| HEX | #C4A22B |
|---|---|
| RGB | rgb(196, 162, 43) |
| HSL | hsl(47, 64%, 47%) |
| HSV | hsv(47, 78%, 77%) |
| CMYK | cmyk(0%, 17.3%, 78.1%, 23.1%) |
| CIE-LAB | lab(67.84, 0.80, 61.95) |
| CIE-LCH | lch(67.84, 61.96, 89.26°) |
| OKLab | oklab(72.31% -0.0046 0.1349) |
| OKLCH | oklch(72.31% 0.135 91.9) |
| XYZ | xyz(36.1234, 37.7531, 7.6695) |
| Luminance | 0.3775 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 2.46
Ocre
#C69C04
ΔE00 2.95
Yellow Ochre
#CB9D06
ΔE00 3.60
Burnt Yellow
#D5AB09
ΔE00 4.30
Dark Gold
#B59410
ΔE00 4.38
Yellow Brown
#B79400
ΔE00 4.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C4A22B #2B4DC4
analogous
#C4562B #C4A22B #9AC42B
triadic
#C4A22B #2BC4A2 #A22BC4
tetradic
#C4A22B #2BC456 #2B4DC4 #C42B9A
square
#C4A22B #2BC456 #2B4DC4 #C42B9A
split-complementary
#C4A22B #2B9AC4 #562BC4
monochromatic
#604F15 #927920 #C4A22B #D9BB53 #E4CF85
Accessibility & contrast
On white
2.46
#C4A22B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.55
#C4A22B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C4A22B
8.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C4A22B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C4A22B | 1.00 | 2.46 | 8.55 | 8.55 |
| #FFFFFF | 2.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A012
Deuteranopia (green-blind)
#BDA932
Tritanopia (blue-blind)
#D4948B
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #c4a22b; /* rgb */ color: rgb(196, 162, 43); /* oklch */ color: oklch(72.3% 0.135 91.9);
Tailwind
colors: {
custom: {
50: '#dabd6e',
500: '#c4a22b',
950: '#000000',
},
}SCSS
$custom: #c4a22b; $custom-light: #dabd6e; $custom-dark: #000000;
JSON
{
"hex": "#c4a22b",
"rgb": {
"r": 196,
"g": 162,
"b": 43
},
"hsl": {
"h": 46.667,
"s": 64.017,
"l": 46.863
},
"oklch": {
"l": 0.72312,
"c": 0.13498,
"h": 91.9
},
"luminance": 0.37751
}Semantic roles & 50–950 ramp
primary
#C4A22B
secondary
#7D8FCE
accent
#66E741
background
#FEFBF6
surface
#FCF6EC
border
#D5D0C7
text
#161208
muted
#84817B