#D7F156#D7F156

#D7F156 is a very light, vivid yellow-green. Relative luminance 0.780; OKLCH L 91.1% C 0.178 H 118.2°. Best body text is #000000 at 16.61:1 contrast (WCAG AA passes).

Color values

HEX#D7F156
RGBrgb(215, 241, 86)
HSLhsl(70, 85%, 64%)
HSVhsv(70, 64%, 95%)
CMYKcmyk(10.8%, 0%, 64.3%, 5.5%)
CIE-LABlab(90.79, -28.65, 69.23)
CIE-LCHlch(90.79, 74.93, 112.48°)
OKLaboklab(91.08% -0.0843 0.157)
OKLCHoklch(91.08% 0.178 118.2)
XYZxyz(61.1605, 78.0301, 20.6416)
Luminance0.7803 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7F156 #7056F1
analogous
#F1BE56 #D7F156 #8AF156
triadic
#D7F156 #56D7F1 #F156D7
tetradic
#D7F156 #56F1BE #7056F1 #F1568A
square
#D7F156 #56F1BE #7056F1 #F1568A
split-complementary
#D7F156 #568AF1 #BE56F1
monochromatic
#A0BD10 #CAEC1D #D7F156 #E4F68F #F2FAC7

Accessibility & contrast

On white

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

On black

16.61
#D7F156 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7F156
16.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7F156#FFFFFF#000000##000000
##D7F1561.001.2616.6116.61
#FFFFFF1.261.0021.0021.00
#00000016.6121.001.001.00
##00000016.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE441
Deuteranopia (green-blind)
#FDE561
Tritanopia (blue-blind)
#E3E4D1
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #d7f156;
/* rgb */ color: rgb(215, 241, 86);
/* oklch */ color: oklch(91.1% 0.178 118.2);
Tailwind
colors: {
  custom: {
    50: '#e6f58d',
    500: '#d7f156',
    950: '#000000',
  },
}
SCSS
$custom: #d7f156;
$custom-light: #e6f58d;
$custom-dark: #000000;
JSON
{
  "hex": "#d7f156",
  "rgb": {
    "r": 215,
    "g": 241,
    "b": 86
  },
  "hsl": {
    "h": 70.065,
    "s": 84.699,
    "l": 64.118
  },
  "oklch": {
    "l": 0.91079,
    "c": 0.1782,
    "h": 118.2
  },
  "luminance": 0.7803
}

Semantic roles & 50–950 ramp

primary
#D7F156
secondary
#4730BB
accent
#04E129
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16170D
muted
#85857F

Preview Lab

Preview with #D7F156

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

Preview Lab → · Contrast checker → · Palette generator →

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