#B5C240#B5C240
#B5C240 is a light, vivid yellow. Relative luminance 0.488; OKLCH L 78.0% C 0.151 H 114.9°. Best body text is #000000 at 10.76:1 contrast (WCAG AA passes).
Color values
| HEX | #B5C240 |
|---|---|
| RGB | rgb(181, 194, 64) |
| HSL | hsl(66, 52%, 51%) |
| HSV | hsv(66, 67%, 76%) |
| CMYK | cmyk(6.7%, 0%, 67%, 23.9%) |
| CIE-LAB | lab(75.31, -21.18, 61.03) |
| CIE-LCH | lch(75.31, 64.60, 109.14°) |
| OKLab | oklab(77.99% -0.0636 0.1373) |
| OKLCH | oklch(77.99% 0.151 114.9) |
| XYZ | xyz(39.2743, 48.7782, 12.1957) |
| Luminance | 0.4878 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 3.48
Pea
#A4BF20
ΔE00 3.51
Bile
#B5C306
ΔE00 3.57
Baby Puke Green
#B6C406
ΔE00 3.65
Gross Green
#A0BF16
ΔE00 4.28
Sick Green
#9DB92C
ΔE00 4.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5C240 #4D40C2
analogous
#C28E40 #B5C240 #74C240
triadic
#B5C240 #40B5C2 #C240B5
tetradic
#B5C240 #40C28E #4D40C2 #C24074
square
#B5C240 #40C28E #4D40C2 #C24074
split-complementary
#B5C240 #4074C2 #8E40C2
monochromatic
#606721 #8B9530 #B5C240 #C7D16E #D9E09D
Accessibility & contrast
On white
1.95
#B5C240 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.76
#B5C240 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5C240
10.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5C240 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5C240 | 1.00 | 1.95 | 10.76 | 10.76 |
| #FFFFFF | 1.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D0B82D
Deuteranopia (green-blind)
#CFBB49
Tritanopia (blue-blind)
#C0B7A8
Achromatopsia (no color)
#B9B9B9
Design tokens & code
CSS
--color: #b5c240; /* rgb */ color: rgb(181, 194, 64); /* oklch */ color: oklch(78.0% 0.151 114.9);
Tailwind
colors: {
custom: {
50: '#ced47c',
500: '#b5c240',
950: '#000000',
},
}SCSS
$custom: #b5c240; $custom-light: #ced47c; $custom-dark: #000000;
JSON
{
"hex": "#b5c240",
"rgb": {
"r": 181,
"g": 194,
"b": 64
},
"hsl": {
"h": 66,
"s": 51.587,
"l": 50.588
},
"oklch": {
"l": 0.7799,
"c": 0.15132,
"h": 114.9
},
"luminance": 0.48777
}Semantic roles & 50–950 ramp
primary
#B5C240
secondary
#9892CC
accent
#4DDB5B
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14140A
muted
#83827C