#B4B47F#B4B47F
#B4B47F is a light, moderate yellow. Relative luminance 0.439; OKLCH L 75.7% C 0.071 H 108.0°. Best body text is #000000 at 9.78:1 contrast (WCAG AA passes).
Color values
| HEX | #B4B47F |
|---|---|
| RGB | rgb(180, 180, 127) |
| HSL | hsl(60, 26%, 60%) |
| HSV | hsv(60, 29%, 71%) |
| CMYK | cmyk(0%, 0%, 29.4%, 29.4%) |
| CIE-LAB | lab(72.15, -8.48, 27.12) |
| CIE-LCH | lch(72.15, 28.42, 107.36°) |
| OKLab | oklab(75.69% -0.022 0.0678) |
| OKLCH | oklch(75.69% 0.071 108) |
| XYZ | xyz(38.9746, 43.8787, 26.4909) |
| Luminance | 0.4388 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 5.15
Khaki (survey)
#AAA662
ΔE00 5.41
Sand
#C2B280
ΔE00 5.57
Tan Green
#A9BE70
ΔE00 6.99
Light Olive
#ACBF69
ΔE00 7.57
Bland
#AFA88B
ΔE00 7.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4B47F #7F7FB4
analogous
#B4997F #B4B47F #99B47F
triadic
#B4B47F #7FB4B4 #B47FB4
tetradic
#B4B47F #7FB499 #7F7FB4 #B47F99
square
#B4B47F #7FB499 #7F7FB4 #B47F99
split-complementary
#B4B47F #7F99B4 #997FB4
monochromatic
#747444 #9B9B5B #B4B47F #CBCBA6 #E1E1CC
Accessibility & contrast
On white
2.15
#B4B47F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.78
#B4B47F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4B47F
9.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4B47F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4B47F | 1.00 | 2.15 | 9.78 | 9.78 |
| #FFFFFF | 2.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDB07B
Deuteranopia (green-blind)
#BEB281
Tritanopia (blue-blind)
#BCADA6
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #b4b47f; /* rgb */ color: rgb(180, 180, 127); /* oklch */ color: oklch(75.7% 0.071 108.0);
Tailwind
colors: {
custom: {
50: '#cbcaa4',
500: '#b4b47f',
950: '#000000',
},
}SCSS
$custom: #b4b47f; $custom-light: #cbcaa4; $custom-dark: #000000;
JSON
{
"hex": "#b4b47f",
"rgb": {
"r": 180,
"g": 180,
"b": 127
},
"hsl": {
"h": 60,
"s": 26.108,
"l": 60.196
},
"oklch": {
"l": 0.7569,
"c": 0.07125,
"h": 108
},
"luminance": 0.43878
}Semantic roles & 50–950 ramp
primary
#B4B47F
secondary
#BDBDD2
accent
#41A541
background
#FCFCFA
surface
#F8F8F4
border
#D1D1CE
text
#13130F
muted
#82827F