#B7DF5B#B7DF5B

#B7DF5B is a very light, vivid yellow-green. Relative luminance 0.636; OKLCH L 84.9% C 0.165 H 124.1°. Best body text is #000000 at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#B7DF5B
RGBrgb(183, 223, 91)
HSLhsl(78, 67%, 62%)
HSVhsv(78, 59%, 87%)
CMYKcmyk(17.9%, 0%, 59.2%, 12.5%)
CIE-LABlab(83.76, -32.35, 58.97)
CIE-LCHlch(83.76, 67.26, 118.75°)
OKLaboklab(84.89% -0.0923 0.1365)
OKLCHoklch(84.89% 0.165 124.1)
XYZxyz(47.8047, 63.5976, 19.6526)
Luminance0.6360 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7DF5B #835BDF
analogous
#DFC55B #B7DF5B #75DF5B
triadic
#B7DF5B #5BB7DF #DF5BB7
tetradic
#B7DF5B #5BDFC5 #835BDF #DF5B75
square
#B7DF5B #5BDFC5 #835BDF #DF5B75
split-complementary
#B7DF5B #5B75DF #C55BDF
monochromatic
#79A01F #A0D429 #B7DF5B #CDE98E #E4F3C1

Accessibility & contrast

On white

1.53
#B7DF5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.72
#B7DF5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7DF5B
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7DF5B#FFFFFF#000000##000000
##B7DF5B1.001.5313.7213.72
#FFFFFF1.531.0021.0021.00
#00000013.7221.001.001.00
##00000013.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD24C
Deuteranopia (green-blind)
#E5D064
Tritanopia (blue-blind)
#BFD5C3
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #b7df5b;
/* rgb */ color: rgb(183, 223, 91);
/* oklch */ color: oklch(84.9% 0.165 124.1);
Tailwind
colors: {
  custom: {
    50: '#cfe98e',
    500: '#b7df5b',
    950: '#000000',
  },
}
SCSS
$custom: #b7df5b;
$custom-light: #cfe98e;
$custom-dark: #000000;
JSON
{
  "hex": "#b7df5b",
  "rgb": {
    "r": 183,
    "g": 223,
    "b": 91
  },
  "hsl": {
    "h": 78.182,
    "s": 67.347,
    "l": 61.569
  },
  "oklch": {
    "l": 0.84885,
    "c": 0.16478,
    "h": 124.1
  },
  "luminance": 0.63598
}

Semantic roles & 50–950 ramp

primary
#B7DF5B
secondary
#5A3BA3
accent
#16CF4E
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14160D
muted
#83847F

Preview Lab

Preview with #B7DF5B

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

Preview Lab → · Contrast checker → · Palette generator →

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