#BEF257#BEF257

#BEF257 is a very light, vivid yellow-green. Relative luminance 0.751; OKLCH L 89.6% C 0.189 H 125.9°. Best body text is #000000 at 16.03:1 contrast (WCAG AA passes).

Color values

HEX#BEF257
RGBrgb(190, 242, 87)
HSLhsl(80, 86%, 65%)
HSVhsv(80, 64%, 95%)
CMYKcmyk(21.5%, 0%, 64%, 5.1%)
CIE-LABlab(89.46, -38.64, 66.94)
CIE-LCHlch(89.46, 77.30, 120.00°)
OKLaboklab(89.59% -0.1105 0.1528)
OKLCHoklch(89.59% 0.189 125.9)
XYZxyz(54.7078, 75.1388, 20.6360)
Luminance0.7514 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BEF257 #8B57F2
analogous
#F2D857 #BEF257 #71F257
triadic
#BEF257 #57BEF2 #F257BE
tetradic
#BEF257 #57F2D8 #8B57F2 #F25771
square
#BEF257 #57F2D8 #8B57F2 #F25771
split-complementary
#BEF257 #5771F2 #D857F2
monochromatic
#84C00F #A8EE1E #BEF257 #D4F690 #EAFBC9

Accessibility & contrast

On white

1.31
#BEF257 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.03
#BEF257 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BEF257
16.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BEF257#FFFFFF#000000##000000
##BEF2571.001.3116.0316.03
#FFFFFF1.311.0021.0021.00
#00000016.0321.001.001.00
##00000016.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE343
Deuteranopia (green-blind)
#F7E063
Tritanopia (blue-blind)
#C5E7D2
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #bef257;
/* rgb */ color: rgb(190, 242, 87);
/* oklch */ color: oklch(89.6% 0.189 125.9);
Tailwind
colors: {
  custom: {
    50: '#d5f68d',
    500: '#bef257',
    950: '#000000',
  },
}
SCSS
$custom: #bef257;
$custom-light: #d5f68d;
$custom-dark: #000000;
JSON
{
  "hex": "#bef257",
  "rgb": {
    "r": 190,
    "g": 242,
    "b": 87
  },
  "hsl": {
    "h": 80.129,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.89593,
    "c": 0.18856,
    "h": 125.9
  },
  "luminance": 0.7514
}

Semantic roles & 50–950 ramp

primary
#BEF257
secondary
#5F30BE
accent
#03E24E
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15170D
muted
#84857F

Preview Lab

Preview with #BEF257

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

Preview Lab → · Contrast checker → · Palette generator →

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