#B1B727#B1B727
#B1B727 is a light, vivid yellow. Relative luminance 0.434; OKLCH L 75.1% C 0.155 H 112.1°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).
Color values
| HEX | #B1B727 |
|---|---|
| RGB | rgb(177, 183, 39) |
| HSL | hsl(63, 65%, 44%) |
| HSV | hsv(63, 79%, 72%) |
| CMYK | cmyk(3.3%, 0%, 78.7%, 28.2%) |
| CIE-LAB | lab(71.80, -18.59, 66.16) |
| CIE-LCH | lch(71.80, 68.73, 105.70°) |
| OKLab | oklab(75.05% -0.0585 0.144) |
| OKLCH | oklch(75.05% 0.155 112.1) |
| XYZ | xyz(35.4324, 43.3615, 8.4222) |
| Luminance | 0.4336 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.07
Snot
#ACBB0D
ΔE00 2.29
Bile
#B5C306
ΔE00 3.71
Baby Puke Green
#B6C406
ΔE00 3.94
Puke Yellow
#C2BE0E
ΔE00 4.07
Puke Green
#9AAE07
ΔE00 4.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1B727 #2D27B7
analogous
#B77527 #B1B727 #69B727
triadic
#B1B727 #27B1B7 #B727B1
tetradic
#B1B727 #27B775 #2D27B7 #B72769
square
#B1B727 #27B775 #2D27B7 #B72769
split-complementary
#B1B727 #2769B7 #7527B7
monochromatic
#4F5211 #80851C #B1B727 #D1D744 #DDE276
Accessibility & contrast
On white
2.17
#B1B727 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.67
#B1B727 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B1B727
9.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1B727 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B1B727 | 1.00 | 2.17 | 9.67 | 9.67 |
| #FFFFFF | 2.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5AE00
Deuteranopia (green-blind)
#C6B234
Tritanopia (blue-blind)
#BEAB9D
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #b1b727; /* rgb */ color: rgb(177, 183, 39); /* oklch */ color: oklch(75.1% 0.155 112.1);
Tailwind
colors: {
custom: {
50: '#cccc6e',
500: '#b1b727',
950: '#000000',
},
}SCSS
$custom: #b1b727; $custom-light: #cccc6e; $custom-dark: #000000;
JSON
{
"hex": "#b1b727",
"rgb": {
"r": 177,
"g": 183,
"b": 39
},
"hsl": {
"h": 62.5,
"s": 64.865,
"l": 43.529
},
"oklch": {
"l": 0.75053,
"c": 0.1554,
"h": 112.1
},
"luminance": 0.43361
}Semantic roles & 50–950 ramp
primary
#B1B727
secondary
#7470C9
accent
#40E847
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B