#B5D940#B5D940

#B5D940 is a very light, vivid yellow-green. Relative luminance 0.598; OKLCH L 83.2% C 0.178 H 122.0°. Best body text is #000000 at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#B5D940
RGBrgb(181, 217, 64)
HSLhsl(74, 67%, 55%)
HSVhsv(74, 71%, 85%)
CMYKcmyk(16.6%, 0%, 70.5%, 14.9%)
CIE-LABlab(81.74, -32.19, 67.49)
CIE-LCHlch(81.74, 74.77, 115.50°)
OKLaboklab(83.16% -0.0942 0.1509)
OKLCHoklch(83.16% 0.178 122)
XYZxyz(44.7950, 59.8196, 14.0359)
Luminance0.5982 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5D940 #6440D9
analogous
#D9B140 #B5D940 #68D940
triadic
#B5D940 #40B5D9 #D940B5
tetradic
#B5D940 #40D9B1 #6440D9 #D94068
square
#B5D940 #40D9B1 #6440D9 #D94068
split-complementary
#B5D940 #4068D9 #B140D9
monochromatic
#6B841A #95B724 #B5D940 #C9E373 #DDEDA6

Accessibility & contrast

On white

1.62
#B5D940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.96
#B5D940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5D940
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5D940#FFFFFF#000000##000000
##B5D9401.001.6212.9612.96
#FFFFFF1.621.0021.0021.00
#00000012.9621.001.001.00
##00000012.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CC25
Deuteranopia (green-blind)
#E1CB4D
Tritanopia (blue-blind)
#BECEBB
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #b5d940;
/* rgb */ color: rgb(181, 217, 64);
/* oklch */ color: oklch(83.2% 0.178 122.0);
Tailwind
colors: {
  custom: {
    50: '#cfe47e',
    500: '#b5d940',
    950: '#000000',
  },
}
SCSS
$custom: #b5d940;
$custom-light: #cfe47e;
$custom-dark: #000000;
JSON
{
  "hex": "#b5d940",
  "rgb": {
    "r": 181,
    "g": 217,
    "b": 64
  },
  "hsl": {
    "h": 74.118,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.8316,
    "c": 0.17784,
    "h": 122
  },
  "luminance": 0.5982
}

Semantic roles & 50–950 ramp

primary
#B5D940
secondary
#47328B
accent
#3EEA66
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #B5D940

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

Preview Lab → · Contrast checker → · Palette generator →

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