#B5AE3A#B5AE3A
#B5AE3A 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 | #B5AE3A |
|---|---|
| RGB | rgb(181, 174, 58) |
| HSL | hsl(57, 51%, 47%) |
| HSV | hsv(57, 68%, 71%) |
| CMYK | cmyk(0%, 3.9%, 68%, 29%) |
| CIE-LAB | lab(69.76, -11.40, 57.74) |
| CIE-LCH | lch(69.76, 58.86, 101.17°) |
| OKLab | oklab(73.54% -0.0368 0.1294) |
| OKLCH | oklch(73.54% 0.135 105.9) |
| XYZ | xyz(34.9572, 40.4026, 9.9593) |
| Luminance | 0.4040 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 4.41
Vomit
#A2A415
ΔE00 4.52
Muddy Yellow
#BFAC05
ΔE00 4.82
Olive Yellow
#C2B709
ΔE00 4.90
Mustard Green
#A8B504
ΔE00 5.65
Puke Yellow
#C2BE0E
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5AE3A #3A41B5
analogous
#B5703A #B5AE3A #7FB53A
triadic
#B5AE3A #3AB5AE #AE3AB5
tetradic
#B5AE3A #3AB570 #3A41B5 #B53A7F
square
#B5AE3A #3AB570 #3A41B5 #B53A7F
split-complementary
#B5AE3A #3A7FB5 #703AB5
monochromatic
#58551C #87812B #B5AE3A #CCC660 #DBD78E
Accessibility & contrast
On white
2.31
#B5AE3A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.08
#B5AE3A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5AE3A
9.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5AE3A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5AE3A | 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)
#BDA829
Deuteranopia (green-blind)
#C0AD42
Tritanopia (blue-blind)
#C2A397
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #b5ae3a; /* rgb */ color: rgb(181, 174, 58); /* oklch */ color: oklch(73.5% 0.135 105.9);
Tailwind
colors: {
custom: {
50: '#cec577',
500: '#b5ae3a',
950: '#000000',
},
}SCSS
$custom: #b5ae3a; $custom-light: #cec577; $custom-dark: #000000;
JSON
{
"hex": "#b5ae3a",
"rgb": {
"r": 181,
"g": 174,
"b": 58
},
"hsl": {
"h": 56.585,
"s": 51.464,
"l": 46.863
},
"oklch": {
"l": 0.73535,
"c": 0.13452,
"h": 105.9
},
"luminance": 0.40401
}Semantic roles & 50–950 ramp
primary
#B5AE3A
secondary
#8589C6
accent
#55DB4D
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141209
muted
#83817B