#D8F762#D8F762

#D8F762 is a very light, vivid yellow-green. Relative luminance 0.820; OKLCH L 92.6% C 0.176 H 119.9°. Best body text is #000000 at 17.40:1 contrast (WCAG AA passes).

Color values

HEX#D8F762
RGBrgb(216, 247, 98)
HSLhsl(72, 90%, 68%)
HSVhsv(72, 60%, 97%)
CMYKcmyk(12.6%, 0%, 60.3%, 3.1%)
CIE-LABlab(92.58, -30.25, 66.35)
CIE-LCHlch(92.58, 72.92, 114.51°)
OKLaboklab(92.56% -0.0877 0.1524)
OKLCHoklch(92.56% 0.176 119.9)
XYZxyz(63.7852, 82.0026, 24.0207)
Luminance0.8200 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8F762 #8162F7
analogous
#F7CB62 #D8F762 #8EF762
triadic
#D8F762 #62D8F7 #F762D8
tetradic
#D8F762 #62F7CB #8162F7 #F7628E
square
#D8F762 #62F7CB #8162F7 #F7628E
split-complementary
#D8F762 #628EF7 #CB62F7
monochromatic
#AAD40B #CAF428 #D8F762 #E6FA9C #F5FDD6

Accessibility & contrast

On white

1.21
#D8F762 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.40
#D8F762 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8F762
17.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8F762#FFFFFF#000000##000000
##D8F7621.001.2117.4017.40
#FFFFFF1.211.0021.0021.00
#00000017.4021.001.001.00
##00000017.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA50
Deuteranopia (green-blind)
#FFEA6C
Tritanopia (blue-blind)
#E3EBD8
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #d8f762;
/* rgb */ color: rgb(216, 247, 98);
/* oklch */ color: oklch(92.6% 0.176 119.9);
Tailwind
colors: {
  custom: {
    50: '#e7f994',
    500: '#d8f762',
    950: '#000000',
  },
}
SCSS
$custom: #d8f762;
$custom-light: #e7f994;
$custom-dark: #000000;
JSON
{
  "hex": "#d8f762",
  "rgb": {
    "r": 216,
    "g": 247,
    "b": 98
  },
  "hsl": {
    "h": 72.483,
    "s": 90.303,
    "l": 67.647
  },
  "oklch": {
    "l": 0.92559,
    "c": 0.17587,
    "h": 119.9
  },
  "luminance": 0.82002
}

Semantic roles & 50–950 ramp

primary
#D8F762
secondary
#502FCF
accent
#00E630
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#16170E
muted
#85857F

Preview Lab

Preview with #D8F762

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

Preview Lab → · Contrast checker → · Palette generator →

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