#D8F968#D8F968

#D8F968 is a very light, vivid yellow-green. Relative luminance 0.834; OKLCH L 93.1% C 0.173 H 120.7°. Best body text is #000000 at 17.67:1 contrast (WCAG AA passes).

Color values

HEX#D8F968
RGBrgb(216, 249, 104)
HSLhsl(74, 92%, 69%)
HSVhsv(74, 58%, 98%)
CMYKcmyk(13.3%, 0%, 58.2%, 2.4%)
CIE-LABlab(93.17, -30.73, 64.50)
CIE-LCHlch(93.17, 71.44, 115.47°)
OKLaboklab(93.05% -0.0885 0.1492)
OKLCHoklch(93.05% 0.173 120.7)
XYZxyz(64.6940, 83.3499, 25.7740)
Luminance0.8335 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8F968 #8968F9
analogous
#F9D268 #D8F968 #90F968
triadic
#D8F968 #68D8F9 #F968D8
tetradic
#D8F968 #68F9D2 #8968F9 #F96890
square
#D8F968 #68F9D2 #8968F9 #F96890
split-complementary
#D8F968 #6890F9 #D268F9
monochromatic
#ADDE09 #C9F72D #D8F968 #E7FBA3 #F6FEDE

Accessibility & contrast

On white

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

On black

17.67
#D8F968 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8F968
17.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8F968#FFFFFF#000000##000000
##D8F9681.001.1917.6717.67
#FFFFFF1.191.0021.0021.00
#00000017.6721.001.001.00
##00000017.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC58
Deuteranopia (green-blind)
#FFEC71
Tritanopia (blue-blind)
#E3EDDA
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #d8f968;
/* rgb */ color: rgb(216, 249, 104);
/* oklch */ color: oklch(93.1% 0.173 120.7);
Tailwind
colors: {
  custom: {
    50: '#e7fb98',
    500: '#d8f968',
    950: '#000000',
  },
}
SCSS
$custom: #d8f968;
$custom-light: #e7fb98;
$custom-dark: #000000;
JSON
{
  "hex": "#d8f968",
  "rgb": {
    "r": 216,
    "g": 249,
    "b": 104
  },
  "hsl": {
    "h": 73.655,
    "s": 92.357,
    "l": 69.216
  },
  "oklch": {
    "l": 0.93052,
    "c": 0.17348,
    "h": 120.7
  },
  "luminance": 0.8335
}

Semantic roles & 50–950 ramp

primary
#D8F968
secondary
#5732D3
accent
#00E634
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#16170E
muted
#85857F

Preview Lab

Preview with #D8F968

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

Preview Lab → · Contrast checker → · Palette generator →

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