#B7DC40#B7DC40

#B7DC40 is a very light, vivid yellow-green. Relative luminance 0.616; OKLCH L 84.0% C 0.181 H 122.1°. Best body text is #000000 at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#B7DC40
RGBrgb(183, 220, 64)
HSLhsl(74, 69%, 56%)
HSVhsv(74, 71%, 86%)
CMYKcmyk(16.8%, 0%, 70.9%, 13.7%)
CIE-LABlab(82.71, -32.79, 68.49)
CIE-LCHlch(82.71, 75.93, 115.58°)
OKLaboklab(83.98% -0.0959 0.1529)
OKLCHoklch(83.98% 0.181 122.1)
XYZxyz(46.0477, 61.6237, 14.3182)
Luminance0.6162 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7DC40 #6540DC
analogous
#DCB340 #B7DC40 #69DC40
triadic
#B7DC40 #40B7DC #DC40B7
tetradic
#B7DC40 #40DCB3 #6540DC #DC4069
square
#B7DC40 #40DCB3 #6540DC #DC4069
split-complementary
#B7DC40 #4069DC #B340DC
monochromatic
#6E8919 #98BC23 #B7DC40 #CAE574 #DEEFA7

Accessibility & contrast

On white

1.58
#B7DC40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.32
#B7DC40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7DC40
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7DC40#FFFFFF#000000##000000
##B7DC401.001.5813.3213.32
#FFFFFF1.581.0021.0021.00
#00000013.3221.001.001.00
##00000013.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9CF24
Deuteranopia (green-blind)
#E4CE4D
Tritanopia (blue-blind)
#C1D1BE
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #b7dc40;
/* rgb */ color: rgb(183, 220, 64);
/* oklch */ color: oklch(84.0% 0.181 122.1);
Tailwind
colors: {
  custom: {
    50: '#d0e77f',
    500: '#b7dc40',
    950: '#000000',
  },
}
SCSS
$custom: #b7dc40;
$custom-light: #d0e77f;
$custom-dark: #000000;
JSON
{
  "hex": "#b7dc40",
  "rgb": {
    "r": 183,
    "g": 220,
    "b": 64
  },
  "hsl": {
    "h": 74.231,
    "s": 69.027,
    "l": 55.686
  },
  "oklch": {
    "l": 0.83979,
    "c": 0.18052,
    "h": 122.1
  },
  "luminance": 0.61624
}

Semantic roles & 50–950 ramp

primary
#B7DC40
secondary
#48328F
accent
#3CEC66
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14160B
muted
#83847E

Preview Lab

Preview with #B7DC40

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

Preview Lab → · Contrast checker → · Palette generator →

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