#D7F256#D7F256

#D7F256 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.72:1 contrast (WCAG AA passes).

Color values

HEX#D7F256
RGBrgb(215, 242, 86)
HSLhsl(70, 86%, 64%)
HSVhsv(70, 64%, 95%)
CMYKcmyk(11.2%, 0%, 64.5%, 5.1%)
CIE-LABlab(91.06, -29.12, 69.52)
CIE-LCHlch(91.06, 75.37, 112.73°)
OKLaboklab(91.3% -0.0856 0.1576)
OKLCHoklch(91.3% 0.179 118.5)
XYZxyz(61.4573, 78.6237, 20.7406)
Luminance0.7862 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7F256 #7156F2
analogous
#F2BF56 #D7F256 #89F256
triadic
#D7F256 #56D7F2 #F256D7
tetradic
#D7F256 #56F2BF #7156F2 #F25689
square
#D7F256 #56F2BF #7156F2 #F25689
split-complementary
#D7F256 #5689F2 #BF56F2
monochromatic
#A0BF0F #CAEE1D #D7F256 #E4F68F #F2FBC8

Accessibility & contrast

On white

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

On black

16.72
#D7F256 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7F256
16.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7F256#FFFFFF#000000##000000
##D7F2561.001.2616.7216.72
#FFFFFF1.261.0021.0021.00
#00000016.7221.001.001.00
##00000016.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7f256;
/* rgb */ color: rgb(215, 242, 86);
/* oklch */ color: oklch(91.3% 0.179 118.5);
Tailwind
colors: {
  custom: {
    50: '#e7f68d',
    500: '#d7f256',
    950: '#000000',
  },
}
SCSS
$custom: #d7f256;
$custom-light: #e7f68d;
$custom-dark: #000000;
JSON
{
  "hex": "#d7f256",
  "rgb": {
    "r": 215,
    "g": 242,
    "b": 86
  },
  "hsl": {
    "h": 70.385,
    "s": 85.714,
    "l": 64.314
  },
  "oklch": {
    "l": 0.91296,
    "c": 0.17934,
    "h": 118.5
  },
  "luminance": 0.78623
}

Semantic roles & 50–950 ramp

primary
#D7F256
secondary
#482FBD
accent
#03E22A
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16170D
muted
#85857F

Preview Lab

Preview with #D7F256

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

Preview Lab → · Contrast checker → · Palette generator →

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