#B7E962#B7E962

#B7E962 is a very light, vivid yellow-green. Relative luminance 0.692; OKLCH L 87.2% C 0.172 H 126.8°. Best body text is #000000 at 14.85:1 contrast (WCAG AA passes).

Color values

HEX#B7E962
RGBrgb(183, 233, 98)
HSLhsl(82, 75%, 65%)
HSVhsv(82, 58%, 91%)
CMYKcmyk(21.5%, 0%, 57.9%, 8.6%)
CIE-LABlab(86.62, -36.35, 59.15)
CIE-LCHlch(86.62, 69.43, 121.57°)
OKLaboklab(87.22% -0.1028 0.1376)
OKLCHoklch(87.22% 0.172 126.8)
XYZxyz(50.8719, 69.2262, 22.2347)
Luminance0.6923 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7E962 #9462E9
analogous
#E9D762 #B7E962 #74E962
triadic
#B7E962 #62B7E9 #E962B7
tetradic
#B7E962 #62E9D7 #9462E9 #E96274
square
#B7E962 #62E9D7 #9462E9 #E96274
split-complementary
#B7E962 #6274E9 #D762E9
monochromatic
#7DB71A #9EE12C #B7E962 #D0F198 #E8F8CD

Accessibility & contrast

On white

1.41
#B7E962 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.85
#B7E962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7E962
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7E962#FFFFFF#000000##000000
##B7E9621.001.4114.8514.85
#FFFFFF1.411.0021.0021.00
#00000014.8521.001.001.00
##00000014.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DB53
Deuteranopia (green-blind)
#EDD86B
Tritanopia (blue-blind)
#BDDFCC
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #b7e962;
/* rgb */ color: rgb(183, 233, 98);
/* oklch */ color: oklch(87.2% 0.172 126.8);
Tailwind
colors: {
  custom: {
    50: '#cff093',
    500: '#b7e962',
    950: '#000000',
  },
}
SCSS
$custom: #b7e962;
$custom-light: #cff093;
$custom-dark: #000000;
JSON
{
  "hex": "#b7e962",
  "rgb": {
    "r": 183,
    "g": 233,
    "b": 98
  },
  "hsl": {
    "h": 82.222,
    "s": 75.419,
    "l": 64.902
  },
  "oklch": {
    "l": 0.87215,
    "c": 0.1718,
    "h": 126.8
  },
  "luminance": 0.69227
}

Semantic roles & 50–950 ramp

primary
#B7E962
secondary
#6738B7
accent
#0ED859
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14160D
muted
#83857F

Preview Lab

Preview with #B7E962

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

Preview Lab → · Contrast checker → · Palette generator →

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