#B7D842#B7D842

#B7D842 is a very light, vivid yellow-green. Relative luminance 0.596; OKLCH L 83.1% C 0.175 H 121.2°. Best body text is #000000 at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#B7D842
RGBrgb(183, 216, 66)
HSLhsl(73, 66%, 55%)
HSVhsv(73, 69%, 85%)
CMYKcmyk(15.3%, 0%, 69.4%, 15.3%)
CIE-LABlab(81.61, -30.82, 66.68)
CIE-LCHlch(81.61, 73.45, 114.81°)
OKLaboklab(83.09% -0.0903 0.1494)
OKLCHoklch(83.09% 0.175 121.2)
XYZxyz(45.0684, 59.5724, 14.2775)
Luminance0.5957 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7D842 #6342D8
analogous
#D8AE42 #B7D842 #6CD842
triadic
#B7D842 #42B7D8 #D842B7
tetradic
#B7D842 #42D8AE #6342D8 #D8426C
square
#B7D842 #42D8AE #6342D8 #D8426C
split-complementary
#B7D842 #426CD8 #AE42D8
monochromatic
#6D841B #97B726 #B7D842 #CAE275 #DEEDA7

Accessibility & contrast

On white

1.63
#B7D842 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.91
#B7D842 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7D842
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7D842#FFFFFF#000000##000000
##B7D8421.001.6312.9112.91
#FFFFFF1.631.0021.0021.00
#00000012.9121.001.001.00
##00000012.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CB29
Deuteranopia (green-blind)
#E1CB4E
Tritanopia (blue-blind)
#C1CDBA
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #b7d842;
/* rgb */ color: rgb(183, 216, 66);
/* oklch */ color: oklch(83.1% 0.175 121.2);
Tailwind
colors: {
  custom: {
    50: '#d0e47f',
    500: '#b7d842',
    950: '#000000',
  },
}
SCSS
$custom: #b7d842;
$custom-light: #d0e47f;
$custom-dark: #000000;
JSON
{
  "hex": "#b7d842",
  "rgb": {
    "r": 183,
    "g": 216,
    "b": 66
  },
  "hsl": {
    "h": 73.2,
    "s": 65.789,
    "l": 55.294
  },
  "oklch": {
    "l": 0.83089,
    "c": 0.1746,
    "h": 121.2
  },
  "luminance": 0.59572
}

Semantic roles & 50–950 ramp

primary
#B7D842
secondary
#47338B
accent
#3FE964
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #B7D842

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

Preview Lab → · Contrast checker → · Palette generator →

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