#B5AE2A#B5AE2A
#B5AE2A is a light, vivid yellow. Relative luminance 0.403; OKLCH L 73.4% C 0.144 H 106.3°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).
Color values
| HEX | #B5AE2A |
|---|---|
| RGB | rgb(181, 174, 42) |
| HSL | hsl(57, 62%, 44%) |
| HSV | hsv(57, 77%, 71%) |
| CMYK | cmyk(0%, 3.9%, 76.8%, 29%) |
| CIE-LAB | lab(69.66, -12.16, 63.44) |
| CIE-LCH | lch(69.66, 64.59, 100.85°) |
| OKLab | oklab(73.43% -0.0405 0.1386) |
| OKLCH | oklch(73.43% 0.144 106.3) |
| XYZ | xyz(34.6115, 40.2643, 8.1387) |
| Luminance | 0.4026 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 3.67
Olive Yellow
#C2B709
ΔE00 3.79
Muddy Yellow
#BFAC05
ΔE00 3.83
Vomit
#A2A415
ΔE00 4.13
Puke Yellow
#C2BE0E
ΔE00 4.94
Mustard Green
#A8B504
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5AE2A #2A31B5
analogous
#B5682A #B5AE2A #76B52A
triadic
#B5AE2A #2AB5AE #AE2AB5
tetradic
#B5AE2A #2AB568 #2A31B5 #B52A76
square
#B5AE2A #2AB568 #2A31B5 #B52A76
split-complementary
#B5AE2A #2A76B5 #682AB5
monochromatic
#524E13 #837E1E #B5AE2A #D4CD48 #E0DB79
Accessibility & contrast
On white
2.32
#B5AE2A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.05
#B5AE2A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5AE2A
9.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5AE2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5AE2A | 1.00 | 2.32 | 9.05 | 9.05 |
| #FFFFFF | 2.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA707
Deuteranopia (green-blind)
#C0AC35
Tritanopia (blue-blind)
#C3A295
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #b5ae2a; /* rgb */ color: rgb(181, 174, 42); /* oklch */ color: oklch(73.4% 0.144 106.3);
Tailwind
colors: {
custom: {
50: '#cfc56f',
500: '#b5ae2a',
950: '#000000',
},
}SCSS
$custom: #b5ae2a; $custom-light: #cfc56f; $custom-dark: #000000;
JSON
{
"hex": "#b5ae2a",
"rgb": {
"r": 181,
"g": 174,
"b": 42
},
"hsl": {
"h": 56.978,
"s": 62.332,
"l": 43.725
},
"oklch": {
"l": 0.73426,
"c": 0.14435,
"h": 106.3
},
"luminance": 0.40263
}Semantic roles & 50–950 ramp
primary
#B5AE2A
secondary
#7377C8
accent
#4BE542
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B