#B1AD27#B1AD27
#B1AD27 is a light, vivid yellow. Relative luminance 0.394; OKLCH L 72.8% C 0.146 H 107.7°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).
Color values
| HEX | #B1AD27 |
|---|---|
| RGB | rgb(177, 173, 39) |
| HSL | hsl(58, 64%, 42%) |
| HSV | hsv(58, 78%, 69%) |
| CMYK | cmyk(0%, 2.3%, 78%, 30.6%) |
| CIE-LAB | lab(69.03, -13.51, 63.68) |
| CIE-LCH | lch(69.03, 65.10, 101.98°) |
| OKLab | oklab(72.84% -0.0443 0.1387) |
| OKLCH | oklch(72.84% 0.146 107.7) |
| XYZ | xyz(33.4426, 39.3819, 7.7589) |
| Luminance | 0.3938 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 2.97
Vomit
#A2A415
ΔE00 3.35
Olive Yellow
#C2B709
ΔE00 4.36
Mustard Green
#A8B504
ΔE00 4.39
Muddy Yellow
#BFAC05
ΔE00 4.51
Puke Yellow
#C2BE0E
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1AD27 #272BB1
analogous
#B16827 #B1AD27 #70B127
triadic
#B1AD27 #27B1AD #AD27B1
tetradic
#B1AD27 #27B168 #272BB1 #B12770
square
#B1AD27 #27B168 #272BB1 #B12770
split-complementary
#B1AD27 #2770B1 #6827B1
monochromatic
#4D4B11 #7F7C1C #B1AD27 #D5D140 #E0DD72
Accessibility & contrast
On white
2.37
#B1AD27 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.88
#B1AD27 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B1AD27
8.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1AD27 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B1AD27 | 1.00 | 2.37 | 8.88 | 8.88 |
| #FFFFFF | 2.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA600
Deuteranopia (green-blind)
#BEAB32
Tritanopia (blue-blind)
#BEA194
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #b1ad27; /* rgb */ color: rgb(177, 173, 39); /* oklch */ color: oklch(72.8% 0.146 107.7);
Tailwind
colors: {
custom: {
50: '#ccc56d',
500: '#b1ad27',
950: '#000000',
},
}SCSS
$custom: #b1ad27; $custom-light: #ccc56d; $custom-dark: #000000;
JSON
{
"hex": "#b1ad27",
"rgb": {
"r": 177,
"g": 173,
"b": 39
},
"hsl": {
"h": 58.261,
"s": 63.889,
"l": 42.353
},
"oklch": {
"l": 0.72836,
"c": 0.14558,
"h": 107.7
},
"luminance": 0.39381
}Semantic roles & 50–950 ramp
primary
#B1AD27
secondary
#6D6FC7
accent
#46E741
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141208
muted
#83817B