#BEF271#BEF271

#BEF271 is a very light, vivid yellow-green. Relative luminance 0.756; OKLCH L 89.9% C 0.167 H 127.7°. Best body text is #000000 at 16.13:1 contrast (WCAG AA passes).

Color values

HEX#BEF271
RGBrgb(190, 242, 113)
HSLhsl(84, 83%, 70%)
HSVhsv(84, 53%, 95%)
CMYKcmyk(21.5%, 0%, 53.3%, 5.1%)
CIE-LABlab(89.69, -36.49, 56.16)
CIE-LCHlch(89.69, 66.97, 123.01°)
OKLaboklab(89.86% -0.1023 0.1325)
OKLCHoklch(89.86% 0.167 127.7)
XYZxyz(55.9677, 75.6428, 27.2715)
Luminance0.7564 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BEF271 #A571F2
analogous
#F2E671 #BEF271 #7EF271
triadic
#BEF271 #71BEF2 #F271BE
tetradic
#BEF271 #71F2E6 #A571F2 #F2717E
square
#BEF271 #71F2E6 #A571F2 #F2717E
split-complementary
#BEF271 #717EF2 #E671F2
monochromatic
#87D514 #A4ED39 #BEF271 #D8F7A9 #F1FCE1

Accessibility & contrast

On white

1.30
#BEF271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.13
#BEF271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BEF271
16.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BEF271#FFFFFF#000000##000000
##BEF2711.001.3016.1316.13
#FFFFFF1.301.0021.0021.00
#00000016.1321.001.001.00
##00000016.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE465
Deuteranopia (green-blind)
#F5E179
Tritanopia (blue-blind)
#C3E8D5
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #bef271;
/* rgb */ color: rgb(190, 242, 113);
/* oklch */ color: oklch(89.9% 0.167 127.7);
Tailwind
colors: {
  custom: {
    50: '#d4f69d',
    500: '#bef271',
    950: '#000000',
  },
}
SCSS
$custom: #bef271;
$custom-light: #d4f69d;
$custom-dark: #000000;
JSON
{
  "hex": "#bef271",
  "rgb": {
    "r": 190,
    "g": 242,
    "b": 113
  },
  "hsl": {
    "h": 84.186,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.89859,
    "c": 0.16744,
    "h": 127.7
  },
  "luminance": 0.75644
}

Semantic roles & 50–950 ramp

primary
#BEF271
secondary
#763CCB
accent
#06E05E
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#14170F
muted
#838580

Preview Lab

Preview with #BEF271

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

Preview Lab → · Contrast checker → · Palette generator →

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