#B5C837#B5C837
#B5C837 is a light, vivid yellow. Relative luminance 0.514; OKLCH L 79.3% C 0.164 H 116.9°. Best body text is #000000 at 11.28:1 contrast (WCAG AA passes).
Color values
| HEX | #B5C837 |
|---|---|
| RGB | rgb(181, 200, 55) |
| HSL | hsl(68, 57%, 50%) |
| HSV | hsv(68, 73%, 78%) |
| CMYK | cmyk(9.5%, 0%, 72.5%, 21.6%) |
| CIE-LAB | lab(76.93, -24.60, 65.93) |
| CIE-LCH | lch(76.93, 70.37, 110.46°) |
| OKLab | oklab(79.27% -0.074 0.1461) |
| OKLCH | oklch(79.27% 0.164 116.9) |
| XYZ | xyz(40.4009, 51.4087, 11.4082) |
| Luminance | 0.5141 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 2.96
Baby Puke Green
#B6C406
ΔE00 3.01
Bile
#B5C306
ΔE00 3.04
Pea
#A4BF20
ΔE00 3.20
Gross Green
#A0BF16
ΔE00 3.80
Snot
#ACBB0D
ΔE00 3.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5C837 #4A37C8
analogous
#C89237 #B5C837 #6DC837
triadic
#B5C837 #37B5C8 #C837B5
tetradic
#B5C837 #37C892 #4A37C8 #C8376D
square
#B5C837 #37C892 #4A37C8 #C8376D
split-complementary
#B5C837 #376DC8 #9237C8
monochromatic
#5E681D #8A982A #B5C837 #C7D567 #D9E297
Accessibility & contrast
On white
1.86
#B5C837 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.28
#B5C837 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5C837
11.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5C837 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5C837 | 1.00 | 1.86 | 11.28 | 11.28 |
| #FFFFFF | 1.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D6BD1A
Deuteranopia (green-blind)
#D4BF43
Tritanopia (blue-blind)
#C0BDAC
Achromatopsia (no color)
#BEBEBE
Design tokens & code
CSS
--color: #b5c837; /* rgb */ color: rgb(181, 200, 55); /* oklch */ color: oklch(79.3% 0.164 116.9);
Tailwind
colors: {
custom: {
50: '#cfd878',
500: '#b5c837',
950: '#000000',
},
}SCSS
$custom: #b5c837; $custom-light: #cfd878; $custom-dark: #000000;
JSON
{
"hex": "#b5c837",
"rgb": {
"r": 181,
"g": 200,
"b": 55
},
"hsl": {
"h": 67.862,
"s": 56.863,
"l": 50
},
"oklch": {
"l": 0.79266,
"c": 0.1638,
"h": 116.9
},
"luminance": 0.51408
}Semantic roles & 50–950 ramp
primary
#B5C837
secondary
#3A3172
accent
#48E05C
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#14140A
muted
#83837D