#B7DF40#B7DF40

#B7DF40 is a very light, vivid yellow-green. Relative luminance 0.632; OKLCH L 84.7% C 0.184 H 122.8°. Best body text is #000000 at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#B7DF40
RGBrgb(183, 223, 64)
HSLhsl(75, 71%, 56%)
HSVhsv(75, 71%, 87%)
CMYKcmyk(17.9%, 0%, 71.3%, 12.5%)
CIE-LABlab(83.55, -34.17, 69.32)
CIE-LCHlch(83.55, 77.28, 116.24°)
OKLaboklab(84.66% -0.0997 0.1547)
OKLCHoklch(84.66% 0.184 122.8)
XYZxyz(46.8421, 63.2126, 14.5830)
Luminance0.6321 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7DF40 #6840DF
analogous
#DFB740 #B7DF40 #68DF40
triadic
#B7DF40 #40B7DF #DF40B7
tetradic
#B7DF40 #40DFB7 #6840DF #DF4068
square
#B7DF40 #40DFB7 #6840DF #DF4068
split-complementary
#B7DF40 #4068DF #B740DF
monochromatic
#6F8D18 #99C120 #B7DF40 #CBE874 #DFF1A9

Accessibility & contrast

On white

1.54
#B7DF40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.64
#B7DF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7DF40
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7DF40#FFFFFF#000000##000000
##B7DF401.001.5413.6413.64
#FFFFFF1.541.0021.0021.00
#00000013.6421.001.001.00
##00000013.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD123
Deuteranopia (green-blind)
#E7D04E
Tritanopia (blue-blind)
#C0D4C0
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #b7df40;
/* rgb */ color: rgb(183, 223, 64);
/* oklch */ color: oklch(84.7% 0.184 122.8);
Tailwind
colors: {
  custom: {
    50: '#d0e97f',
    500: '#b7df40',
    950: '#000000',
  },
}
SCSS
$custom: #b7df40;
$custom-light: #d0e97f;
$custom-dark: #000000;
JSON
{
  "hex": "#b7df40",
  "rgb": {
    "r": 183,
    "g": 223,
    "b": 64
  },
  "hsl": {
    "h": 75.094,
    "s": 71.3,
    "l": 56.275
  },
  "oklch": {
    "l": 0.84658,
    "c": 0.18403,
    "h": 122.8
  },
  "luminance": 0.63213
}

Semantic roles & 50–950 ramp

primary
#B7DF40
secondary
#493192
accent
#3AEE67
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14160B
muted
#83847E

Preview Lab

Preview with #B7DF40

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

Preview Lab → · Contrast checker → · Palette generator →

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