#B8DF42#B8DF42

#B8DF42 is a very light, vivid yellow-green. Relative luminance 0.634; OKLCH L 84.7% C 0.182 H 122.6°. Best body text is #000000 at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#B8DF42
RGBrgb(184, 223, 66)
HSLhsl(75, 71%, 57%)
HSVhsv(75, 70%, 87%)
CMYKcmyk(17.5%, 0%, 70.4%, 12.5%)
CIE-LABlab(83.63, -33.67, 68.72)
CIE-LCHlch(83.63, 76.52, 116.10°)
OKLaboklab(84.74% -0.0982 0.1537)
OKLCHoklch(84.74% 0.182 122.6)
XYZxyz(47.1388, 63.3589, 14.8993)
Luminance0.6336 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8DF42 #6942DF
analogous
#DFB742 #B8DF42 #6ADF42
triadic
#B8DF42 #42B8DF #DF42B8
tetradic
#B8DF42 #42DFB7 #6942DF #DF426A
square
#B8DF42 #42DFB7 #6942DF #DF426A
split-complementary
#B8DF42 #426ADF #B742DF
monochromatic
#718E18 #9BC321 #B8DF42 #CCE876 #DFF1AB

Accessibility & contrast

On white

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

On black

13.67
#B8DF42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8DF42
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8DF42#FFFFFF#000000##000000
##B8DF421.001.5413.6713.67
#FFFFFF1.541.0021.0021.00
#00000013.6721.001.001.00
##00000013.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8df42;
/* rgb */ color: rgb(184, 223, 66);
/* oklch */ color: oklch(84.7% 0.182 122.6);
Tailwind
colors: {
  custom: {
    50: '#d1e980',
    500: '#b8df42',
    950: '#000000',
  },
}
SCSS
$custom: #b8df42;
$custom-light: #d1e980;
$custom-dark: #000000;
JSON
{
  "hex": "#b8df42",
  "rgb": {
    "r": 184,
    "g": 223,
    "b": 66
  },
  "hsl": {
    "h": 74.904,
    "s": 71.041,
    "l": 56.667
  },
  "oklch": {
    "l": 0.8474,
    "c": 0.1824,
    "h": 122.6
  },
  "luminance": 0.63359
}

Semantic roles & 50–950 ramp

primary
#B8DF42
secondary
#4A3294
accent
#3AEE67
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14160B
muted
#83847E

Preview Lab

Preview with #B8DF42

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

Preview Lab → · Contrast checker → · Palette generator →

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