#B5AE39#B5AE39
#B5AE39 is a light, vivid yellow. Relative luminance 0.404; OKLCH L 73.5% C 0.135 H 105.9°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).
Color values
| HEX | #B5AE39 |
|---|---|
| RGB | rgb(181, 174, 57) |
| HSL | hsl(57, 52%, 47%) |
| HSV | hsv(57, 69%, 71%) |
| CMYK | cmyk(0%, 3.9%, 68.5%, 29%) |
| CIE-LAB | lab(69.75, -11.45, 58.13) |
| CIE-LCH | lch(69.75, 59.25, 101.15°) |
| OKLab | oklab(73.53% -0.0371 0.13) |
| OKLCH | oklch(73.53% 0.135 105.9) |
| XYZ | xyz(34.9320, 40.3925, 9.8266) |
| Luminance | 0.4039 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 4.35
Vomit
#A2A415
ΔE00 4.48
Muddy Yellow
#BFAC05
ΔE00 4.74
Olive Yellow
#C2B709
ΔE00 4.82
Mustard Green
#A8B504
ΔE00 5.59
Puke Yellow
#C2BE0E
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5AE39 #3940B5
analogous
#B57039 #B5AE39 #7EB539
triadic
#B5AE39 #39B5AE #AE39B5
tetradic
#B5AE39 #39B570 #3940B5 #B5397E
square
#B5AE39 #39B570 #3940B5 #B5397E
split-complementary
#B5AE39 #397EB5 #7039B5
monochromatic
#58551C #86812A #B5AE39 #CDC65F #DBD78D
Accessibility & contrast
On white
2.31
#B5AE39 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.08
#B5AE39 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5AE39
9.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5AE39 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5AE39 | 1.00 | 2.31 | 9.08 | 9.08 |
| #FFFFFF | 2.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA828
Deuteranopia (green-blind)
#C0AD41
Tritanopia (blue-blind)
#C2A397
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #b5ae39; /* rgb */ color: rgb(181, 174, 57); /* oklch */ color: oklch(73.5% 0.135 105.9);
Tailwind
colors: {
custom: {
50: '#cec576',
500: '#b5ae39',
950: '#000000',
},
}SCSS
$custom: #b5ae39; $custom-light: #cec576; $custom-dark: #000000;
JSON
{
"hex": "#b5ae39",
"rgb": {
"r": 181,
"g": 174,
"b": 57
},
"hsl": {
"h": 56.613,
"s": 52.101,
"l": 46.667
},
"oklch": {
"l": 0.73527,
"c": 0.13522,
"h": 105.9
},
"luminance": 0.40391
}Semantic roles & 50–950 ramp
primary
#B5AE39
secondary
#8488C6
accent
#54DC4C
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141209
muted
#83817B