#B7BE31#B7BE31
#B7BE31 is a light, vivid yellow. Relative luminance 0.471; OKLCH L 77.2% C 0.156 H 112.4°. Best body text is #000000 at 10.42:1 contrast (WCAG AA passes).
Color values
| HEX | #B7BE31 |
|---|---|
| RGB | rgb(183, 190, 49) |
| HSL | hsl(63, 59%, 47%) |
| HSV | hsv(63, 74%, 75%) |
| CMYK | cmyk(3.7%, 0%, 74.2%, 25.5%) |
| CIE-LAB | lab(74.26, -19.13, 65.48) |
| CIE-LCH | lch(74.26, 68.22, 106.28°) |
| OKLab | oklab(77.16% -0.0594 0.1441) |
| OKLCH | oklch(77.16% 0.156 112.4) |
| XYZ | xyz(38.4975, 47.1169, 9.9716) |
| Luminance | 0.4712 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 2.49
Bile
#B5C306
ΔE00 2.70
Baby Puke Green
#B6C406
ΔE00 2.85
Mustard Green
#A8B504
ΔE00 3.34
Puke Yellow
#C2BE0E
ΔE00 3.72
Pea
#A4BF20
ΔE00 4.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7BE31 #3831BE
analogous
#BE7F31 #B7BE31 #70BE31
triadic
#B7BE31 #31B7BE #BE31B7
tetradic
#B7BE31 #31BE7F #3831BE #BE3170
square
#B7BE31 #31BE7F #3831BE #BE3170
split-complementary
#B7BE31 #3170BE #7F31BE
monochromatic
#595D18 #888D24 #B7BE31 #CED458 #DCE189
Accessibility & contrast
On white
2.01
#B7BE31 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.42
#B7BE31 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7BE31
10.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7BE31 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7BE31 | 1.00 | 2.01 | 10.42 | 10.42 |
| #FFFFFF | 2.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CDB511
Deuteranopia (green-blind)
#CDB83D
Tritanopia (blue-blind)
#C4B2A3
Achromatopsia (no color)
#B7B7B7
Design tokens & code
CSS
--color: #b7be31; /* rgb */ color: rgb(183, 190, 49); /* oklch */ color: oklch(77.2% 0.156 112.4);
Tailwind
colors: {
custom: {
50: '#d0d174',
500: '#b7be31',
950: '#000000',
},
}SCSS
$custom: #b7be31; $custom-light: #d0d174; $custom-dark: #000000;
JSON
{
"hex": "#b7be31",
"rgb": {
"r": 183,
"g": 190,
"b": 49
},
"hsl": {
"h": 62.979,
"s": 58.996,
"l": 46.863
},
"oklch": {
"l": 0.77158,
"c": 0.15587,
"h": 112.4
},
"luminance": 0.47116
}Semantic roles & 50–950 ramp
primary
#B7BE31
secondary
#8480CA
accent
#46E24D
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B