#B5AE2E#B5AE2E
#B5AE2E is a light, vivid yellow. Relative luminance 0.403; OKLCH L 73.5% C 0.142 H 106.2°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).
Color values
| HEX | #B5AE2E |
|---|---|
| RGB | rgb(181, 174, 46) |
| HSL | hsl(57, 59%, 45%) |
| HSV | hsv(57, 75%, 71%) |
| CMYK | cmyk(0%, 3.9%, 74.6%, 29%) |
| CIE-LAB | lab(69.68, -11.99, 62.13) |
| CIE-LCH | lch(69.68, 63.28, 100.93°) |
| OKLab | oklab(73.45% -0.0397 0.1365) |
| OKLCH | oklch(73.45% 0.142 106.2) |
| XYZ | xyz(34.6867, 40.2944, 8.5347) |
| Luminance | 0.4029 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 3.79
Olive Yellow
#C2B709
ΔE00 4.01
Muddy Yellow
#BFAC05
ΔE00 4.03
Vomit
#A2A415
ΔE00 4.17
Mustard Green
#A8B504
ΔE00 5.11
Puke Yellow
#C2BE0E
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5AE2E #2E35B5
analogous
#B56B2E #B5AE2E #79B52E
triadic
#B5AE2E #2EB5AE #AE2EB5
tetradic
#B5AE2E #2EB56B #2E35B5 #B52E79
square
#B5AE2E #2EB56B #2E35B5 #B52E79
split-complementary
#B5AE2E #2E79B5 #6B2EB5
monochromatic
#535015 #847F22 #B5AE2E #D2CB4E #DEDA7F
Accessibility & contrast
On white
2.32
#B5AE2E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.06
#B5AE2E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5AE2E
9.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5AE2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5AE2E | 1.00 | 2.32 | 9.06 | 9.06 |
| #FFFFFF | 2.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA713
Deuteranopia (green-blind)
#C0AD38
Tritanopia (blue-blind)
#C3A296
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #b5ae2e; /* rgb */ color: rgb(181, 174, 46); /* oklch */ color: oklch(73.5% 0.142 106.2);
Tailwind
colors: {
custom: {
50: '#cfc571',
500: '#b5ae2e',
950: '#000000',
},
}SCSS
$custom: #b5ae2e; $custom-light: #cfc571; $custom-dark: #000000;
JSON
{
"hex": "#b5ae2e",
"rgb": {
"r": 181,
"g": 174,
"b": 46
},
"hsl": {
"h": 56.889,
"s": 59.471,
"l": 44.51
},
"oklch": {
"l": 0.7345,
"c": 0.14217,
"h": 106.2
},
"luminance": 0.40293
}Semantic roles & 50–950 ramp
primary
#B5AE2E
secondary
#787CC7
accent
#4DE345
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B