#B2AB56#B2AB56
#B2AB56 is a light, moderate yellow. Relative luminance 0.393; OKLCH L 72.9% C 0.108 H 104.5°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).
Color values
| HEX | #B2AB56 |
|---|---|
| RGB | rgb(178, 171, 86) |
| HSL | hsl(55, 37%, 52%) |
| HSV | hsv(55, 52%, 70%) |
| CMYK | cmyk(0%, 3.9%, 51.7%, 30.2%) |
| CIE-LAB | lab(68.94, -9.10, 44.18) |
| CIE-LCH | lch(68.94, 45.11, 101.64°) |
| OKLab | oklab(72.91% -0.027 0.1042) |
| OKLCH | oklch(72.91% 0.108 104.5) |
| XYZ | xyz(34.6037, 39.2637, 14.5582) |
| Luminance | 0.3926 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 3.46
Darkkhaki
#BDB76B
ΔE00 3.80
Vomit
#A2A415
ΔE00 6.93
Puke
#A5A502
ΔE00 7.38
Desert
#CCAD60
ΔE00 7.82
Sandy Brown
#C4A661
ΔE00 7.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2AB56 #565DB2
analogous
#B27D56 #B2AB56 #8BB256
triadic
#B2AB56 #56B2AB #AB56B2
tetradic
#B2AB56 #56B27D #565DB2 #B2568B
square
#B2AB56 #56B27D #565DB2 #B2568B
split-complementary
#B2AB56 #568BB2 #7D56B2
monochromatic
#615D2C #8B863F #B2AB56 #C5C080 #D8D5AA
Accessibility & contrast
On white
2.37
#B2AB56 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.85
#B2AB56 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2AB56
8.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2AB56 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2AB56 | 1.00 | 2.37 | 8.85 | 8.85 |
| #FFFFFF | 2.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8A64E
Deuteranopia (green-blind)
#BAAA5A
Tritanopia (blue-blind)
#BDA198
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #b2ab56; /* rgb */ color: rgb(178, 171, 86); /* oklch */ color: oklch(72.9% 0.108 104.5);
Tailwind
colors: {
custom: {
50: '#cbc388',
500: '#b2ab56',
950: '#000000',
},
}SCSS
$custom: #b2ab56; $custom-light: #cbc388; $custom-dark: #000000;
JSON
{
"hex": "#b2ab56",
"rgb": {
"r": 178,
"g": 171,
"b": 86
},
"hsl": {
"h": 55.435,
"s": 37.398,
"l": 51.765
},
"oklch": {
"l": 0.7291,
"c": 0.10767,
"h": 104.5
},
"luminance": 0.39263
}Semantic roles & 50–950 ramp
primary
#B2AB56
secondary
#9EA1C6
accent
#63CD5A
background
#FCFBF8
surface
#F9F7F0
border
#D2D0CB
text
#14120B
muted
#82817C