#D7F970#D7F970

#D7F970 is a very light, vivid yellow-green. Relative luminance 0.834; OKLCH L 93.1% C 0.167 H 121.4°. Best body text is #000000 at 17.67:1 contrast (WCAG AA passes).

Color values

HEX#D7F970
RGBrgb(215, 249, 112)
HSLhsl(75, 92%, 71%)
HSVhsv(75, 55%, 98%)
CMYKcmyk(13.7%, 0%, 55%, 2.4%)
CIE-LABlab(93.18, -30.46, 61.05)
CIE-LCHlch(93.18, 68.23, 116.52°)
OKLaboklab(93.07% -0.087 0.1427)
OKLCHoklch(93.07% 0.167 121.4)
XYZxyz(64.8252, 83.3683, 28.0027)
Luminance0.8337 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7F970 #9270F9
analogous
#F9D770 #D7F970 #92F970
triadic
#D7F970 #70D7F9 #F970D7
tetradic
#D7F970 #70F9D7 #9270F9 #F97092
square
#D7F970 #70F9D7 #9270F9 #F97092
split-complementary
#D7F970 #7092F9 #D770F9
monochromatic
#AFE50A #C7F735 #D7F970 #E7FBAB #F7FEE2

Accessibility & contrast

On white

1.19
#D7F970 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.67
#D7F970 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7F970
17.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7F970#FFFFFF#000000##000000
##D7F9701.001.1917.6717.67
#FFFFFF1.191.0021.0021.00
#00000017.6721.001.001.00
##00000017.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC62
Deuteranopia (green-blind)
#FFEC79
Tritanopia (blue-blind)
#E1EEDB
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #d7f970;
/* rgb */ color: rgb(215, 249, 112);
/* oklch */ color: oklch(93.1% 0.167 121.4);
Tailwind
colors: {
  custom: {
    50: '#e6fb9d',
    500: '#d7f970',
    950: '#000000',
  },
}
SCSS
$custom: #d7f970;
$custom-light: #e6fb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#d7f970",
  "rgb": {
    "r": 215,
    "g": 249,
    "b": 112
  },
  "hsl": {
    "h": 74.891,
    "s": 91.946,
    "l": 70.784
  },
  "oklch": {
    "l": 0.93065,
    "c": 0.16709,
    "h": 121.4
  },
  "luminance": 0.83368
}

Semantic roles & 50–950 ramp

primary
#D7F970
secondary
#6039D4
accent
#00E639
background
#FEFFFC
surface
#FDFFF5
border
#D5D7CF
text
#16170F
muted
#848580

Preview Lab

Preview with #D7F970

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

Preview Lab → · Contrast checker → · Palette generator →

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