#B7D342#B7D342

#B7D342 is a light, vivid yellow-green. Relative luminance 0.570; OKLCH L 82.0% C 0.169 H 119.8°. Best body text is #000000 at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#B7D342
RGBrgb(183, 211, 66)
HSLhsl(72, 62%, 54%)
HSVhsv(72, 69%, 83%)
CMYKcmyk(13.3%, 0%, 68.7%, 17.3%)
CIE-LABlab(80.21, -28.46, 65.27)
CIE-LCHlch(80.21, 71.21, 113.56°)
OKLaboklab(81.96% -0.0838 0.1465)
OKLCHoklch(81.96% 0.169 119.8)
XYZxyz(43.8068, 57.0494, 13.8570)
Luminance0.5705 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7D342 #5E42D3
analogous
#D3A742 #B7D342 #6FD342
triadic
#B7D342 #42B7D3 #D342B7
tetradic
#B7D342 #42D3A7 #5E42D3 #D3426F
square
#B7D342 #42D3A7 #5E42D3 #D3426F
split-complementary
#B7D342 #426FD3 #A742D3
monochromatic
#6B7D1D #95AF29 #B7D342 #CADF74 #DDEAA5

Accessibility & contrast

On white

1.69
#B7D342 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.41
#B7D342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7D342
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7D342#FFFFFF#000000##000000
##B7D3421.001.6912.4112.41
#FFFFFF1.691.0021.0021.00
#00000012.4121.001.001.00
##00000012.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C72B
Deuteranopia (green-blind)
#DDC74D
Tritanopia (blue-blind)
#C1C8B6
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #b7d342;
/* rgb */ color: rgb(183, 211, 66);
/* oklch */ color: oklch(82.0% 0.169 119.8);
Tailwind
colors: {
  custom: {
    50: '#d0e07f',
    500: '#b7d342',
    950: '#000000',
  },
}
SCSS
$custom: #b7d342;
$custom-light: #d0e07f;
$custom-dark: #000000;
JSON
{
  "hex": "#b7d342",
  "rgb": {
    "r": 183,
    "g": 211,
    "b": 66
  },
  "hsl": {
    "h": 71.586,
    "s": 62.232,
    "l": 54.314
  },
  "oklch": {
    "l": 0.81963,
    "c": 0.16876,
    "h": 119.8
  },
  "luminance": 0.57049
}

Semantic roles & 50–950 ramp

primary
#B7D342
secondary
#443485
accent
#42E562
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #B7D342

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

Preview Lab → · Contrast checker → · Palette generator →

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