#B4A258#B4A258
#B4A258 is a light, moderate yellow. Relative luminance 0.362; OKLCH L 71.2% C 0.097 H 96.0°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).
Color values
| HEX | #B4A258 |
|---|---|
| RGB | rgb(180, 162, 88) |
| HSL | hsl(48, 38%, 53%) |
| HSV | hsv(48, 51%, 71%) |
| CMYK | cmyk(0%, 10%, 51.1%, 29.4%) |
| CIE-LAB | lab(66.71, -3.30, 40.56) |
| CIE-LCH | lch(66.71, 40.69, 94.66°) |
| OKLab | oklab(71.19% -0.0102 0.0964) |
| OKLCH | oklch(71.19% 0.097 96) |
| XYZ | xyz(33.5053, 36.2499, 14.4627) |
| Luminance | 0.3625 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy Brown
#C4A661
ΔE00 4.52
Khaki (survey)
#AAA662
ΔE00 4.57
Desert
#CCAD60
ΔE00 5.53
Sandstone
#C9AE74
ΔE00 6.32
Darkkhaki
#BDB76B
ΔE00 6.51
Camel (survey)
#C69F59
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4A258 #586AB4
analogous
#B47458 #B4A258 #98B458
triadic
#B4A258 #58B4A2 #A258B4
tetradic
#B4A258 #58B474 #586AB4 #B45898
square
#B4A258 #58B474 #586AB4 #B45898
split-complementary
#B4A258 #5898B4 #7458B4
monochromatic
#645A2D #8F7F40 #B4A258 #C7BA82 #DAD1AC
Accessibility & contrast
On white
2.55
#B4A258 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.25
#B4A258 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4A258
8.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4A258 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4A258 | 1.00 | 2.55 | 8.25 | 8.25 |
| #FFFFFF | 2.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AF9F52
Deuteranopia (green-blind)
#B4A55B
Tritanopia (blue-blind)
#C09891
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #b4a258; /* rgb */ color: rgb(180, 162, 88); /* oklch */ color: oklch(71.2% 0.097 96.0);
Tailwind
colors: {
custom: {
50: '#ccbd89',
500: '#b4a258',
950: '#000000',
},
}SCSS
$custom: #b4a258; $custom-light: #ccbd89; $custom-dark: #000000;
JSON
{
"hex": "#b4a258",
"rgb": {
"r": 180,
"g": 162,
"b": 88
},
"hsl": {
"h": 48.261,
"s": 38.017,
"l": 52.549
},
"oklch": {
"l": 0.71191,
"c": 0.09698,
"h": 96
},
"luminance": 0.36249
}Semantic roles & 50–950 ramp
primary
#B4A258
secondary
#A0A8C8
accent
#71CE5A
background
#FCFBF8
surface
#F9F6F0
border
#D2D0CB
text
#14120B
muted
#82817C