#B5BE2A#B5BE2A
#B5BE2A is a light, vivid yellow. Relative luminance 0.468; OKLCH L 77.0% C 0.160 H 113.2°. Best body text is #000000 at 10.36:1 contrast (WCAG AA passes).
Color values
| HEX | #B5BE2A |
|---|---|
| RGB | rgb(181, 190, 42) |
| HSL | hsl(64, 64%, 45%) |
| HSV | hsv(64, 78%, 75%) |
| CMYK | cmyk(4.7%, 0%, 77.9%, 25.5%) |
| CIE-LAB | lab(74.07, -20.27, 67.44) |
| CIE-LCH | lch(74.07, 70.42, 106.73°) |
| OKLab | oklab(76.96% -0.0631 0.1471) |
| OKLCH | oklch(76.96% 0.16 113.2) |
| XYZ | xyz(37.8887, 46.8187, 9.2311) |
| Luminance | 0.4682 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 1.92
Bile
#B5C306
ΔE00 2.20
Baby Puke Green
#B6C406
ΔE00 2.38
Mustard Green
#A8B504
ΔE00 2.94
Puke Yellow
#C2BE0E
ΔE00 3.80
Pea
#A4BF20
ΔE00 3.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5BE2A #332ABE
analogous
#BE7D2A #B5BE2A #6BBE2A
triadic
#B5BE2A #2AB5BE #BE2AB5
tetradic
#B5BE2A #2ABE7D #332ABE #BE2A6B
square
#B5BE2A #2ABE7D #332ABE #BE2A6B
split-complementary
#B5BE2A #2A6BBE #7D2ABE
monochromatic
#565A14 #858C1F #B5BE2A #CFD84D #DDE380
Accessibility & contrast
On white
2.03
#B5BE2A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.36
#B5BE2A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5BE2A
10.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5BE2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5BE2A | 1.00 | 2.03 | 10.36 | 10.36 |
| #FFFFFF | 2.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CDB500
Deuteranopia (green-blind)
#CDB838
Tritanopia (blue-blind)
#C2B2A3
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #b5be2a; /* rgb */ color: rgb(181, 190, 42); /* oklch */ color: oklch(77.0% 0.160 113.2);
Tailwind
colors: {
custom: {
50: '#cfd171',
500: '#b5be2a',
950: '#000000',
},
}SCSS
$custom: #b5be2a; $custom-light: #cfd171; $custom-dark: #000000;
JSON
{
"hex": "#b5be2a",
"rgb": {
"r": 181,
"g": 190,
"b": 42
},
"hsl": {
"h": 63.649,
"s": 63.793,
"l": 45.49
},
"oklch": {
"l": 0.76956,
"c": 0.16004,
"h": 113.2
},
"luminance": 0.46818
}Semantic roles & 50–950 ramp
primary
#B5BE2A
secondary
#7D78CB
accent
#41E74B
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141408
muted
#83827B