#B2B282#B2B282
#B2B282 is a light, moderate yellow. Relative luminance 0.429; OKLCH L 75.2% C 0.065 H 107.9°. Best body text is #000000 at 9.58:1 contrast (WCAG AA passes).
Color values
| HEX | #B2B282 |
|---|---|
| RGB | rgb(178, 178, 130) |
| HSL | hsl(60, 24%, 60%) |
| HSV | hsv(60, 27%, 70%) |
| CMYK | cmyk(0%, 0%, 27%, 30.2%) |
| CIE-LAB | lab(71.50, -7.81, 24.62) |
| CIE-LCH | lch(71.50, 25.83, 107.60°) |
| OKLab | oklab(75.15% -0.0199 0.0619) |
| OKLCH | oklch(75.15% 0.065 107.9) |
| XYZ | xyz(38.3098, 42.9180, 27.3806) |
| Luminance | 0.4292 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand
#C2B280
ΔE00 5.66
Khaki (survey)
#AAA662
ΔE00 5.90
Darkkhaki
#BDB76B
ΔE00 6.31
Bland
#AFA88B
ΔE00 6.53
Stone (survey)
#ADA587
ΔE00 6.81
Sage Green
#9CAF88
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2B282 #8282B2
analogous
#B29A82 #B2B282 #9AB282
triadic
#B2B282 #82B2B2 #B282B2
tetradic
#B2B282 #82B29A #8282B2 #B2829A
square
#B2B282 #82B29A #8282B2 #B2829A
split-complementary
#B2B282 #829AB2 #9A82B2
monochromatic
#737347 #99995E #B2B282 #C9C9A8 #E1E1CE
Accessibility & contrast
On white
2.19
#B2B282 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.58
#B2B282 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2B282
9.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2B282 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2B282 | 1.00 | 2.19 | 9.58 | 9.58 |
| #FFFFFF | 2.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BAAE7F
Deuteranopia (green-blind)
#BBB084
Tritanopia (blue-blind)
#B9ACA5
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #b2b282; /* rgb */ color: rgb(178, 178, 130); /* oklch */ color: oklch(75.2% 0.065 107.9);
Tailwind
colors: {
custom: {
50: '#c9c9a6',
500: '#b2b282',
950: '#000000',
},
}SCSS
$custom: #b2b282; $custom-light: #c9c9a6; $custom-dark: #000000;
JSON
{
"hex": "#b2b282",
"rgb": {
"r": 178,
"g": 178,
"b": 130
},
"hsl": {
"h": 60,
"s": 23.762,
"l": 60.392
},
"oklch": {
"l": 0.75154,
"c": 0.06503,
"h": 107.9
},
"luminance": 0.42917
}Semantic roles & 50–950 ramp
primary
#B2B282
secondary
#BFBFD1
accent
#43A243
background
#FCFCFA
surface
#F8F8F4
border
#D1D1CE
text
#13130F
muted
#82827F