#D8F792#D8F792

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

Color values

HEX#D8F792
RGBrgb(216, 247, 146)
HSLhsl(78, 86%, 77%)
HSVhsv(78, 41%, 97%)
CMYKcmyk(12.6%, 0%, 40.9%, 3.1%)
CIE-LABlab(93.10, -25.78, 45.19)
CIE-LCHlch(93.10, 52.03, 119.71°)
OKLaboklab(93.15% -0.0712 0.1101)
OKLCHoklch(93.15% 0.131 122.9)
XYZxyz(66.7678, 83.1956, 39.7294)
Luminance0.8320 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8F792 #B192F7
analogous
#F7E492 #D8F792 #A6F792
triadic
#D8F792 #92D8F7 #F792D8
tetradic
#D8F792 #92F7E4 #B192F7 #F792A6
square
#D8F792 #92F7E4 #B192F7 #F792A6
split-complementary
#D8F792 #92A6F7 #E492F7
monochromatic
#AFEF20 #C4F359 #D8F792 #ECFBCB #F5FDE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8F792#FFFFFF#000000##000000
##D8F7921.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)
#FFEC8A
Deuteranopia (green-blind)
#FEEB97
Tritanopia (blue-blind)
#DFEEDE
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #d8f792;
/* rgb */ color: rgb(216, 247, 146);
/* oklch */ color: oklch(93.2% 0.131 122.9);
Tailwind
colors: {
  custom: {
    50: '#e5fab3',
    500: '#d8f792',
    950: '#000000',
  },
}
SCSS
$custom: #d8f792;
$custom-light: #e5fab3;
$custom-dark: #000000;
JSON
{
  "hex": "#d8f792",
  "rgb": {
    "r": 216,
    "g": 247,
    "b": 146
  },
  "hsl": {
    "h": 78.416,
    "s": 86.325,
    "l": 77.059
  },
  "oklch": {
    "l": 0.9315,
    "c": 0.13111,
    "h": 122.9
  },
  "luminance": 0.83196
}

Semantic roles & 50–950 ramp

primary
#D8F792
secondary
#7E58D6
accent
#03E347
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#161711
muted
#848581

Preview Lab

Preview with #D8F792

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

Preview Lab → · Contrast checker → · Palette generator →

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