#B5C831#B5C831
#B5C831 is a light, vivid yellow. Relative luminance 0.514; OKLCH L 79.2% C 0.167 H 116.8°. Best body text is #000000 at 11.27:1 contrast (WCAG AA passes).
Color values
| HEX | #B5C831 |
|---|---|
| RGB | rgb(181, 200, 49) |
| HSL | hsl(68, 61%, 49%) |
| HSV | hsv(68, 76%, 78%) |
| CMYK | cmyk(9.5%, 0%, 75.5%, 21.6%) |
| CIE-LAB | lab(76.89, -24.88, 67.88) |
| CIE-LCH | lch(76.89, 72.29, 110.13°) |
| OKLab | oklab(79.23% -0.0753 0.1492) |
| OKLCH | oklch(79.23% 0.167 116.8) |
| XYZ | xyz(40.2657, 51.3546, 10.6964) |
| Luminance | 0.5135 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 2.56
Baby Puke Green
#B6C406
ΔE00 2.57
Bile
#B5C306
ΔE00 2.62
Pea
#A4BF20
ΔE00 3.17
Snot
#ACBB0D
ΔE00 3.63
Gross Green
#A0BF16
ΔE00 3.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5C831 #4431C8
analogous
#C89031 #B5C831 #6AC831
triadic
#B5C831 #31B5C8 #C831B5
tetradic
#B5C831 #31C890 #4431C8 #C8316A
square
#B5C831 #31C890 #4431C8 #C8316A
split-complementary
#B5C831 #316AC8 #9031C8
monochromatic
#5C6619 #899725 #B5C831 #C8D85F #D9E490
Accessibility & contrast
On white
1.86
#B5C831 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.27
#B5C831 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5C831
11.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5C831 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5C831 | 1.00 | 1.86 | 11.27 | 11.27 |
| #FFFFFF | 1.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D6BD09
Deuteranopia (green-blind)
#D4BF3F
Tritanopia (blue-blind)
#C1BDAC
Achromatopsia (no color)
#BEBEBE
Design tokens & code
CSS
--color: #b5c831; /* rgb */ color: rgb(181, 200, 49); /* oklch */ color: oklch(79.2% 0.167 116.8);
Tailwind
colors: {
custom: {
50: '#cfd875',
500: '#b5c831',
950: '#000000',
},
}SCSS
$custom: #b5c831; $custom-light: #cfd875; $custom-dark: #000000;
JSON
{
"hex": "#b5c831",
"rgb": {
"r": 181,
"g": 200,
"b": 49
},
"hsl": {
"h": 67.55,
"s": 60.643,
"l": 48.824
},
"oklch": {
"l": 0.7923,
"c": 0.16715,
"h": 116.8
},
"luminance": 0.51354
}Semantic roles & 50–950 ramp
primary
#B5C831
secondary
#362D70
accent
#44E458
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D