#B5D340#B5D340

#B5D340 is a light, vivid yellow-green. Relative luminance 0.568; OKLCH L 81.8% C 0.171 H 120.4°. Best body text is #000000 at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#B5D340
RGBrgb(181, 211, 64)
HSLhsl(72, 63%, 54%)
HSVhsv(72, 70%, 83%)
CMYKcmyk(14.2%, 0%, 69.7%, 17.3%)
CIE-LABlab(80.06, -29.38, 65.81)
CIE-LCHlch(80.06, 72.07, 114.06°)
OKLaboklab(81.8% -0.0864 0.1474)
OKLCHoklch(81.8% 0.171 120.4)
XYZxyz(43.2765, 56.7826, 13.5298)
Luminance0.5678 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5D340 #5E40D3
analogous
#D3A840 #B5D340 #6CD340
triadic
#B5D340 #40B5D3 #D340B5
tetradic
#B5D340 #40D3A8 #5E40D3 #D3406C
square
#B5D340 #40D3A8 #5E40D3 #D3406C
split-complementary
#B5D340 #406CD3 #A840D3
monochromatic
#697C1D #92AE28 #B5D340 #C8DE72 #DCEAA3

Accessibility & contrast

On white

1.70
#B5D340 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.36
#B5D340 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5D340
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5D340#FFFFFF#000000##000000
##B5D3401.001.7012.3612.36
#FFFFFF1.701.0021.0021.00
#00000012.3621.001.001.00
##00000012.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C728
Deuteranopia (green-blind)
#DCC74C
Tritanopia (blue-blind)
#BFC8B6
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #b5d340;
/* rgb */ color: rgb(181, 211, 64);
/* oklch */ color: oklch(81.8% 0.171 120.4);
Tailwind
colors: {
  custom: {
    50: '#cfe07e',
    500: '#b5d340',
    950: '#000000',
  },
}
SCSS
$custom: #b5d340;
$custom-light: #cfe07e;
$custom-dark: #000000;
JSON
{
  "hex": "#b5d340",
  "rgb": {
    "r": 181,
    "g": 211,
    "b": 64
  },
  "hsl": {
    "h": 72.245,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.81803,
    "c": 0.17083,
    "h": 120.4
  },
  "luminance": 0.56782
}

Semantic roles & 50–950 ramp

primary
#B5D340
secondary
#443384
accent
#42E664
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B5D340

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

Preview Lab → · Contrast checker → · Palette generator →

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