#B1AE20#B1AE20
#B1AE20 is a light, vivid yellow. Relative luminance 0.397; OKLCH L 73.0% C 0.150 H 108.3°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).
Color values
| HEX | #B1AE20 |
|---|---|
| RGB | rgb(177, 174, 32) |
| HSL | hsl(59, 69%, 41%) |
| HSV | hsv(59, 82%, 69%) |
| CMYK | cmyk(0%, 1.7%, 81.9%, 30.6%) |
| CIE-LAB | lab(69.27, -14.26, 65.89) |
| CIE-LCH | lch(69.27, 67.42, 102.21°) |
| OKLab | oklab(73.02% -0.047 0.1421) |
| OKLCH | oklch(73.02% 0.15 108.3) |
| XYZ | xyz(33.5296, 39.7246, 7.2676) |
| Luminance | 0.3972 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 2.95
Vomit
#A2A415
ΔE00 3.47
Mustard Green
#A8B504
ΔE00 3.95
Olive Yellow
#C2B709
ΔE00 4.02
Muddy Yellow
#BFAC05
ΔE00 4.50
Puke Yellow
#C2BE0E
ΔE00 4.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1AE20 #2023B1
analogous
#B16520 #B1AE20 #6BB120
triadic
#B1AE20 #20B1AE #AE20B1
tetradic
#B1AE20 #20B165 #2023B1 #B1206B
square
#B1AE20 #20B165 #2023B1 #B1206B
split-complementary
#B1AE20 #206BB1 #6520B1
monochromatic
#49480D #7D7B17 #B1AE20 #DAD734 #E4E168
Accessibility & contrast
On white
2.35
#B1AE20 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.94
#B1AE20 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B1AE20
8.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1AE20 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B1AE20 | 1.00 | 2.35 | 8.94 | 8.94 |
| #FFFFFF | 2.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA700
Deuteranopia (green-blind)
#BFAB2E
Tritanopia (blue-blind)
#BEA295
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #b1ae20; /* rgb */ color: rgb(177, 174, 32); /* oklch */ color: oklch(73.0% 0.150 108.3);
Tailwind
colors: {
custom: {
50: '#ccc56a',
500: '#b1ae20',
950: '#000000',
},
}SCSS
$custom: #b1ae20; $custom-light: #ccc56a; $custom-dark: #000000;
JSON
{
"hex": "#b1ae20",
"rgb": {
"r": 177,
"g": 174,
"b": 32
},
"hsl": {
"h": 58.759,
"s": 69.378,
"l": 40.98
},
"oklch": {
"l": 0.73023,
"c": 0.14969,
"h": 108.3
},
"luminance": 0.39723
}Semantic roles & 50–950 ramp
primary
#B1AE20
secondary
#6466C9
accent
#3FEC3C
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141207
muted
#83817A