#B2A876#B2A876
#B2A876 is a light, moderate yellow. Relative luminance 0.388; OKLCH L 72.8% C 0.068 H 98.2°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).
Color values
| HEX | #B2A876 |
|---|---|
| RGB | rgb(178, 168, 118) |
| HSL | hsl(50, 28%, 58%) |
| HSV | hsv(50, 34%, 70%) |
| CMYK | cmyk(0%, 5.6%, 33.7%, 30.2%) |
| CIE-LAB | lab(68.59, -4.09, 27.18) |
| CIE-LCH | lch(68.59, 27.48, 98.55°) |
| OKLab | oklab(72.78% -0.0098 0.0677) |
| OKLCH | oklch(72.78% 0.068 98.2) |
| XYZ | xyz(35.6332, 38.7792, 22.7441) |
| Luminance | 0.3878 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand
#C2B280
ΔE00 3.82
Khaki (survey)
#AAA662
ΔE00 4.52
Putty
#BEAE8A
ΔE00 5.36
Stone (survey)
#ADA587
ΔE00 5.48
Bland
#AFA88B
ΔE00 5.77
Sandstone
#C9AE74
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2A876 #7680B2
analogous
#B28A76 #B2A876 #9EB276
triadic
#B2A876 #76B2A8 #A876B2
tetradic
#B2A876 #76B28A #7680B2 #B2769E
square
#B2A876 #76B28A #7680B2 #B2769E
split-complementary
#B2A876 #769EB2 #8A76B2
monochromatic
#6F673E #968B54 #B2A876 #C8C19D #DEDAC4
Accessibility & contrast
On white
2.40
#B2A876 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.76
#B2A876 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2A876
8.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2A876 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2A876 | 1.00 | 2.40 | 8.76 | 8.76 |
| #FFFFFF | 2.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B2A573
Deuteranopia (green-blind)
#B4A978
Tritanopia (blue-blind)
#BBA19B
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #b2a876; /* rgb */ color: rgb(178, 168, 118); /* oklch */ color: oklch(72.8% 0.068 98.2);
Tailwind
colors: {
custom: {
50: '#cac19e',
500: '#b2a876',
950: '#000000',
},
}SCSS
$custom: #b2a876; $custom-light: #cac19e; $custom-dark: #000000;
JSON
{
"hex": "#b2a876",
"rgb": {
"r": 178,
"g": 168,
"b": 118
},
"hsl": {
"h": 50,
"s": 28.037,
"l": 58.039
},
"oklch": {
"l": 0.72782,
"c": 0.06836,
"h": 98.2
},
"luminance": 0.38778
}Semantic roles & 50–950 ramp
primary
#B2A876
secondary
#B6BACE
accent
#74C463
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#13120E
muted
#82817E