#B5AE49#B5AE49
#B5AE49 is a light, vivid yellow. Relative luminance 0.406; OKLCH L 73.7% C 0.123 H 105.3°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).
Color values
| HEX | #B5AE49 |
|---|---|
| RGB | rgb(181, 174, 73) |
| HSL | hsl(56, 43%, 50%) |
| HSV | hsv(56, 60%, 71%) |
| CMYK | cmyk(0%, 3.9%, 59.7%, 29%) |
| CIE-LAB | lab(69.88, -10.44, 51.46) |
| CIE-LCH | lch(69.88, 52.51, 101.47°) |
| OKLab | oklab(73.67% -0.0324 0.1184) |
| OKLCH | oklch(73.67% 0.123 105.3) |
| XYZ | xyz(35.3959, 40.5781, 12.2699) |
| Luminance | 0.4058 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.81
Vomit
#A2A415
ΔE00 5.55
Puke
#A5A502
ΔE00 5.74
Khaki (survey)
#AAA662
ΔE00 5.82
Muddy Yellow
#BFAC05
ΔE00 6.24
Olive Yellow
#C2B709
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5AE49 #4950B5
analogous
#B57849 #B5AE49 #86B549
triadic
#B5AE49 #49B5AE #AE49B5
tetradic
#B5AE49 #49B578 #4950B5 #B54986
square
#B5AE49 #49B578 #4950B5 #B54986
split-complementary
#B5AE49 #4986B5 #7849B5
monochromatic
#5E5A26 #898437 #B5AE49 #C7C274 #D9D5A0
Accessibility & contrast
On white
2.30
#B5AE49 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.12
#B5AE49 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5AE49
9.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5AE49 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5AE49 | 1.00 | 2.30 | 9.12 | 9.12 |
| #FFFFFF | 2.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA83E
Deuteranopia (green-blind)
#BFAD4F
Tritanopia (blue-blind)
#C1A398
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #b5ae49; /* rgb */ color: rgb(181, 174, 73); /* oklch */ color: oklch(73.7% 0.123 105.3);
Tailwind
colors: {
custom: {
50: '#cec580',
500: '#b5ae49',
950: '#000000',
},
}SCSS
$custom: #b5ae49; $custom-light: #cec580; $custom-dark: #000000;
JSON
{
"hex": "#b5ae49",
"rgb": {
"r": 181,
"g": 174,
"b": 73
},
"hsl": {
"h": 56.111,
"s": 42.52,
"l": 49.804
},
"oklch": {
"l": 0.73674,
"c": 0.12273,
"h": 105.3
},
"luminance": 0.40577
}Semantic roles & 50–950 ramp
primary
#B5AE49
secondary
#9498C5
accent
#5ED255
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14120A
muted
#83817C