#B7DF42#B7DF42

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

Color values

HEX#B7DF42
RGBrgb(183, 223, 66)
HSLhsl(75, 71%, 57%)
HSVhsv(75, 70%, 87%)
CMYKcmyk(17.9%, 0%, 70.4%, 12.5%)
CIE-LABlab(83.57, -34.06, 68.63)
CIE-LCHlch(83.57, 76.62, 116.39°)
OKLaboklab(84.67% -0.0993 0.1535)
OKLCHoklch(84.67% 0.183 122.9)
XYZxyz(46.9001, 63.2358, 14.8881)
Luminance0.6324 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7DF42 #6A42DF
analogous
#DFB942 #B7DF42 #69DF42
triadic
#B7DF42 #42B7DF #DF42B7
tetradic
#B7DF42 #42DFB9 #6A42DF #DF4269
square
#B7DF42 #42DFB9 #6A42DF #DF4269
split-complementary
#B7DF42 #4269DF #B942DF
monochromatic
#708E18 #9AC321 #B7DF42 #CBE876 #DFF1AB

Accessibility & contrast

On white

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

On black

13.65
#B7DF42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7DF42
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7DF42#FFFFFF#000000##000000
##B7DF421.001.5413.6513.65
#FFFFFF1.541.0021.0021.00
#00000013.6521.001.001.00
##00000013.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b7df42;
/* rgb */ color: rgb(183, 223, 66);
/* oklch */ color: oklch(84.7% 0.183 122.9);
Tailwind
colors: {
  custom: {
    50: '#d0e980',
    500: '#b7df42',
    950: '#000000',
  },
}
SCSS
$custom: #b7df42;
$custom-light: #d0e980;
$custom-dark: #000000;
JSON
{
  "hex": "#b7df42",
  "rgb": {
    "r": 183,
    "g": 223,
    "b": 66
  },
  "hsl": {
    "h": 75.287,
    "s": 71.041,
    "l": 56.667
  },
  "oklch": {
    "l": 0.84672,
    "c": 0.18282,
    "h": 122.9
  },
  "luminance": 0.63236
}

Semantic roles & 50–950 ramp

primary
#B7DF42
secondary
#4B3294
accent
#3AEE68
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14160B
muted
#83847E

Preview Lab

Preview with #B7DF42

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

Preview Lab → · Contrast checker → · Palette generator →

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