#C4B258#C4B258
#C4B258 is a light, moderate yellow. Relative luminance 0.443; OKLCH L 76.1% C 0.113 H 98.2°. Best body text is #000000 at 9.86:1 contrast (WCAG AA passes).
Color values
| HEX | #C4B258 |
|---|---|
| RGB | rgb(196, 178, 88) |
| HSL | hsl(50, 48%, 56%) |
| HSV | hsv(50, 55%, 77%) |
| CMYK | cmyk(0%, 9.2%, 55.1%, 23.1%) |
| CIE-LAB | lab(72.42, -5.02, 47.68) |
| CIE-LCH | lch(72.42, 47.95, 96.01°) |
| OKLab | oklab(76.05% -0.0161 0.1117) |
| OKLCH | oklch(76.05% 0.113 98.2) |
| XYZ | xyz(40.4482, 44.2828, 15.6475) |
| Luminance | 0.4428 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.37
Desert
#CCAD60
ΔE00 4.82
Sandy Brown
#C4A661
ΔE00 6.12
Tan (survey)
#D1B26F
ΔE00 6.22
Muddy Yellow
#BFAC05
ΔE00 6.80
Khaki (survey)
#AAA662
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C4B258 #586AC4
analogous
#C47C58 #C4B258 #A0C458
triadic
#C4B258 #58C4B2 #B258C4
tetradic
#C4B258 #58C47C #586AC4 #C458A0
square
#C4B258 #58C47C #586AC4 #C458A0
split-complementary
#C4B258 #58A0C4 #7C58C4
monochromatic
#776B2A #A5933A #C4B258 #D4C785 #E4DCB2
Accessibility & contrast
On white
2.13
#C4B258 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.86
#C4B258 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C4B258
9.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C4B258 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C4B258 | 1.00 | 2.13 | 9.86 | 9.86 |
| #FFFFFF | 2.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AE4F
Deuteranopia (green-blind)
#C6B45C
Tritanopia (blue-blind)
#D2A79E
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #c4b258; /* rgb */ color: rgb(196, 178, 88); /* oklch */ color: oklch(76.1% 0.113 98.2);
Tailwind
colors: {
custom: {
50: '#d8c88a',
500: '#c4b258',
950: '#000000',
},
}SCSS
$custom: #c4b258; $custom-light: #d8c88a; $custom-dark: #000000;
JSON
{
"hex": "#c4b258",
"rgb": {
"r": 196,
"g": 178,
"b": 88
},
"hsl": {
"h": 50,
"s": 47.788,
"l": 55.686
},
"oklch": {
"l": 0.76051,
"c": 0.11287,
"h": 98.2
},
"luminance": 0.44281
}Semantic roles & 50–950 ramp
primary
#C4B258
secondary
#A5ADD2
accent
#67D750
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D