#B9D540#B9D540

#B9D540 is a very light, vivid yellow-green. Relative luminance 0.583; OKLCH L 82.5% C 0.172 H 119.6°. Best body text is #000000 at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#B9D540
RGBrgb(185, 213, 64)
HSLhsl(71, 64%, 54%)
HSVhsv(71, 70%, 84%)
CMYKcmyk(13.1%, 0%, 70%, 16.5%)
CIE-LABlab(80.89, -28.72, 66.73)
CIE-LCHlch(80.89, 72.65, 113.29°)
OKLaboklab(82.54% -0.0848 0.1492)
OKLCHoklch(82.54% 0.172 119.6)
XYZxyz(44.7281, 58.2732, 13.7410)
Luminance0.5827 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9D540 #5C40D5
analogous
#D5A640 #B9D540 #6FD540
triadic
#B9D540 #40B9D5 #D540B9
tetradic
#B9D540 #40D5A6 #5C40D5 #D5406F
square
#B9D540 #40D5A6 #5C40D5 #D5406F
split-complementary
#B9D540 #406FD5 #A640D5
monochromatic
#6C7F1C #97B127 #B9D540 #CBE072 #DEEBA4

Accessibility & contrast

On white

1.66
#B9D540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.65
#B9D540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9D540
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9D540#FFFFFF#000000##000000
##B9D5401.001.6612.6512.65
#FFFFFF1.661.0021.0021.00
#00000012.6521.001.001.00
##00000012.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C927
Deuteranopia (green-blind)
#DFC94C
Tritanopia (blue-blind)
#C4CAB8
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #b9d540;
/* rgb */ color: rgb(185, 213, 64);
/* oklch */ color: oklch(82.5% 0.172 119.6);
Tailwind
colors: {
  custom: {
    50: '#d1e17e',
    500: '#b9d540',
    950: '#000000',
  },
}
SCSS
$custom: #b9d540;
$custom-light: #d1e17e;
$custom-dark: #000000;
JSON
{
  "hex": "#b9d540",
  "rgb": {
    "r": 185,
    "g": 213,
    "b": 64
  },
  "hsl": {
    "h": 71.275,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.82544,
    "c": 0.17161,
    "h": 119.6
  },
  "luminance": 0.58273
}

Semantic roles & 50–950 ramp

primary
#B9D540
secondary
#433386
accent
#41E760
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B9D540

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

Preview Lab → · Contrast checker → · Palette generator →

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