#B2AB50#B2AB50
#B2AB50 is a light, moderate yellow. Relative luminance 0.392; OKLCH L 72.8% C 0.114 H 104.8°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).
Color values
| HEX | #B2AB50 |
|---|---|
| RGB | rgb(178, 171, 80) |
| HSL | hsl(56, 39%, 51%) |
| HSV | hsv(56, 55%, 70%) |
| CMYK | cmyk(0%, 3.9%, 55.1%, 30.2%) |
| CIE-LAB | lab(68.88, -9.61, 47.01) |
| CIE-LCH | lch(68.88, 47.98, 101.56°) |
| OKLab | oklab(72.84% -0.0291 0.1097) |
| OKLCH | oklch(72.84% 0.114 104.8) |
| XYZ | xyz(34.3720, 39.1711, 13.3380) |
| Luminance | 0.3917 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 4.27
Darkkhaki
#BDB76B
ΔE00 4.34
Vomit
#A2A415
ΔE00 6.14
Puke
#A5A502
ΔE00 6.53
Muddy Yellow
#BFAC05
ΔE00 7.43
Olive Yellow
#C2B709
ΔE00 7.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2AB50 #5057B2
analogous
#B27A50 #B2AB50 #88B250
triadic
#B2AB50 #50B2AB #AB50B2
tetradic
#B2AB50 #50B27A #5057B2 #B25088
square
#B2AB50 #50B27A #5057B2 #B25088
split-complementary
#B2AB50 #5088B2 #7A50B2
monochromatic
#5E5A29 #89833C #B2AB50 #C5BF7A #D7D4A5
Accessibility & contrast
On white
2.38
#B2AB50 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.83
#B2AB50 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2AB50
8.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2AB50 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2AB50 | 1.00 | 2.38 | 8.83 | 8.83 |
| #FFFFFF | 2.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8A647
Deuteranopia (green-blind)
#BBAA55
Tritanopia (blue-blind)
#BEA197
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #b2ab50; /* rgb */ color: rgb(178, 171, 80); /* oklch */ color: oklch(72.8% 0.114 104.8);
Tailwind
colors: {
custom: {
50: '#cbc384',
500: '#b2ab50',
950: '#000000',
},
}SCSS
$custom: #b2ab50; $custom-light: #cbc384; $custom-dark: #000000;
JSON
{
"hex": "#b2ab50",
"rgb": {
"r": 178,
"g": 171,
"b": 80
},
"hsl": {
"h": 55.714,
"s": 38.889,
"l": 50.588
},
"oklch": {
"l": 0.72836,
"c": 0.11353,
"h": 104.8
},
"luminance": 0.3917
}Semantic roles & 50–950 ramp
primary
#B2AB50
secondary
#999CC5
accent
#61CF59
background
#FCFBF8
surface
#F9F7EF
border
#D2D0CA
text
#14120B
muted
#82817C