#BEF798#BEF798

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

Color values

HEX#BEF798
RGBrgb(190, 247, 152)
HSLhsl(96, 86%, 78%)
HSVhsv(96, 38%, 97%)
CMYKcmyk(23.1%, 0%, 38.5%, 3.1%)
CIE-LABlab(91.57, -34.34, 39.96)
CIE-LCHlch(91.57, 52.69, 130.67°)
OKLaboklab(91.53% -0.094 0.0985)
OKLCHoklch(91.53% 0.136 133.7)
XYZxyz(60.1622, 79.7342, 41.9202)
Luminance0.7974 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BEF798 #D198F7
analogous
#EDF798 #BEF798 #98F7A1
triadic
#BEF798 #98BEF7 #F798BE
tetradic
#BEF798 #98EDF7 #D198F7 #F7A198
square
#BEF798 #98EDF7 #D198F7 #F7A198
split-complementary
#BEF798 #A198F7 #F798ED
monochromatic
#76EE26 #9AF35F #BEF798 #E2FBD1 #EDFDE3

Accessibility & contrast

On white

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

On black

16.95
#BEF798 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BEF798
16.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BEF798#FFFFFF#000000##000000
##BEF7981.001.2416.9516.95
#FFFFFF1.241.0021.0021.00
#00000016.9521.001.001.00
##00000016.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bef798;
/* rgb */ color: rgb(190, 247, 152);
/* oklch */ color: oklch(91.5% 0.136 133.7);
Tailwind
colors: {
  custom: {
    50: '#d3fab7',
    500: '#bef798',
    950: '#000000',
  },
}
SCSS
$custom: #bef798;
$custom-light: #d3fab7;
$custom-dark: #000000;
JSON
{
  "hex": "#bef798",
  "rgb": {
    "r": 190,
    "g": 247,
    "b": 152
  },
  "hsl": {
    "h": 96,
    "s": 85.586,
    "l": 78.235
  },
  "oklch": {
    "l": 0.91529,
    "c": 0.13616,
    "h": 133.7
  },
  "luminance": 0.79736
}

Semantic roles & 50–950 ramp

primary
#BEF798
secondary
#A65DD6
accent
#03E289
background
#FEFFFD
surface
#FBFFF8
border
#D4D7D1
text
#141711
muted
#838581

Preview Lab

Preview with #BEF798

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

Preview Lab → · Contrast checker → · Palette generator →

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