#B5AF4E#B5AF4E
#B5AF4E is a light, moderate yellow. Relative luminance 0.410; OKLCH L 73.9% C 0.119 H 105.7°. Best body text is #000000 at 9.21:1 contrast (WCAG AA passes).
Color values
| HEX | #B5AF4E |
|---|---|
| RGB | rgb(181, 175, 78) |
| HSL | hsl(57, 41%, 51%) |
| HSV | hsv(57, 57%, 71%) |
| CMYK | cmyk(0%, 3.3%, 56.9%, 29%) |
| CIE-LAB | lab(70.20, -10.59, 49.53) |
| CIE-LCH | lch(70.20, 50.65, 102.07°) |
| OKLab | oklab(73.95% -0.0323 0.1149) |
| OKLCH | oklch(73.95% 0.119 105.7) |
| XYZ | xyz(35.7623, 41.0349, 13.2430) |
| Luminance | 0.4103 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.19
Khaki (survey)
#AAA662
ΔE00 5.38
Vomit
#A2A415
ΔE00 6.02
Puke
#A5A502
ΔE00 6.28
Muddy Yellow
#BFAC05
ΔE00 6.89
Olive Yellow
#C2B709
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5AF4E #4E54B5
analogous
#B57B4E #B5AF4E #87B54E
triadic
#B5AF4E #4EB5AF #AF4EB5
tetradic
#B5AF4E #4EB57B #4E54B5 #B54E87
square
#B5AF4E #4EB57B #4E54B5 #B54E87
split-complementary
#B5AF4E #4E87B5 #7B4EB5
monochromatic
#605D28 #8B873A #B5AF4E #C7C379 #D9D6A4
Accessibility & contrast
On white
2.28
#B5AF4E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.21
#B5AF4E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5AF4E
9.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5AF4E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5AF4E | 1.00 | 2.28 | 9.21 | 9.21 |
| #FFFFFF | 2.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA944
Deuteranopia (green-blind)
#BFAE53
Tritanopia (blue-blind)
#C1A59A
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #b5af4e; /* rgb */ color: rgb(181, 175, 78); /* oklch */ color: oklch(73.9% 0.119 105.7);
Tailwind
colors: {
custom: {
50: '#cdc683',
500: '#b5af4e',
950: '#000000',
},
}SCSS
$custom: #b5af4e; $custom-light: #cdc683; $custom-dark: #000000;
JSON
{
"hex": "#b5af4e",
"rgb": {
"r": 181,
"g": 175,
"b": 78
},
"hsl": {
"h": 56.505,
"s": 41.036,
"l": 50.784
},
"oklch": {
"l": 0.73945,
"c": 0.11932,
"h": 105.7
},
"luminance": 0.41034
}Semantic roles & 50–950 ramp
primary
#B5AF4E
secondary
#999BC6
accent
#5ED157
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#14130B
muted
#82827C