#B7E45A#B7E45A

#B7E45A is a very light, vivid yellow-green. Relative luminance 0.663; OKLCH L 86.0% C 0.172 H 125.2°. Best body text is #000000 at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#B7E45A
RGBrgb(183, 228, 90)
HSLhsl(80, 72%, 62%)
HSVhsv(80, 61%, 89%)
CMYKcmyk(19.7%, 0%, 60.5%, 10.6%)
CIE-LABlab(85.14, -34.73, 60.93)
CIE-LCHlch(85.14, 70.13, 119.68°)
OKLaboklab(86% -0.099 0.1406)
OKLCHoklch(86% 0.172 125.2)
XYZxyz(49.1175, 66.2918, 19.8788)
Luminance0.6629 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7E45A #875AE4
analogous
#E4CC5A #B7E45A #72E45A
triadic
#B7E45A #5AB7E4 #E45AB7
tetradic
#B7E45A #5AE4CC #875AE4 #E45A72
square
#B7E45A #5AE4CC #875AE4 #E45A72
split-complementary
#B7E45A #5A72E4 #CC5AE4
monochromatic
#7AA81C #A0DB25 #B7E45A #CEED8F #E5F5C3

Accessibility & contrast

On white

1.47
#B7E45A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.26
#B7E45A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7E45A
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7E45A#FFFFFF#000000##000000
##B7E45A1.001.4714.2614.26
#FFFFFF1.471.0021.0021.00
#00000014.2621.001.001.00
##00000014.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D64A
Deuteranopia (green-blind)
#E9D464
Tritanopia (blue-blind)
#BEDAC7
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #b7e45a;
/* rgb */ color: rgb(183, 228, 90);
/* oklch */ color: oklch(86.0% 0.172 125.2);
Tailwind
colors: {
  custom: {
    50: '#cfec8e',
    500: '#b7e45a',
    950: '#000000',
  },
}
SCSS
$custom: #b7e45a;
$custom-light: #cfec8e;
$custom-dark: #000000;
JSON
{
  "hex": "#b7e45a",
  "rgb": {
    "r": 183,
    "g": 228,
    "b": 90
  },
  "hsl": {
    "h": 79.565,
    "s": 71.875,
    "l": 62.353
  },
  "oklch": {
    "l": 0.86004,
    "c": 0.17193,
    "h": 125.2
  },
  "luminance": 0.66292
}

Semantic roles & 50–950 ramp

primary
#B7E45A
secondary
#5D38AA
accent
#12D451
background
#FEFEFC
surface
#FBFDF4
border
#D4D5CE
text
#14160D
muted
#83847F

Preview Lab

Preview with #B7E45A

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

Preview Lab → · Contrast checker → · Palette generator →

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