#B5F97A#B5F97A

#B5F97A is a very light, vivid yellow-green. Relative luminance 0.790; OKLCH L 91.0% C 0.173 H 132.2°. Best body text is #000000 at 16.80:1 contrast (WCAG AA passes).

Color values

HEX#B5F97A
RGBrgb(181, 249, 122)
HSLhsl(92, 91%, 73%)
HSVhsv(92, 51%, 98%)
CMYKcmyk(27.3%, 0%, 51%, 2.4%)
CIE-LABlab(91.22, -41.90, 53.75)
CIE-LCHlch(91.22, 68.16, 127.94°)
OKLaboklab(90.99% -0.1162 0.1281)
OKLCHoklch(90.99% 0.173 132.2)
XYZxyz(56.4437, 78.9786, 30.6791)
Luminance0.7898 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5F97A #BE7AF9
analogous
#F4F97A #B5F97A #7AF97E
triadic
#B5F97A #7AB5F9 #F97AB5
tetradic
#B5F97A #7AF4F9 #BE7AF9 #F97E7A
square
#B5F97A #7AF4F9 #BE7AF9 #F97E7A
split-complementary
#B5F97A #7E7AF9 #F97AF4
monochromatic
#74EE0B #94F63F #B5F97A #D6FCB5 #EFFEE2

Accessibility & contrast

On white

1.25
#B5F97A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.80
#B5F97A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5F97A
16.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5F97A#FFFFFF#000000##000000
##B5F97A1.001.2516.8016.80
#FFFFFF1.251.0021.0021.00
#00000016.8021.001.001.00
##00000016.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE96E
Deuteranopia (green-blind)
#F8E482
Tritanopia (blue-blind)
#B7F0DC
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #b5f97a;
/* rgb */ color: rgb(181, 249, 122);
/* oklch */ color: oklch(91.0% 0.173 132.2);
Tailwind
colors: {
  custom: {
    50: '#cefba3',
    500: '#b5f97a',
    950: '#000000',
  },
}
SCSS
$custom: #b5f97a;
$custom-light: #cefba3;
$custom-dark: #000000;
JSON
{
  "hex": "#b5f97a",
  "rgb": {
    "r": 181,
    "g": 249,
    "b": 122
  },
  "hsl": {
    "h": 92.126,
    "s": 91.367,
    "l": 72.745
  },
  "oklch": {
    "l": 0.90994,
    "c": 0.17296,
    "h": 132.2
  },
  "luminance": 0.7898
}

Semantic roles & 50–950 ramp

primary
#B5F97A
secondary
#9142D5
accent
#00E67B
background
#FEFFFC
surface
#FBFFF6
border
#D4D7D0
text
#14170F
muted
#838580

Preview Lab

Preview with #B5F97A

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

Preview Lab → · Contrast checker → · Palette generator →

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