#D8F072#D8F072

#D8F072 is a very light, vivid yellow-green. Relative luminance 0.781; OKLCH L 91.2% C 0.154 H 118.5°. Best body text is #000000 at 16.63:1 contrast (WCAG AA passes).

Color values

HEX#D8F072
RGBrgb(216, 240, 114)
HSLhsl(71, 81%, 69%)
HSVhsv(71, 53%, 94%)
CMYKcmyk(10%, 0%, 52.5%, 5.9%)
CIE-LABlab(90.84, -25.69, 57.48)
CIE-LCHlch(90.84, 62.95, 114.08°)
OKLaboklab(91.21% -0.0734 0.1352)
OKLCHoklch(91.21% 0.154 118.5)
XYZxyz(62.5170, 78.1344, 27.7043)
Luminance0.7813 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8F072 #8A72F0
analogous
#F0C972 #D8F072 #99F072
triadic
#D8F072 #72D8F0 #F072D8
tetradic
#D8F072 #72F0C9 #8A72F0 #F07299
square
#D8F072 #72F0C9 #8A72F0 #F07299
split-complementary
#D8F072 #7299F0 #C972F0
monochromatic
#AED116 #C9EA3B #D8F072 #E7F6A9 #F7FCE1

Accessibility & contrast

On white

1.26
#D8F072 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.63
#D8F072 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8F072
16.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8F072#FFFFFF#000000##000000
##D8F0721.001.2616.6316.63
#FFFFFF1.261.0021.0021.00
#00000016.6321.001.001.00
##00000016.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE566
Deuteranopia (green-blind)
#FBE579
Tritanopia (blue-blind)
#E3E5D4
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #d8f072;
/* rgb */ color: rgb(216, 240, 114);
/* oklch */ color: oklch(91.2% 0.154 118.5);
Tailwind
colors: {
  custom: {
    50: '#e6f59e',
    500: '#d8f072',
    950: '#000000',
  },
}
SCSS
$custom: #d8f072;
$custom-light: #e6f59e;
$custom-dark: #000000;
JSON
{
  "hex": "#d8f072",
  "rgb": {
    "r": 216,
    "g": 240,
    "b": 114
  },
  "hsl": {
    "h": 71.429,
    "s": 80.769,
    "l": 69.412
  },
  "oklch": {
    "l": 0.91214,
    "c": 0.15381,
    "h": 118.5
  },
  "luminance": 0.78134
}

Semantic roles & 50–950 ramp

primary
#D8F072
secondary
#583DC9
accent
#08DD31
background
#FEFFFC
surface
#FDFEF5
border
#D5D6CF
text
#16170F
muted
#848580

Preview Lab

Preview with #D8F072

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

Preview Lab → · Contrast checker → · Palette generator →

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