#B1BE31#B1BE31
#B1BE31 is a light, vivid yellow. Relative luminance 0.464; OKLCH L 76.7% C 0.158 H 114.8°. Best body text is #000000 at 10.28:1 contrast (WCAG AA passes).
Color values
| HEX | #B1BE31 |
|---|---|
| RGB | rgb(177, 190, 49) |
| HSL | hsl(66, 59%, 47%) |
| HSV | hsv(66, 74%, 75%) |
| CMYK | cmyk(6.8%, 0%, 74.2%, 25.5%) |
| CIE-LAB | lab(73.80, -21.67, 64.88) |
| CIE-LCH | lch(73.80, 68.40, 108.47°) |
| OKLab | oklab(76.67% -0.0662 0.143) |
| OKLCH | oklch(76.67% 0.158 114.8) |
| XYZ | xyz(37.1004, 46.3964, 9.9061) |
| Luminance | 0.4640 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 2.02
Bile
#B5C306
ΔE00 2.79
Pea
#A4BF20
ΔE00 2.89
Baby Puke Green
#B6C406
ΔE00 2.96
Mustard Green
#A8B504
ΔE00 3.04
Gross Green
#A0BF16
ΔE00 3.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1BE31 #3E31BE
analogous
#BE8531 #B1BE31 #6BBE31
triadic
#B1BE31 #31B1BE #BE31B1
tetradic
#B1BE31 #31BE85 #3E31BE #BE316B
square
#B1BE31 #31BE85 #3E31BE #BE316B
split-complementary
#B1BE31 #316BBE #8531BE
monochromatic
#565D18 #848D24 #B1BE31 #C9D458 #D8E189
Accessibility & contrast
On white
2.04
#B1BE31 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.28
#B1BE31 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B1BE31
10.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1BE31 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B1BE31 | 1.00 | 2.04 | 10.28 | 10.28 |
| #FFFFFF | 2.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CCB412
Deuteranopia (green-blind)
#CBB73D
Tritanopia (blue-blind)
#BDB3A3
Achromatopsia (no color)
#B5B5B5
Design tokens & code
CSS
--color: #b1be31; /* rgb */ color: rgb(177, 190, 49); /* oklch */ color: oklch(76.7% 0.158 114.8);
Tailwind
colors: {
custom: {
50: '#ccd174',
500: '#b1be31',
950: '#000000',
},
}SCSS
$custom: #b1be31; $custom-light: #ccd174; $custom-dark: #000000;
JSON
{
"hex": "#b1be31",
"rgb": {
"r": 177,
"g": 190,
"b": 49
},
"hsl": {
"h": 65.532,
"s": 58.996,
"l": 46.863
},
"oklch": {
"l": 0.76673,
"c": 0.15759,
"h": 114.8
},
"luminance": 0.46396
}Semantic roles & 50–950 ramp
primary
#B1BE31
secondary
#8780CA
accent
#46E254
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B