#B8B277#B8B277
#B8B277 is a light, moderate yellow. Relative luminance 0.434; OKLCH L 75.5% C 0.079 H 103.1°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).
Color values
| HEX | #B8B277 |
|---|---|
| RGB | rgb(184, 178, 119) |
| HSL | hsl(54, 31%, 59%) |
| HSV | hsv(54, 35%, 72%) |
| CMYK | cmyk(0%, 3.3%, 35.3%, 27.8%) |
| CIE-LAB | lab(71.80, -6.85, 30.97) |
| CIE-LCH | lch(71.80, 31.72, 102.48°) |
| OKLab | oklab(75.45% -0.0179 0.0765) |
| OKLCH | oklch(75.45% 0.079 103.1) |
| XYZ | xyz(39.0178, 43.3640, 23.7639) |
| Luminance | 0.4336 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.47
Sand
#C2B280
ΔE00 4.16
Khaki (survey)
#AAA662
ΔE00 4.22
Sandstone
#C9AE74
ΔE00 6.95
Putty
#BEAE8A
ΔE00 7.22
Tan Green
#A9BE70
ΔE00 7.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8B277 #777DB8
analogous
#B89277 #B8B277 #9EB877
triadic
#B8B277 #77B8B2 #B277B8
tetradic
#B8B277 #77B892 #777DB8 #B8779E
square
#B8B277 #77B892 #777DB8 #B8779E
split-complementary
#B8B277 #779EB8 #9277B8
monochromatic
#77713E #9F9853 #B8B277 #CDC99F #E2E0C7
Accessibility & contrast
On white
2.17
#B8B277 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.67
#B8B277 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B8B277
9.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8B277 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B8B277 | 1.00 | 2.17 | 9.67 | 9.67 |
| #FFFFFF | 2.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCAE73
Deuteranopia (green-blind)
#BEB179
Tritanopia (blue-blind)
#C1AAA3
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #b8b277; /* rgb */ color: rgb(184, 178, 119); /* oklch */ color: oklch(75.5% 0.079 103.1);
Tailwind
colors: {
custom: {
50: '#cec89f',
500: '#b8b277',
950: '#000000',
},
}SCSS
$custom: #b8b277; $custom-light: #cec89f; $custom-dark: #000000;
JSON
{
"hex": "#b8b277",
"rgb": {
"r": 184,
"g": 178,
"b": 119
},
"hsl": {
"h": 54.462,
"s": 31.401,
"l": 59.412
},
"oklch": {
"l": 0.75451,
"c": 0.07858,
"h": 103.1
},
"luminance": 0.43363
}Semantic roles & 50–950 ramp
primary
#B8B277
secondary
#B9BBD2
accent
#6AC860
background
#FCFCF9
surface
#F9F8F2
border
#D2D1CC
text
#14130E
muted
#82827E