#BEF797#BEF797

#BEF797 is a very light, vivid yellow-green. Relative luminance 0.797; OKLCH L 91.5% C 0.137 H 133.5°. Best body text is #000000 at 16.94:1 contrast (WCAG AA passes).

Color values

HEX#BEF797
RGBrgb(190, 247, 151)
HSLhsl(96, 86%, 78%)
HSVhsv(96, 39%, 97%)
CMYKcmyk(23.1%, 0%, 38.9%, 3.1%)
CIE-LABlab(91.55, -34.47, 40.44)
CIE-LCHlch(91.55, 53.13, 130.45°)
OKLaboklab(91.51% -0.0944 0.0996)
OKLCHoklch(91.51% 0.137 133.5)
XYZxyz(60.0806, 79.7016, 41.4907)
Luminance0.7970 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BEF797 #D097F7
analogous
#EEF797 #BEF797 #97F7A0
triadic
#BEF797 #97BEF7 #F797BE
tetradic
#BEF797 #97EEF7 #D097F7 #F7A097
square
#BEF797 #97EEF7 #D097F7 #F7A097
split-complementary
#BEF797 #A097F7 #F797EE
monochromatic
#77EE25 #9AF35E #BEF797 #E2FBD0 #EDFDE3

Accessibility & contrast

On white

1.24
#BEF797 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.94
#BEF797 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BEF797
16.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BEF797#FFFFFF#000000##000000
##BEF7971.001.2416.9416.94
#FFFFFF1.241.0021.0021.00
#00000016.9421.001.001.00
##00000016.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEEA90
Deuteranopia (green-blind)
#F6E59C
Tritanopia (blue-blind)
#BFF0DF
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #bef797;
/* rgb */ color: rgb(190, 247, 151);
/* oklch */ color: oklch(91.5% 0.137 133.5);
Tailwind
colors: {
  custom: {
    50: '#d3fab6',
    500: '#bef797',
    950: '#000000',
  },
}
SCSS
$custom: #bef797;
$custom-light: #d3fab6;
$custom-dark: #000000;
JSON
{
  "hex": "#bef797",
  "rgb": {
    "r": 190,
    "g": 247,
    "b": 151
  },
  "hsl": {
    "h": 95.625,
    "s": 85.714,
    "l": 78.039
  },
  "oklch": {
    "l": 0.91512,
    "c": 0.1372,
    "h": 133.5
  },
  "luminance": 0.79703
}

Semantic roles & 50–950 ramp

primary
#BEF797
secondary
#A55CD6
accent
#03E288
background
#FEFFFD
surface
#FBFFF8
border
#D4D7D1
text
#141711
muted
#838581

Preview Lab

Preview with #BEF797

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

Preview Lab → · Contrast checker → · Palette generator →

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