#B1AE28#B1AE28
#B1AE28 is a light, vivid yellow. Relative luminance 0.398; OKLCH L 73.1% C 0.146 H 108.2°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).
Color values
| HEX | #B1AE28 |
|---|---|
| RGB | rgb(177, 174, 40) |
| HSL | hsl(59, 63%, 43%) |
| HSV | hsv(59, 77%, 69%) |
| CMYK | cmyk(0%, 1.7%, 77.4%, 30.6%) |
| CIE-LAB | lab(69.31, -13.99, 63.63) |
| CIE-LCH | lch(69.31, 65.14, 102.40°) |
| OKLab | oklab(73.06% -0.0456 0.1387) |
| OKLCH | oklch(73.06% 0.146 108.2) |
| XYZ | xyz(33.6519, 39.7735, 7.9115) |
| Luminance | 0.3977 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 3.12
Vomit
#A2A415
ΔE00 3.46
Mustard Green
#A8B504
ΔE00 4.10
Olive Yellow
#C2B709
ΔE00 4.33
Muddy Yellow
#BFAC05
ΔE00 4.74
Puke Yellow
#C2BE0E
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1AE28 #282BB1
analogous
#B16928 #B1AE28 #70B128
triadic
#B1AE28 #28B1AE #AE28B1
tetradic
#B1AE28 #28B169 #282BB1 #B12870
square
#B1AE28 #28B169 #282BB1 #B12870
split-complementary
#B1AE28 #2870B1 #6928B1
monochromatic
#4D4C11 #7F7D1D #B1AE28 #D4D142 #E0DD74
Accessibility & contrast
On white
2.35
#B1AE28 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.95
#B1AE28 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B1AE28
8.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1AE28 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B1AE28 | 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)
#BDA701
Deuteranopia (green-blind)
#BFAB33
Tritanopia (blue-blind)
#BEA295
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #b1ae28; /* rgb */ color: rgb(177, 174, 40); /* oklch */ color: oklch(73.1% 0.146 108.2);
Tailwind
colors: {
custom: {
50: '#ccc56e',
500: '#b1ae28',
950: '#000000',
},
}SCSS
$custom: #b1ae28; $custom-light: #ccc56e; $custom-dark: #000000;
JSON
{
"hex": "#b1ae28",
"rgb": {
"r": 177,
"g": 174,
"b": 40
},
"hsl": {
"h": 58.686,
"s": 63.134,
"l": 42.549
},
"oklch": {
"l": 0.73062,
"c": 0.14604,
"h": 108.2
},
"luminance": 0.39772
}Semantic roles & 50–950 ramp
primary
#B1AE28
secondary
#6E70C7
accent
#45E642
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B