#B1AE31#B1AE31
#B1AE31 is a light, vivid yellow. Relative luminance 0.398; OKLCH L 73.1% C 0.141 H 108.0°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).
Color values
| HEX | #B1AE31 |
|---|---|
| RGB | rgb(177, 174, 49) |
| HSL | hsl(59, 57%, 44%) |
| HSV | hsv(59, 72%, 69%) |
| CMYK | cmyk(0%, 1.7%, 72.3%, 30.6%) |
| CIE-LAB | lab(69.36, -13.60, 60.65) |
| CIE-LCH | lch(69.36, 62.16, 102.64°) |
| OKLab | oklab(73.12% -0.0437 0.1341) |
| OKLCH | oklch(73.12% 0.141 108) |
| XYZ | xyz(33.8232, 39.8421, 8.8138) |
| Luminance | 0.3984 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 3.50
Vomit
#A2A415
ΔE00 3.62
Mustard Green
#A8B504
ΔE00 4.43
Olive Yellow
#C2B709
ΔE00 4.83
Muddy Yellow
#BFAC05
ΔE00 5.15
Snot
#ACBB0D
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1AE31 #3134B1
analogous
#B16E31 #B1AE31 #74B131
triadic
#B1AE31 #31B1AE #AE31B1
tetradic
#B1AE31 #31B16E #3134B1 #B13174
square
#B1AE31 #31B16E #3134B1 #B13174
split-complementary
#B1AE31 #3174B1 #6E31B1
monochromatic
#515016 #817F24 #B1AE31 #CFCC51 #DCDA80
Accessibility & contrast
On white
2.34
#B1AE31 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.97
#B1AE31 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B1AE31
8.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1AE31 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B1AE31 | 1.00 | 2.34 | 8.97 | 8.97 |
| #FFFFFF | 2.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA71A
Deuteranopia (green-blind)
#BFAB3A
Tritanopia (blue-blind)
#BEA396
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #b1ae31; /* rgb */ color: rgb(177, 174, 49); /* oklch */ color: oklch(73.1% 0.141 108.0);
Tailwind
colors: {
custom: {
50: '#ccc572',
500: '#b1ae31',
950: '#000000',
},
}SCSS
$custom: #b1ae31; $custom-light: #ccc572; $custom-dark: #000000;
JSON
{
"hex": "#b1ae31",
"rgb": {
"r": 177,
"g": 174,
"b": 49
},
"hsl": {
"h": 58.594,
"s": 56.637,
"l": 44.314
},
"oklch": {
"l": 0.73117,
"c": 0.14103,
"h": 108
},
"luminance": 0.39841
}Semantic roles & 50–950 ramp
primary
#B1AE31
secondary
#797BC5
accent
#4BE048
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B