#D8F670#D8F670

#D8F670 is a very light, vivid yellow-green. Relative luminance 0.817; OKLCH L 92.5% C 0.163 H 120.2°. Best body text is #000000 at 17.34:1 contrast (WCAG AA passes).

Color values

HEX#D8F670
RGBrgb(216, 246, 112)
HSLhsl(73, 88%, 70%)
HSVhsv(73, 54%, 96%)
CMYKcmyk(12.2%, 0%, 54.5%, 3.5%)
CIE-LABlab(92.43, -28.69, 60.21)
CIE-LCHlch(92.43, 66.70, 115.47°)
OKLaboklab(92.49% -0.082 0.1409)
OKLCHoklch(92.49% 0.163 120.2)
XYZxyz(64.2000, 81.6805, 27.7099)
Luminance0.8168 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8F670 #8E70F6
analogous
#F6D170 #D8F670 #95F670
triadic
#D8F670 #70D8F6 #F670D8
tetradic
#D8F670 #70F6D1 #8E70F6 #F67095
square
#D8F670 #70F6D1 #8E70F6 #F67095
split-complementary
#D8F670 #7095F6 #D170F6
monochromatic
#AFDE0E #C8F236 #D8F670 #E8FAAA #F7FDE2

Accessibility & contrast

On white

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

On black

17.34
#D8F670 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8F670
17.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8F670#FFFFFF#000000##000000
##D8F6701.001.2117.3417.34
#FFFFFF1.211.0021.0021.00
#00000017.3421.001.001.00
##00000017.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA62
Deuteranopia (green-blind)
#FFEA78
Tritanopia (blue-blind)
#E2EBD8
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #d8f670;
/* rgb */ color: rgb(216, 246, 112);
/* oklch */ color: oklch(92.5% 0.163 120.2);
Tailwind
colors: {
  custom: {
    50: '#e6f99d',
    500: '#d8f670',
    950: '#000000',
  },
}
SCSS
$custom: #d8f670;
$custom-light: #e6f99d;
$custom-dark: #000000;
JSON
{
  "hex": "#d8f670",
  "rgb": {
    "r": 216,
    "g": 246,
    "b": 112
  },
  "hsl": {
    "h": 73.433,
    "s": 88.158,
    "l": 70.196
  },
  "oklch": {
    "l": 0.92486,
    "c": 0.16302,
    "h": 120.2
  },
  "luminance": 0.8168
}

Semantic roles & 50–950 ramp

primary
#D8F670
secondary
#5C3AD0
accent
#01E534
background
#FEFFFC
surface
#FDFFF5
border
#D5D7CF
text
#16170F
muted
#848580

Preview Lab

Preview with #D8F670

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

Preview Lab → · Contrast checker → · Palette generator →

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