#B1AE25#B1AE25
#B1AE25 is a light, vivid yellow. Relative luminance 0.398; OKLCH L 73.0% C 0.147 H 108.2°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).
Color values
| HEX | #B1AE25 |
|---|---|
| RGB | rgb(177, 174, 37) |
| HSL | hsl(59, 65%, 42%) |
| HSV | hsv(59, 79%, 69%) |
| CMYK | cmyk(0%, 1.7%, 79.1%, 30.6%) |
| CIE-LAB | lab(69.29, -14.10, 64.52) |
| CIE-LCH | lch(69.29, 66.04, 102.33°) |
| OKLab | oklab(73.05% -0.0461 0.1401) |
| OKLCH | oklch(73.05% 0.147 108.2) |
| XYZ | xyz(33.6028, 39.7539, 7.6531) |
| Luminance | 0.3975 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 3.04
Vomit
#A2A415
ΔE00 3.45
Mustard Green
#A8B504
ΔE00 4.03
Olive Yellow
#C2B709
ΔE00 4.20
Muddy Yellow
#BFAC05
ΔE00 4.64
Puke Yellow
#C2BE0E
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1AE25 #2528B1
analogous
#B16825 #B1AE25 #6EB125
triadic
#B1AE25 #25B1AE #AE25B1
tetradic
#B1AE25 #25B168 #2528B1 #B1256E
square
#B1AE25 #25B168 #2528B1 #B1256E
split-complementary
#B1AE25 #256EB1 #6825B1
monochromatic
#4C4A10 #7E7C1A #B1AE25 #D6D33D #E1DF6F
Accessibility & contrast
On white
2.35
#B1AE25 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.95
#B1AE25 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B1AE25
8.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1AE25 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B1AE25 | 1.00 | 2.35 | 8.95 | 8.95 |
| #FFFFFF | 2.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA700
Deuteranopia (green-blind)
#BFAB31
Tritanopia (blue-blind)
#BEA295
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #b1ae25; /* rgb */ color: rgb(177, 174, 37); /* oklch */ color: oklch(73.0% 0.147 108.2);
Tailwind
colors: {
custom: {
50: '#ccc56c',
500: '#b1ae25',
950: '#000000',
},
}SCSS
$custom: #b1ae25; $custom-light: #ccc56c; $custom-dark: #000000;
JSON
{
"hex": "#b1ae25",
"rgb": {
"r": 177,
"g": 174,
"b": 37
},
"hsl": {
"h": 58.714,
"s": 65.421,
"l": 41.961
},
"oklch": {
"l": 0.73046,
"c": 0.14749,
"h": 108.2
},
"luminance": 0.39753
}Semantic roles & 50–950 ramp
primary
#B1AE25
secondary
#6A6CC8
accent
#43E83F
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141208
muted
#83817B