#B5BE21#B5BE21
#B5BE21 is a light, vivid yellow. Relative luminance 0.468; OKLCH L 76.9% C 0.164 H 113.2°. Best body text is #000000 at 10.35:1 contrast (WCAG AA passes).
Color values
| HEX | #B5BE21 |
|---|---|
| RGB | rgb(181, 190, 33) |
| HSL | hsl(63, 70%, 44%) |
| HSV | hsv(63, 83%, 75%) |
| CMYK | cmyk(4.7%, 0%, 82.6%, 25.5%) |
| CIE-LAB | lab(74.04, -20.57, 69.84) |
| CIE-LCH | lch(74.04, 72.81, 106.41°) |
| OKLab | oklab(76.92% -0.0645 0.1507) |
| OKLCH | oklch(76.92% 0.164 113.2) |
| XYZ | xyz(37.7453, 46.7613, 8.4761) |
| Luminance | 0.4676 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 1.72
Bile
#B5C306
ΔE00 1.81
Baby Puke Green
#B6C406
ΔE00 2.00
Mustard Green
#A8B504
ΔE00 2.81
Puke Yellow
#C2BE0E
ΔE00 3.47
Pea
#A4BF20
ΔE00 3.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5BE21 #2A21BE
analogous
#BE7821 #B5BE21 #67BE21
triadic
#B5BE21 #21B5BE #BE21B5
tetradic
#B5BE21 #21BE78 #2A21BE #BE2167
square
#B5BE21 #21BE78 #2A21BE #BE2167
split-complementary
#B5BE21 #2167BE #7821BE
monochromatic
#52560F #838A18 #B5BE21 #D4DE3F #E0E773
Accessibility & contrast
On white
2.03
#B5BE21 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.35
#B5BE21 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5BE21
10.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5BE21 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5BE21 | 1.00 | 2.03 | 10.35 | 10.35 |
| #FFFFFF | 2.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CDB500
Deuteranopia (green-blind)
#CDB832
Tritanopia (blue-blind)
#C2B2A2
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #b5be21; /* rgb */ color: rgb(181, 190, 33); /* oklch */ color: oklch(76.9% 0.164 113.2);
Tailwind
colors: {
custom: {
50: '#cfd16d',
500: '#b5be21',
950: '#000000',
},
}SCSS
$custom: #b5be21; $custom-light: #cfd16d; $custom-dark: #000000;
JSON
{
"hex": "#b5be21",
"rgb": {
"r": 181,
"g": 190,
"b": 33
},
"hsl": {
"h": 63.439,
"s": 70.404,
"l": 43.725
},
"oklch": {
"l": 0.76915,
"c": 0.16392,
"h": 113.2
},
"luminance": 0.4676
}Semantic roles & 50–950 ramp
primary
#B5BE21
secondary
#736DCD
accent
#3BED45
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141408
muted
#83827B