#B1B72E#B1B72E
#B1B72E is a light, vivid yellow. Relative luminance 0.434; OKLCH L 75.1% C 0.152 H 112.1°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).
Color values
| HEX | #B1B72E |
|---|---|
| RGB | rgb(177, 183, 46) |
| HSL | hsl(63, 60%, 45%) |
| HSV | hsv(63, 75%, 72%) |
| CMYK | cmyk(3.3%, 0%, 74.9%, 28.2%) |
| CIE-LAB | lab(71.83, -18.31, 64.03) |
| CIE-LCH | lch(71.83, 66.59, 105.96°) |
| OKLab | oklab(75.09% -0.0571 0.1407) |
| OKLCH | oklch(75.09% 0.152 112.1) |
| XYZ | xyz(35.5593, 43.4122, 9.0905) |
| Luminance | 0.4341 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.40
Snot
#ACBB0D
ΔE00 2.59
Bile
#B5C306
ΔE00 4.00
Baby Puke Green
#B6C406
ΔE00 4.22
Puke Yellow
#C2BE0E
ΔE00 4.40
Puke Green
#9AAE07
ΔE00 4.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1B72E #342EB7
analogous
#B7792E #B1B72E #6CB72E
triadic
#B1B72E #2EB1B7 #B72EB1
tetradic
#B1B72E #2EB779 #342EB7 #B72E6C
square
#B1B72E #2EB779 #342EB7 #B72E6C
split-complementary
#B1B72E #2E6CB7 #792EB7
monochromatic
#525515 #828622 #B1B72E #CDD34F #DBDF80
Accessibility & contrast
On white
2.17
#B1B72E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.68
#B1B72E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B1B72E
9.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1B72E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B1B72E | 1.00 | 2.17 | 9.68 | 9.68 |
| #FFFFFF | 2.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5AE0E
Deuteranopia (green-blind)
#C6B239
Tritanopia (blue-blind)
#BDAC9D
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #b1b72e; /* rgb */ color: rgb(177, 183, 46); /* oklch */ color: oklch(75.1% 0.152 112.1);
Tailwind
colors: {
custom: {
50: '#cccc72',
500: '#b1b72e',
950: '#000000',
},
}SCSS
$custom: #b1b72e; $custom-light: #cccc72; $custom-dark: #000000;
JSON
{
"hex": "#b1b72e",
"rgb": {
"r": 177,
"g": 183,
"b": 46
},
"hsl": {
"h": 62.628,
"s": 59.825,
"l": 44.902
},
"oklch": {
"l": 0.75091,
"c": 0.15184,
"h": 112.1
},
"luminance": 0.43411
}Semantic roles & 50–950 ramp
primary
#B1B72E
secondary
#7C79C8
accent
#45E34C
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B