#B2A878#B2A878
#B2A878 is a light, moderate yellow. Relative luminance 0.388; OKLCH L 72.8% C 0.066 H 97.8°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).
Color values
| HEX | #B2A878 |
|---|---|
| RGB | rgb(178, 168, 120) |
| HSL | hsl(50, 27%, 58%) |
| HSV | hsv(50, 33%, 70%) |
| CMYK | cmyk(0%, 5.6%, 32.6%, 30.2%) |
| CIE-LAB | lab(68.63, -3.83, 26.15) |
| CIE-LCH | lch(68.63, 26.43, 98.34°) |
| OKLab | oklab(72.82% -0.0089 0.0653) |
| OKLCH | oklch(72.82% 0.066 97.8) |
| XYZ | xyz(35.7533, 38.8272, 23.3767) |
| Luminance | 0.3883 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand
#C2B280
ΔE00 3.78
Khaki (survey)
#AAA662
ΔE00 4.96
Putty
#BEAE8A
ΔE00 5.00
Stone (survey)
#ADA587
ΔE00 5.01
Bland
#AFA88B
ΔE00 5.30
Sandstone
#C9AE74
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2A878 #7882B2
analogous
#B28B78 #B2A878 #9FB278
triadic
#B2A878 #78B2A8 #A878B2
tetradic
#B2A878 #78B28B #7882B2 #B2789F
square
#B2A878 #78B28B #7882B2 #B2789F
split-complementary
#B2A878 #789FB2 #8B78B2
monochromatic
#706840 #978C56 #B2A878 #C8C19F #DEDAC6
Accessibility & contrast
On white
2.40
#B2A878 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.77
#B2A878 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2A878
8.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2A878 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2A878 | 1.00 | 2.40 | 8.77 | 8.77 |
| #FFFFFF | 2.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B1A575
Deuteranopia (green-blind)
#B4A97A
Tritanopia (blue-blind)
#BBA19B
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #b2a878; /* rgb */ color: rgb(178, 168, 120); /* oklch */ color: oklch(72.8% 0.066 97.8);
Tailwind
colors: {
custom: {
50: '#cac19f',
500: '#b2a878',
950: '#000000',
},
}SCSS
$custom: #b2a878; $custom-light: #cac19f; $custom-dark: #000000;
JSON
{
"hex": "#b2a878",
"rgb": {
"r": 178,
"g": 168,
"b": 120
},
"hsl": {
"h": 49.655,
"s": 27.358,
"l": 58.431
},
"oklch": {
"l": 0.72821,
"c": 0.0659,
"h": 97.8
},
"luminance": 0.38826
}Semantic roles & 50–950 ramp
primary
#B2A878
secondary
#B7BBCE
accent
#75C464
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#13120E
muted
#82817E