#D8F74C#D8F74C

#D8F74C is a very light, vivid yellow-green. Relative luminance 0.816; OKLCH L 92.4% C 0.191 H 119.3°. Best body text is #000000 at 17.33:1 contrast (WCAG AA passes).

Color values

HEX#D8F74C
RGBrgb(216, 247, 76)
HSLhsl(71, 91%, 63%)
HSVhsv(71, 69%, 97%)
CMYKcmyk(12.6%, 0%, 69.2%, 3.1%)
CIE-LABlab(92.42, -31.63, 74.61)
CIE-LCHlch(92.42, 81.04, 112.97°)
OKLaboklab(92.38% -0.0935 0.1668)
OKLCHoklch(92.38% 0.191 119.3)
XYZxyz(62.8854, 81.6426, 19.2818)
Luminance0.8164 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8F74C #6B4CF7
analogous
#F7C04C #D8F74C #82F74C
triadic
#D8F74C #4CD8F7 #F74CD8
tetradic
#D8F74C #4CF7C0 #6B4CF7 #F74C82
square
#D8F74C #4CF7C0 #6B4CF7 #F74C82
split-complementary
#D8F74C #4C82F7 #C04CF7
monochromatic
#9FC009 #CBF411 #D8F74C #E5FA87 #F2FCC1

Accessibility & contrast

On white

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

On black

17.33
#D8F74C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8F74C
17.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8F74C#FFFFFF#000000##000000
##D8F74C1.001.2117.3317.33
#FFFFFF1.211.0021.0021.00
#00000017.3321.001.001.00
##00000017.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE92F
Deuteranopia (green-blind)
#FFEA5A
Tritanopia (blue-blind)
#E4EAD5
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #d8f74c;
/* rgb */ color: rgb(216, 247, 76);
/* oklch */ color: oklch(92.4% 0.191 119.3);
Tailwind
colors: {
  custom: {
    50: '#e8f988',
    500: '#d8f74c',
    950: '#000000',
  },
}
SCSS
$custom: #d8f74c;
$custom-light: #e8f988;
$custom-dark: #000000;
JSON
{
  "hex": "#d8f74c",
  "rgb": {
    "r": 216,
    "g": 247,
    "b": 76
  },
  "hsl": {
    "h": 70.877,
    "s": 91.444,
    "l": 63.333
  },
  "oklch": {
    "l": 0.9238,
    "c": 0.19125,
    "h": 119.3
  },
  "luminance": 0.81642
}

Semantic roles & 50–950 ramp

primary
#D8F74C
secondary
#442ABE
accent
#00E62A
background
#FFFFFC
surface
#FEFFF4
border
#D6D7CE
text
#16170C
muted
#85857F

Preview Lab

Preview with #D8F74C

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

Preview Lab → · Contrast checker → · Palette generator →

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