#B5AA4E#B5AA4E
#B5AA4E is a light, moderate yellow. Relative luminance 0.391; OKLCH L 72.9% C 0.114 H 102.5°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).
Color values
| HEX | #B5AA4E |
|---|---|
| RGB | rgb(181, 170, 78) |
| HSL | hsl(54, 41%, 51%) |
| HSV | hsv(54, 57%, 71%) |
| CMYK | cmyk(0%, 6.1%, 56.9%, 29%) |
| CIE-LAB | lab(68.84, -7.97, 47.99) |
| CIE-LCH | lch(68.84, 48.64, 99.43°) |
| OKLab | oklab(72.87% -0.0248 0.1116) |
| OKLCH | oklch(72.87% 0.114 102.5) |
| XYZ | xyz(34.8071, 39.1245, 12.9246) |
| Luminance | 0.3912 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.75
Khaki (survey)
#AAA662
ΔE00 4.82
Vomit
#A2A415
ΔE00 6.39
Puke
#A5A502
ΔE00 6.63
Muddy Yellow
#BFAC05
ΔE00 6.72
Desert
#CCAD60
ΔE00 7.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5AA4E #4E59B5
analogous
#B5764E #B5AA4E #8CB54E
triadic
#B5AA4E #4EB5AA #AA4EB5
tetradic
#B5AA4E #4EB576 #4E59B5 #B54E8C
square
#B5AA4E #4EB576 #4E59B5 #B54E8C
split-complementary
#B5AA4E #4E8CB5 #764EB5
monochromatic
#605A28 #8B833A #B5AA4E #C7BF79 #D9D3A4
Accessibility & contrast
On white
2.38
#B5AA4E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.82
#B5AA4E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5AA4E
8.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5AA4E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5AA4E | 1.00 | 2.38 | 8.82 | 8.82 |
| #FFFFFF | 2.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8A545
Deuteranopia (green-blind)
#BBAA53
Tritanopia (blue-blind)
#C1A096
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #b5aa4e; /* rgb */ color: rgb(181, 170, 78); /* oklch */ color: oklch(72.9% 0.114 102.5);
Tailwind
colors: {
custom: {
50: '#cec383',
500: '#b5aa4e',
950: '#000000',
},
}SCSS
$custom: #b5aa4e; $custom-light: #cec383; $custom-dark: #000000;
JSON
{
"hex": "#b5aa4e",
"rgb": {
"r": 181,
"g": 170,
"b": 78
},
"hsl": {
"h": 53.592,
"s": 41.036,
"l": 50.784
},
"oklch": {
"l": 0.72865,
"c": 0.11428,
"h": 102.5
},
"luminance": 0.39123
}Semantic roles & 50–950 ramp
primary
#B5AA4E
secondary
#999DC6
accent
#64D157
background
#FCFBF8
surface
#F9F7EF
border
#D2D0CA
text
#14120B
muted
#82817C