#B5BE31#B5BE31
#B5BE31 is a light, vivid yellow. Relative luminance 0.469; OKLCH L 77.0% C 0.156 H 113.2°. Best body text is #000000 at 10.37:1 contrast (WCAG AA passes).
Color values
| HEX | #B5BE31 |
|---|---|
| RGB | rgb(181, 190, 49) |
| HSL | hsl(64, 59%, 47%) |
| HSV | hsv(64, 74%, 75%) |
| CMYK | cmyk(4.7%, 0%, 74.2%, 25.5%) |
| CIE-LAB | lab(74.11, -19.98, 65.28) |
| CIE-LCH | lch(74.11, 68.26, 107.01°) |
| OKLab | oklab(77% -0.0617 0.1437) |
| OKLCH | oklch(77% 0.156 113.2) |
| XYZ | xyz(38.0251, 46.8732, 9.9495) |
| Luminance | 0.4687 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 2.24
Bile
#B5C306
ΔE00 2.64
Baby Puke Green
#B6C406
ΔE00 2.80
Mustard Green
#A8B504
ΔE00 3.17
Pea
#A4BF20
ΔE00 3.78
Puke Yellow
#C2BE0E
ΔE00 4.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5BE31 #3A31BE
analogous
#BE8131 #B5BE31 #6FBE31
triadic
#B5BE31 #31B5BE #BE31B5
tetradic
#B5BE31 #31BE81 #3A31BE #BE316F
square
#B5BE31 #31BE81 #3A31BE #BE316F
split-complementary
#B5BE31 #316FBE #8131BE
monochromatic
#585D18 #878D24 #B5BE31 #CCD458 #DBE189
Accessibility & contrast
On white
2.02
#B5BE31 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.37
#B5BE31 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5BE31
10.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5BE31 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5BE31 | 1.00 | 2.02 | 10.37 | 10.37 |
| #FFFFFF | 2.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CCB511
Deuteranopia (green-blind)
#CCB83D
Tritanopia (blue-blind)
#C1B2A3
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #b5be31; /* rgb */ color: rgb(181, 190, 49); /* oklch */ color: oklch(77.0% 0.156 113.2);
Tailwind
colors: {
custom: {
50: '#cfd174',
500: '#b5be31',
950: '#000000',
},
}SCSS
$custom: #b5be31; $custom-light: #cfd174; $custom-dark: #000000;
JSON
{
"hex": "#b5be31",
"rgb": {
"r": 181,
"g": 190,
"b": 49
},
"hsl": {
"h": 63.83,
"s": 58.996,
"l": 46.863
},
"oklch": {
"l": 0.76995,
"c": 0.15641,
"h": 113.2
},
"luminance": 0.46872
}Semantic roles & 50–950 ramp
primary
#B5BE31
secondary
#8580CA
accent
#46E250
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B