#D7F257#D7F257

#D7F257 is a very light, vivid yellow-green. Relative luminance 0.786; OKLCH L 91.3% C 0.179 H 118.5°. Best body text is #000000 at 16.73:1 contrast (WCAG AA passes).

Color values

HEX#D7F257
RGBrgb(215, 242, 87)
HSLhsl(70, 86%, 65%)
HSVhsv(70, 64%, 95%)
CMYKcmyk(11.2%, 0%, 64%, 5.1%)
CIE-LABlab(91.07, -29.06, 69.14)
CIE-LCHlch(91.07, 74.99, 112.80°)
OKLaboklab(91.31% -0.0854 0.1569)
OKLCHoklch(91.31% 0.179 118.5)
XYZxyz(61.4979, 78.6399, 20.9543)
Luminance0.7864 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7F257 #7257F2
analogous
#F2C057 #D7F257 #89F257
triadic
#D7F257 #57D7F2 #F257D7
tetradic
#D7F257 #57F2C0 #7257F2 #F25789
square
#D7F257 #57F2C0 #7257F2 #F25789
split-complementary
#D7F257 #5789F2 #C057F2
monochromatic
#A1C00F #C9EE1E #D7F257 #E5F690 #F2FBC9

Accessibility & contrast

On white

1.26
#D7F257 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.73
#D7F257 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7F257
16.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7F257#FFFFFF#000000##000000
##D7F2571.001.2616.7316.73
#FFFFFF1.261.0021.0021.00
#00000016.7321.001.001.00
##00000016.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE542
Deuteranopia (green-blind)
#FEE662
Tritanopia (blue-blind)
#E3E5D2
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #d7f257;
/* rgb */ color: rgb(215, 242, 87);
/* oklch */ color: oklch(91.3% 0.179 118.5);
Tailwind
colors: {
  custom: {
    50: '#e6f68d',
    500: '#d7f257',
    950: '#000000',
  },
}
SCSS
$custom: #d7f257;
$custom-light: #e6f68d;
$custom-dark: #000000;
JSON
{
  "hex": "#d7f257",
  "rgb": {
    "r": 215,
    "g": 242,
    "b": 87
  },
  "hsl": {
    "h": 70.452,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.91305,
    "c": 0.17863,
    "h": 118.5
  },
  "luminance": 0.78639
}

Semantic roles & 50–950 ramp

primary
#D7F257
secondary
#4830BE
accent
#03E22A
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16170D
muted
#85857F

Preview Lab

Preview with #D7F257

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

Preview Lab → · Contrast checker → · Palette generator →

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