#B5AB4E#B5AB4E
#B5AB4E is a light, moderate yellow. Relative luminance 0.395; OKLCH L 73.1% C 0.115 H 103.2°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).
Color values
| HEX | #B5AB4E |
|---|---|
| RGB | rgb(181, 171, 78) |
| HSL | hsl(54, 41%, 51%) |
| HSV | hsv(54, 57%, 71%) |
| CMYK | cmyk(0%, 5.5%, 56.9%, 29%) |
| CIE-LAB | lab(69.11, -8.50, 48.30) |
| CIE-LCH | lch(69.11, 49.04, 99.98°) |
| OKLab | oklab(73.08% -0.0263 0.1122) |
| OKLCH | oklch(73.08% 0.115 103.2) |
| XYZ | xyz(34.9953, 39.5009, 12.9873) |
| Luminance | 0.3950 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.58
Khaki (survey)
#AAA662
ΔE00 4.88
Vomit
#A2A415
ΔE00 6.26
Puke
#A5A502
ΔE00 6.51
Muddy Yellow
#BFAC05
ΔE00 6.71
Desert
#CCAD60
ΔE00 7.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5AB4E #4E58B5
analogous
#B5774E #B5AB4E #8BB54E
triadic
#B5AB4E #4EB5AB #AB4EB5
tetradic
#B5AB4E #4EB577 #4E58B5 #B54E8B
square
#B5AB4E #4EB577 #4E58B5 #B54E8B
split-complementary
#B5AB4E #4E8BB5 #774EB5
monochromatic
#605B28 #8B843A #B5AB4E #C7BF79 #D9D4A4
Accessibility & contrast
On white
2.36
#B5AB4E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.90
#B5AB4E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5AB4E
8.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5AB4E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5AB4E | 1.00 | 2.36 | 8.90 | 8.90 |
| #FFFFFF | 2.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B9A645
Deuteranopia (green-blind)
#BCAB53
Tritanopia (blue-blind)
#C1A196
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #b5ab4e; /* rgb */ color: rgb(181, 171, 78); /* oklch */ color: oklch(73.1% 0.115 103.2);
Tailwind
colors: {
custom: {
50: '#cec383',
500: '#b5ab4e',
950: '#000000',
},
}SCSS
$custom: #b5ab4e; $custom-light: #cec383; $custom-dark: #000000;
JSON
{
"hex": "#b5ab4e",
"rgb": {
"r": 181,
"g": 171,
"b": 78
},
"hsl": {
"h": 54.175,
"s": 41.036,
"l": 50.784
},
"oklch": {
"l": 0.7308,
"c": 0.11526,
"h": 103.2
},
"luminance": 0.395
}Semantic roles & 50–950 ramp
primary
#B5AB4E
secondary
#999DC6
accent
#63D157
background
#FCFBF8
surface
#F9F7EF
border
#D2D0CA
text
#14120B
muted
#82817C