#C4A62B#C4A62B
#C4A62B is a light, vivid yellow. Relative luminance 0.392; OKLCH L 73.1% C 0.137 H 94.5°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).
Color values
| HEX | #C4A62B |
|---|---|
| RGB | rgb(196, 166, 43) |
| HSL | hsl(48, 64%, 47%) |
| HSV | hsv(48, 78%, 77%) |
| CMYK | cmyk(0%, 15.3%, 78.1%, 23.1%) |
| CIE-LAB | lab(68.88, -1.33, 62.91) |
| CIE-LCH | lch(68.88, 62.92, 91.21°) |
| OKLab | oklab(73.14% -0.0107 0.1369) |
| OKLCH | oklch(73.14% 0.137 94.5) |
| XYZ | xyz(36.8393, 39.1848, 7.9081) |
| Luminance | 0.3918 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 3.52
Brownish Yellow
#C9B003
ΔE00 4.11
Muddy Yellow
#BFAC05
ΔE00 4.18
Ocre
#C69C04
ΔE00 4.20
Burnt Yellow
#D5AB09
ΔE00 4.21
Mustard (survey)
#CEB301
ΔE00 4.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C4A62B #2B49C4
analogous
#C4592B #C4A62B #96C42B
triadic
#C4A62B #2BC4A6 #A62BC4
tetradic
#C4A62B #2BC459 #2B49C4 #C42B96
square
#C4A62B #2BC459 #2B49C4 #C42B96
split-complementary
#C4A62B #2B96C4 #592BC4
monochromatic
#605115 #927B20 #C4A62B #D9BF53 #E4D285
Accessibility & contrast
On white
2.38
#C4A62B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.84
#C4A62B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C4A62B
8.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C4A62B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C4A62B | 1.00 | 2.38 | 8.84 | 8.84 |
| #FFFFFF | 2.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8A30F
Deuteranopia (green-blind)
#C0AC33
Tritanopia (blue-blind)
#D4988F
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #c4a62b; /* rgb */ color: rgb(196, 166, 43); /* oklch */ color: oklch(73.1% 0.137 94.5);
Tailwind
colors: {
custom: {
50: '#dac06f',
500: '#c4a62b',
950: '#000000',
},
}SCSS
$custom: #c4a62b; $custom-light: #dac06f; $custom-dark: #000000;
JSON
{
"hex": "#c4a62b",
"rgb": {
"r": 196,
"g": 166,
"b": 43
},
"hsl": {
"h": 48.235,
"s": 64.017,
"l": 46.863
},
"oklch": {
"l": 0.73139,
"c": 0.13736,
"h": 94.5
},
"luminance": 0.39183
}Semantic roles & 50–950 ramp
primary
#C4A62B
secondary
#7D8DCE
accent
#61E741
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161208
muted
#84817B