#B7D642#B7D642

#B7D642 is a very light, vivid yellow-green. Relative luminance 0.586; OKLCH L 82.6% C 0.172 H 120.6°. Best body text is #000000 at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#B7D642
RGBrgb(183, 214, 66)
HSLhsl(73, 64%, 55%)
HSVhsv(73, 69%, 84%)
CMYKcmyk(14.5%, 0%, 69.2%, 16.1%)
CIE-LABlab(81.05, -29.88, 66.12)
CIE-LCHlch(81.05, 72.55, 114.32°)
OKLaboklab(82.64% -0.0877 0.1482)
OKLCHoklch(82.64% 0.172 120.6)
XYZxyz(44.5591, 58.5539, 14.1078)
Luminance0.5855 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7D642 #6142D6
analogous
#D6AB42 #B7D642 #6DD642
triadic
#B7D642 #42B7D6 #D642B7
tetradic
#B7D642 #42D6AB #6142D6 #D6426D
square
#B7D642 #42D6AB #6142D6 #D6426D
split-complementary
#B7D642 #426DD6 #AB42D6
monochromatic
#6C821C #96B427 #B7D642 #CAE174 #DDECA7

Accessibility & contrast

On white

1.65
#B7D642 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.71
#B7D642 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7D642
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7D642#FFFFFF#000000##000000
##B7D6421.001.6512.7112.71
#FFFFFF1.651.0021.0021.00
#00000012.7121.001.001.00
##00000012.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CA2A
Deuteranopia (green-blind)
#DFCA4E
Tritanopia (blue-blind)
#C1CBB9
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #b7d642;
/* rgb */ color: rgb(183, 214, 66);
/* oklch */ color: oklch(82.6% 0.172 120.6);
Tailwind
colors: {
  custom: {
    50: '#d0e27f',
    500: '#b7d642',
    950: '#000000',
  },
}
SCSS
$custom: #b7d642;
$custom-light: #d0e27f;
$custom-dark: #000000;
JSON
{
  "hex": "#b7d642",
  "rgb": {
    "r": 183,
    "g": 214,
    "b": 66
  },
  "hsl": {
    "h": 72.568,
    "s": 64.348,
    "l": 54.902
  },
  "oklch": {
    "l": 0.82638,
    "c": 0.17226,
    "h": 120.6
  },
  "luminance": 0.58554
}

Semantic roles & 50–950 ramp

primary
#B7D642
secondary
#453488
accent
#40E763
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #B7D642

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

Preview Lab → · Contrast checker → · Palette generator →

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