#B5D840#B5D840

#B5D840 is a very light, vivid yellow-green. Relative luminance 0.593; OKLCH L 82.9% C 0.177 H 121.7°. Best body text is #000000 at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#B5D840
RGBrgb(181, 216, 64)
HSLhsl(74, 66%, 55%)
HSVhsv(74, 70%, 85%)
CMYKcmyk(16.2%, 0%, 70.4%, 15.3%)
CIE-LABlab(81.46, -31.72, 67.21)
CIE-LCHlch(81.46, 74.32, 115.27°)
OKLaboklab(82.93% -0.0929 0.1503)
OKLCHoklch(82.93% 0.177 121.7)
XYZxyz(44.5380, 59.3056, 13.9503)
Luminance0.5931 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5D840 #6340D8
analogous
#D8AF40 #B5D840 #69D840
triadic
#B5D840 #40B5D8 #D840B5
tetradic
#B5D840 #40D8AF #6340D8 #D84069
square
#B5D840 #40D8AF #6340D8 #D84069
split-complementary
#B5D840 #4069D8 #AF40D8
monochromatic
#6B831B #94B625 #B5D840 #C9E273 #DCEDA6

Accessibility & contrast

On white

1.63
#B5D840 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.86
#B5D840 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5D840
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5D840#FFFFFF#000000##000000
##B5D8401.001.6312.8612.86
#FFFFFF1.631.0021.0021.00
#00000012.8621.001.001.00
##00000012.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CB26
Deuteranopia (green-blind)
#E0CA4D
Tritanopia (blue-blind)
#BFCDBA
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #b5d840;
/* rgb */ color: rgb(181, 216, 64);
/* oklch */ color: oklch(82.9% 0.177 121.7);
Tailwind
colors: {
  custom: {
    50: '#cfe47e',
    500: '#b5d840',
    950: '#000000',
  },
}
SCSS
$custom: #b5d840;
$custom-light: #cfe47e;
$custom-dark: #000000;
JSON
{
  "hex": "#b5d840",
  "rgb": {
    "r": 181,
    "g": 216,
    "b": 64
  },
  "hsl": {
    "h": 73.816,
    "s": 66.087,
    "l": 54.902
  },
  "oklch": {
    "l": 0.82934,
    "c": 0.17668,
    "h": 121.7
  },
  "luminance": 0.59306
}

Semantic roles & 50–950 ramp

primary
#B5D840
secondary
#47338A
accent
#3FE966
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #B5D840

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#B5D840 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva