#B5AD5F#B5AD5F
#B5AD5F is a light, moderate yellow. Relative luminance 0.405; OKLCH L 73.7% C 0.100 H 103.4°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).
Color values
| HEX | #B5AD5F |
|---|---|
| RGB | rgb(181, 173, 95) |
| HSL | hsl(54, 37%, 54%) |
| HSV | hsv(54, 48%, 71%) |
| CMYK | cmyk(0%, 4.4%, 47.5%, 29%) |
| CIE-LAB | lab(69.85, -8.06, 40.86) |
| CIE-LCH | lch(69.85, 41.65, 101.16°) |
| OKLab | oklab(73.73% -0.0232 0.0977) |
| OKLCH | oklch(73.73% 0.1 103.4) |
| XYZ | xyz(36.0661, 40.5382, 16.7491) |
| Luminance | 0.4054 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 2.81
Khaki (survey)
#AAA662
ΔE00 3.08
Sand
#C2B280
ΔE00 6.79
Desert
#CCAD60
ΔE00 7.22
Sandy Brown
#C4A661
ΔE00 7.32
Sandstone
#C9AE74
ΔE00 7.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5AD5F #5F67B5
analogous
#B5825F #B5AD5F #92B55F
triadic
#B5AD5F #5FB5AD #AD5FB5
tetradic
#B5AD5F #5FB582 #5F67B5 #B55F92
square
#B5AD5F #5FB582 #5F67B5 #B55F92
split-complementary
#B5AD5F #5F92B5 #825FB5
monochromatic
#696431 #938C44 #B5AD5F #C8C289 #DCD8B3
Accessibility & contrast
On white
2.31
#B5AD5F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.11
#B5AD5F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5AD5F
9.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5AD5F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5AD5F | 1.00 | 2.31 | 9.11 | 9.11 |
| #FFFFFF | 2.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B9A858
Deuteranopia (green-blind)
#BCAD62
Tritanopia (blue-blind)
#C0A49B
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #b5ad5f; /* rgb */ color: rgb(181, 173, 95); /* oklch */ color: oklch(73.7% 0.100 103.4);
Tailwind
colors: {
custom: {
50: '#cdc58e',
500: '#b5ad5f',
950: '#000000',
},
}SCSS
$custom: #b5ad5f; $custom-light: #cdc58e; $custom-dark: #000000;
JSON
{
"hex": "#b5ad5f",
"rgb": {
"r": 181,
"g": 173,
"b": 95
},
"hsl": {
"h": 54.419,
"s": 36.752,
"l": 54.118
},
"oklch": {
"l": 0.7373,
"c": 0.10039,
"h": 103.4
},
"luminance": 0.40537
}Semantic roles & 50–950 ramp
primary
#B5AD5F
secondary
#A6A9CA
accent
#66CD5B
background
#FCFCF8
surface
#F9F8F0
border
#D2D1CB
text
#14120C
muted
#82817D