#B8DF40#B8DF40

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

Color values

HEX#B8DF40
RGBrgb(184, 223, 64)
HSLhsl(75, 71%, 56%)
HSVhsv(75, 71%, 87%)
CMYKcmyk(17.5%, 0%, 71.3%, 12.5%)
CIE-LABlab(83.62, -33.78, 69.40)
CIE-LCHlch(83.62, 77.19, 115.95°)
OKLaboklab(84.73% -0.0987 0.1548)
OKLCHoklch(84.73% 0.184 122.5)
XYZxyz(47.0809, 63.3357, 14.5942)
Luminance0.6334 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8DF40 #6740DF
analogous
#DFB740 #B8DF40 #69DF40
triadic
#B8DF40 #40B8DF #DF40B8
tetradic
#B8DF40 #40DFB7 #6740DF #DF4069
square
#B8DF40 #40DFB7 #6740DF #DF4069
split-complementary
#B8DF40 #4069DF #B740DF
monochromatic
#708D18 #9AC120 #B8DF40 #CBE874 #DFF1A9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8DF40#FFFFFF#000000##000000
##B8DF401.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)
#ECD123
Deuteranopia (green-blind)
#E7D04E
Tritanopia (blue-blind)
#C1D4C0
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #b8df40;
/* rgb */ color: rgb(184, 223, 64);
/* oklch */ color: oklch(84.7% 0.184 122.5);
Tailwind
colors: {
  custom: {
    50: '#d1e97f',
    500: '#b8df40',
    950: '#000000',
  },
}
SCSS
$custom: #b8df40;
$custom-light: #d1e97f;
$custom-dark: #000000;
JSON
{
  "hex": "#b8df40",
  "rgb": {
    "r": 184,
    "g": 223,
    "b": 64
  },
  "hsl": {
    "h": 74.717,
    "s": 71.3,
    "l": 56.275
  },
  "oklch": {
    "l": 0.84727,
    "c": 0.18361,
    "h": 122.5
  },
  "luminance": 0.63336
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B8DF40

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

Preview Lab → · Contrast checker → · Palette generator →

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