#C4B062#C4B062
#C4B062 is a light, moderate yellow. Relative luminance 0.437; OKLCH L 75.8% C 0.101 H 95.4°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).
Color values
| HEX | #C4B062 |
|---|---|
| RGB | rgb(196, 176, 98) |
| HSL | hsl(48, 45%, 58%) |
| HSV | hsv(48, 50%, 77%) |
| CMYK | cmyk(0%, 10.2%, 50%, 23.1%) |
| CIE-LAB | lab(72.01, -3.10, 42.28) |
| CIE-LCH | lch(72.01, 42.39, 94.20°) |
| OKLab | oklab(75.77% -0.0094 0.1008) |
| OKLCH | oklch(75.77% 0.101 95.4) |
| XYZ | xyz(40.4962, 43.6699, 17.8489) |
| Luminance | 0.4367 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 3.45
Sandy Brown
#C4A661
ΔE00 4.41
Darkkhaki
#BDB76B
ΔE00 4.44
Tan (survey)
#D1B26F
ΔE00 4.53
Sandstone
#C9AE74
ΔE00 4.90
Sand
#C2B280
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C4B062 #6276C4
analogous
#C47F62 #C4B062 #A7C462
triadic
#C4B062 #62C4B0 #B062C4
tetradic
#C4B062 #62C47F #6276C4 #C462A7
square
#C4B062 #62C47F #6276C4 #C462A7
split-complementary
#C4B062 #62A7C4 #7F62C4
monochromatic
#7D6D2F #A99440 #C4B062 #D5C68E #E5DDBB
Accessibility & contrast
On white
2.16
#C4B062 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.73
#C4B062 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C4B062
9.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C4B062 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C4B062 | 1.00 | 2.16 | 9.73 | 9.73 |
| #FFFFFF | 2.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEAD5B
Deuteranopia (green-blind)
#C3B365
Tritanopia (blue-blind)
#D1A69E
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #c4b062; /* rgb */ color: rgb(196, 176, 98); /* oklch */ color: oklch(75.8% 0.101 95.4);
Tailwind
colors: {
custom: {
50: '#d8c790',
500: '#c4b062',
950: '#000000',
},
}SCSS
$custom: #c4b062; $custom-light: #d8c790; $custom-dark: #000000;
JSON
{
"hex": "#c4b062",
"rgb": {
"r": 196,
"g": 176,
"b": 98
},
"hsl": {
"h": 47.755,
"s": 45.37,
"l": 57.647
},
"oklch": {
"l": 0.75765,
"c": 0.10127,
"h": 95.4
},
"luminance": 0.43668
}Semantic roles & 50–950 ramp
primary
#C4B062
secondary
#ADB5D5
accent
#6DD553
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130D
muted
#83827D