#D8F960#D8F960

#D8F960 is a very light, vivid yellow-green. Relative luminance 0.832; OKLCH L 93.0% C 0.180 H 120.4°. Best body text is #000000 at 17.64:1 contrast (WCAG AA passes).

Color values

HEX#D8F960
RGBrgb(216, 249, 96)
HSLhsl(73, 93%, 68%)
HSVhsv(73, 61%, 98%)
CMYKcmyk(13.3%, 0%, 61.4%, 2.4%)
CIE-LABlab(93.10, -31.31, 67.74)
CIE-LCHlch(93.10, 74.62, 114.81°)
OKLaboklab(92.98% -0.0909 0.1551)
OKLCHoklch(92.98% 0.18 120.4)
XYZxyz(64.3068, 83.1950, 23.7345)
Luminance0.8319 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8F960 #8160F9
analogous
#F9CD60 #D8F960 #8CF960
triadic
#D8F960 #60D8F9 #F960D8
tetradic
#D8F960 #60F9CD #8160F9 #F9608C
square
#D8F960 #60F9CD #8160F9 #F9608C
split-complementary
#D8F960 #608CF9 #CD60F9
monochromatic
#AAD708 #CAF725 #D8F960 #E6FB9B #F5FDD6

Accessibility & contrast

On white

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

On black

17.64
#D8F960 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8F960
17.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8F960#FFFFFF#000000##000000
##D8F9601.001.1917.6417.64
#FFFFFF1.191.0021.0021.00
#00000017.6421.001.001.00
##00000017.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC4D
Deuteranopia (green-blind)
#FFEC6B
Tritanopia (blue-blind)
#E3EDD9
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #d8f960;
/* rgb */ color: rgb(216, 249, 96);
/* oklch */ color: oklch(93.0% 0.180 120.4);
Tailwind
colors: {
  custom: {
    50: '#e7fb93',
    500: '#d8f960',
    950: '#000000',
  },
}
SCSS
$custom: #d8f960;
$custom-light: #e7fb93;
$custom-dark: #000000;
JSON
{
  "hex": "#d8f960",
  "rgb": {
    "r": 216,
    "g": 249,
    "b": 96
  },
  "hsl": {
    "h": 72.941,
    "s": 92.727,
    "l": 67.647
  },
  "oklch": {
    "l": 0.92975,
    "c": 0.17979,
    "h": 120.4
  },
  "luminance": 0.83195
}

Semantic roles & 50–950 ramp

primary
#D8F960
secondary
#502CD1
accent
#00E631
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#16170E
muted
#85857F

Preview Lab

Preview with #D8F960

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

Preview Lab → · Contrast checker → · Palette generator →

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