#D7F960#D7F960

#D7F960 is a very light, vivid yellow-green. Relative luminance 0.830; OKLCH L 92.9% C 0.180 H 120.7°. Best body text is #000000 at 17.61:1 contrast (WCAG AA passes).

Color values

HEX#D7F960
RGBrgb(215, 249, 96)
HSLhsl(73, 93%, 68%)
HSVhsv(73, 61%, 98%)
CMYKcmyk(13.7%, 0%, 61.4%, 2.4%)
CIE-LABlab(93.03, -31.70, 67.65)
CIE-LCHlch(93.03, 74.70, 115.11°)
OKLaboklab(92.91% -0.0919 0.155)
OKLCHoklch(92.91% 0.18 120.7)
XYZxyz(64.0122, 83.0431, 23.7207)
Luminance0.8304 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7F960 #8260F9
analogous
#F9CE60 #D7F960 #8BF960
triadic
#D7F960 #60D7F9 #F960D7
tetradic
#D7F960 #60F9CE #8260F9 #F9608B
square
#D7F960 #60F9CE #8260F9 #F9608B
split-complementary
#D7F960 #608BF9 #CE60F9
monochromatic
#A9D708 #C8F725 #D7F960 #E6FB9B #F5FDD6

Accessibility & contrast

On white

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

On black

17.61
#D7F960 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7F960
17.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7F960#FFFFFF#000000##000000
##D7F9601.001.1917.6117.61
#FFFFFF1.191.0021.0021.00
#00000017.6121.001.001.00
##00000017.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB4D
Deuteranopia (green-blind)
#FFEB6B
Tritanopia (blue-blind)
#E2EDD9
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #d7f960;
/* rgb */ color: rgb(215, 249, 96);
/* oklch */ color: oklch(92.9% 0.180 120.7);
Tailwind
colors: {
  custom: {
    50: '#e6fb93',
    500: '#d7f960',
    950: '#000000',
  },
}
SCSS
$custom: #d7f960;
$custom-light: #e6fb93;
$custom-dark: #000000;
JSON
{
  "hex": "#d7f960",
  "rgb": {
    "r": 215,
    "g": 249,
    "b": 96
  },
  "hsl": {
    "h": 73.333,
    "s": 92.727,
    "l": 67.647
  },
  "oklch": {
    "l": 0.92905,
    "c": 0.18014,
    "h": 120.7
  },
  "luminance": 0.83043
}

Semantic roles & 50–950 ramp

primary
#D7F960
secondary
#512CD1
accent
#00E633
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#16170D
muted
#85857F

Preview Lab

Preview with #D7F960

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

Preview Lab → · Contrast checker → · Palette generator →

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