#B1AE27#B1AE27
#B1AE27 is a light, vivid yellow. Relative luminance 0.398; OKLCH L 73.1% C 0.147 H 108.2°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).
Color values
| HEX | #B1AE27 |
|---|---|
| RGB | rgb(177, 174, 39) |
| HSL | hsl(59, 64%, 42%) |
| HSV | hsv(59, 78%, 69%) |
| CMYK | cmyk(0%, 1.7%, 78%, 30.6%) |
| CIE-LAB | lab(69.30, -14.02, 63.93) |
| CIE-LCH | lch(69.30, 65.45, 102.37°) |
| OKLab | oklab(73.06% -0.0458 0.1392) |
| OKLCH | oklch(73.06% 0.147 108.2) |
| XYZ | xyz(33.6351, 39.7668, 7.8231) |
| Luminance | 0.3977 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 3.09
Vomit
#A2A415
ΔE00 3.46
Mustard Green
#A8B504
ΔE00 4.08
Olive Yellow
#C2B709
ΔE00 4.29
Muddy Yellow
#BFAC05
ΔE00 4.71
Puke Yellow
#C2BE0E
ΔE00 5.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1AE27 #272AB1
analogous
#B16927 #B1AE27 #6FB127
triadic
#B1AE27 #27B1AE #AE27B1
tetradic
#B1AE27 #27B169 #272AB1 #B1276F
square
#B1AE27 #27B169 #272AB1 #B1276F
split-complementary
#B1AE27 #276FB1 #6927B1
monochromatic
#4D4B11 #7F7D1C #B1AE27 #D5D240 #E0DE72
Accessibility & contrast
On white
2.35
#B1AE27 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.95
#B1AE27 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B1AE27
8.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1AE27 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B1AE27 | 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)
#BFAB33
Tritanopia (blue-blind)
#BEA295
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #b1ae27; /* rgb */ color: rgb(177, 174, 39); /* oklch */ color: oklch(73.1% 0.147 108.2);
Tailwind
colors: {
custom: {
50: '#ccc56d',
500: '#b1ae27',
950: '#000000',
},
}SCSS
$custom: #b1ae27; $custom-light: #ccc56d; $custom-dark: #000000;
JSON
{
"hex": "#b1ae27",
"rgb": {
"r": 177,
"g": 174,
"b": 39
},
"hsl": {
"h": 58.696,
"s": 63.889,
"l": 42.353
},
"oklch": {
"l": 0.73057,
"c": 0.14653,
"h": 108.2
},
"luminance": 0.39766
}Semantic roles & 50–950 ramp
primary
#B1AE27
secondary
#6D6FC7
accent
#45E741
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141208
muted
#83817B