#B4B481#B4B481
#B4B481 is a light, moderate yellow. Relative luminance 0.439; OKLCH L 75.7% C 0.069 H 107.9°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).
Color values
| HEX | #B4B481 |
|---|---|
| RGB | rgb(180, 180, 129) |
| HSL | hsl(60, 25%, 61%) |
| HSV | hsv(60, 28%, 71%) |
| CMYK | cmyk(0%, 0%, 28.3%, 29.4%) |
| CIE-LAB | lab(72.18, -8.21, 26.10) |
| CIE-LCH | lch(72.18, 27.37, 107.47°) |
| OKLab | oklab(75.73% -0.0212 0.0654) |
| OKLCH | oklch(75.73% 0.069 107.9) |
| XYZ | xyz(39.1062, 43.9314, 27.1841) |
| Luminance | 0.4393 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand
#C2B280
ΔE00 5.55
Darkkhaki
#BDB76B
ΔE00 5.57
Khaki (survey)
#AAA662
ΔE00 5.73
Bland
#AFA88B
ΔE00 7.24
Tan Green
#A9BE70
ΔE00 7.28
Sage Green
#9CAF88
ΔE00 7.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4B481 #8181B4
analogous
#B49A81 #B4B481 #9AB481
triadic
#B4B481 #81B4B4 #B481B4
tetradic
#B4B481 #81B49A #8181B4 #B4819A
square
#B4B481 #81B49A #8181B4 #B4819A
split-complementary
#B4B481 #819AB4 #9A81B4
monochromatic
#757546 #9B9B5C #B4B481 #CBCBA7 #E2E2CE
Accessibility & contrast
On white
2.15
#B4B481 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.79
#B4B481 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4B481
9.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4B481 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4B481 | 1.00 | 2.15 | 9.79 | 9.79 |
| #FFFFFF | 2.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCB07E
Deuteranopia (green-blind)
#BDB283
Tritanopia (blue-blind)
#BBAEA7
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #b4b481; /* rgb */ color: rgb(180, 180, 129); /* oklch */ color: oklch(75.7% 0.069 107.9);
Tailwind
colors: {
custom: {
50: '#cbcaa6',
500: '#b4b481',
950: '#000000',
},
}SCSS
$custom: #b4b481; $custom-light: #cbcaa6; $custom-dark: #000000;
JSON
{
"hex": "#b4b481",
"rgb": {
"r": 180,
"g": 180,
"b": 129
},
"hsl": {
"h": 60,
"s": 25.373,
"l": 60.588
},
"oklch": {
"l": 0.75729,
"c": 0.06873,
"h": 107.9
},
"luminance": 0.43931
}Semantic roles & 50–950 ramp
primary
#B4B481
secondary
#BFBFD2
accent
#42A442
background
#FCFCFA
surface
#F8F8F4
border
#D1D1CE
text
#13130F
muted
#82827F