#B7B282#B7B282
#B7B282 is a light, moderate yellow. Relative luminance 0.435; OKLCH L 75.6% C 0.065 H 102.8°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).
Color values
| HEX | #B7B282 |
|---|---|
| RGB | rgb(183, 178, 130) |
| HSL | hsl(54, 27%, 61%) |
| HSV | hsv(54, 29%, 72%) |
| CMYK | cmyk(0%, 2.7%, 29%, 28.2%) |
| CIE-LAB | lab(71.91, -5.85, 25.24) |
| CIE-LCH | lch(71.91, 25.91, 103.05°) |
| OKLab | oklab(75.58% -0.0144 0.0634) |
| OKLCH | oklch(75.58% 0.065 102.8) |
| XYZ | xyz(39.4783, 43.5205, 27.4354) |
| Luminance | 0.4352 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand
#C2B280
ΔE00 3.92
Putty
#BEAE8A
ΔE00 5.83
Khaki (survey)
#AAA662
ΔE00 5.86
Darkkhaki
#BDB76B
ΔE00 5.88
Bland
#AFA88B
ΔE00 5.95
Stone (survey)
#ADA587
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7B282 #8287B7
analogous
#B79882 #B7B282 #A2B782
triadic
#B7B282 #82B7B2 #B282B7
tetradic
#B7B282 #82B798 #8287B7 #B782A2
square
#B7B282 #82B798 #8287B7 #B782A2
split-complementary
#B7B282 #82A2B7 #9882B7
monochromatic
#797446 #A0995C #B7B282 #CDCAA9 #E4E2D0
Accessibility & contrast
On white
2.16
#B7B282 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.70
#B7B282 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7B282
9.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7B282 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7B282 | 1.00 | 2.16 | 9.70 | 9.70 |
| #FFFFFF | 2.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBAF7F
Deuteranopia (green-blind)
#BDB284
Tritanopia (blue-blind)
#BFACA5
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #b7b282; /* rgb */ color: rgb(183, 178, 130); /* oklch */ color: oklch(75.6% 0.065 102.8);
Tailwind
colors: {
custom: {
50: '#cdc8a6',
500: '#b7b282',
950: '#000000',
},
}SCSS
$custom: #b7b282; $custom-light: #cdc8a6; $custom-dark: #000000;
JSON
{
"hex": "#b7b282",
"rgb": {
"r": 183,
"g": 178,
"b": 130
},
"hsl": {
"h": 54.34,
"s": 26.904,
"l": 61.373
},
"oklch": {
"l": 0.75576,
"c": 0.06497,
"h": 102.8
},
"luminance": 0.4352
}Semantic roles & 50–950 ramp
primary
#B7B282
secondary
#C0C2D4
accent
#4AA540
background
#FCFCFA
surface
#F9F8F4
border
#D2D1CE
text
#13130F
muted
#82827F