#B7DF4F#B7DF4F

#B7DF4F is a very light, vivid yellow-green. Relative luminance 0.634; OKLCH L 84.8% C 0.174 H 123.4°. Best body text is #000000 at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#B7DF4F
RGBrgb(183, 223, 79)
HSLhsl(77, 69%, 59%)
HSVhsv(77, 65%, 87%)
CMYKcmyk(17.9%, 0%, 64.6%, 12.5%)
CIE-LABlab(83.66, -33.25, 63.83)
CIE-LCHlch(83.66, 71.97, 117.51°)
OKLaboklab(84.77% -0.0959 0.1453)
OKLCHoklch(84.77% 0.174 123.4)
XYZxyz(47.3278, 63.4069, 17.1410)
Luminance0.6341 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7DF4F #774FDF
analogous
#DFBF4F #B7DF4F #6FDF4F
triadic
#B7DF4F #4FB7DF #DF4FB7
tetradic
#B7DF4F #4FDFBF #774FDF #DF4F6F
square
#B7DF4F #4FDFBF #774FDF #DF4F6F
split-complementary
#B7DF4F #4F6FDF #BF4FDF
monochromatic
#75981C #9DCC25 #B7DF4F #CCE883 #E1F2B7

Accessibility & contrast

On white

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

On black

13.68
#B7DF4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7DF4F
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7DF4F#FFFFFF#000000##000000
##B7DF4F1.001.5313.6813.68
#FFFFFF1.531.0021.0021.00
#00000013.6821.001.001.00
##00000013.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD23C
Deuteranopia (green-blind)
#E6D05A
Tritanopia (blue-blind)
#BFD4C1
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #b7df4f;
/* rgb */ color: rgb(183, 223, 79);
/* oklch */ color: oklch(84.8% 0.174 123.4);
Tailwind
colors: {
  custom: {
    50: '#d0e987',
    500: '#b7df4f',
    950: '#000000',
  },
}
SCSS
$custom: #b7df4f;
$custom-light: #d0e987;
$custom-dark: #000000;
JSON
{
  "hex": "#b7df4f",
  "rgb": {
    "r": 183,
    "g": 223,
    "b": 79
  },
  "hsl": {
    "h": 76.667,
    "s": 69.231,
    "l": 59.216
  },
  "oklch": {
    "l": 0.84773,
    "c": 0.17409,
    "h": 123.4
  },
  "luminance": 0.63407
}

Semantic roles & 50–950 ramp

primary
#B7DF4F
secondary
#52369C
accent
#3CEC6D
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14160C
muted
#83847F

Preview Lab

Preview with #B7DF4F

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

Preview Lab → · Contrast checker → · Palette generator →

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