#B2AB4E#B2AB4E
#B2AB4E is a light, moderate yellow. Relative luminance 0.391; OKLCH L 72.8% C 0.115 H 104.9°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).
Color values
| HEX | #B2AB4E |
|---|---|
| RGB | rgb(178, 171, 78) |
| HSL | hsl(56, 39%, 50%) |
| HSV | hsv(56, 56%, 70%) |
| CMYK | cmyk(0%, 3.9%, 56.2%, 30.2%) |
| CIE-LAB | lab(68.85, -9.78, 47.93) |
| CIE-LCH | lch(68.85, 48.92, 101.53°) |
| OKLab | oklab(72.81% -0.0298 0.1115) |
| OKLCH | oklch(72.81% 0.115 104.9) |
| XYZ | xyz(34.2992, 39.1420, 12.9547) |
| Luminance | 0.3914 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.53
Khaki (survey)
#AAA662
ΔE00 4.54
Vomit
#A2A415
ΔE00 5.89
Puke
#A5A502
ΔE00 6.26
Muddy Yellow
#BFAC05
ΔE00 7.18
Olive Yellow
#C2B709
ΔE00 7.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2AB4E #4E55B2
analogous
#B2794E #B2AB4E #87B24E
triadic
#B2AB4E #4EB2AB #AB4EB2
tetradic
#B2AB4E #4EB279 #4E55B2 #B24E87
square
#B2AB4E #4EB279 #4E55B2 #B24E87
split-complementary
#B2AB4E #4E87B2 #794EB2
monochromatic
#5D5929 #88823B #B2AB4E #C5BF79 #D7D3A3
Accessibility & contrast
On white
2.38
#B2AB4E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.83
#B2AB4E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2AB4E
8.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2AB4E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2AB4E | 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)
#B8A545
Deuteranopia (green-blind)
#BBAA53
Tritanopia (blue-blind)
#BEA196
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #b2ab4e; /* rgb */ color: rgb(178, 171, 78); /* oklch */ color: oklch(72.8% 0.115 104.9);
Tailwind
colors: {
custom: {
50: '#cbc383',
500: '#b2ab4e',
950: '#000000',
},
}SCSS
$custom: #b2ab4e; $custom-light: #cbc383; $custom-dark: #000000;
JSON
{
"hex": "#b2ab4e",
"rgb": {
"r": 178,
"g": 171,
"b": 78
},
"hsl": {
"h": 55.8,
"s": 39.37,
"l": 50.196
},
"oklch": {
"l": 0.72812,
"c": 0.11541,
"h": 104.9
},
"luminance": 0.39141
}Semantic roles & 50–950 ramp
primary
#B2AB4E
secondary
#989BC4
accent
#61CF59
background
#FCFBF8
surface
#F9F7EF
border
#D2D0CA
text
#14120B
muted
#82817C