#D8F45C#D8F45C

#D8F45C is a very light, vivid yellow-green. Relative luminance 0.801; OKLCH L 91.9% C 0.177 H 118.9°. Best body text is #000000 at 17.01:1 contrast (WCAG AA passes).

Color values

HEX#D8F45C
RGBrgb(216, 244, 92)
HSLhsl(71, 87%, 66%)
HSVhsv(71, 62%, 96%)
CMYKcmyk(11.5%, 0%, 62.3%, 4.3%)
CIE-LABlab(91.72, -29.27, 67.86)
CIE-LCHlch(91.72, 73.91, 113.33°)
OKLaboklab(91.85% -0.0855 0.1549)
OKLCHoklch(91.85% 0.177 118.9)
XYZxyz(62.6024, 80.0734, 22.2809)
Luminance0.8007 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8F45C #785CF4
analogous
#F4C45C #D8F45C #8CF45C
triadic
#D8F45C #5CD8F4 #F45CD8
tetradic
#D8F45C #5CF4C4 #785CF4 #F45C8C
square
#D8F45C #5CF4C4 #785CF4 #F45C8C
split-complementary
#D8F45C #5C8CF4 #C45CF4
monochromatic
#A6C80E #CAF023 #D8F45C #E6F895 #F3FCCF

Accessibility & contrast

On white

1.23
#D8F45C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.01
#D8F45C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8F45C
17.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8F45C#FFFFFF#000000##000000
##D8F45C1.001.2317.0117.01
#FFFFFF1.231.0021.0021.00
#00000017.0121.001.001.00
##00000017.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE749
Deuteranopia (green-blind)
#FFE867
Tritanopia (blue-blind)
#E4E8D4
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #d8f45c;
/* rgb */ color: rgb(216, 244, 92);
/* oklch */ color: oklch(91.9% 0.177 118.9);
Tailwind
colors: {
  custom: {
    50: '#e7f791',
    500: '#d8f45c',
    950: '#000000',
  },
}
SCSS
$custom: #d8f45c;
$custom-light: #e7f791;
$custom-dark: #000000;
JSON
{
  "hex": "#d8f45c",
  "rgb": {
    "r": 216,
    "g": 244,
    "b": 92
  },
  "hsl": {
    "h": 71.053,
    "s": 87.356,
    "l": 65.882
  },
  "oklch": {
    "l": 0.91854,
    "c": 0.17693,
    "h": 118.9
  },
  "luminance": 0.80073
}

Semantic roles & 50–950 ramp

primary
#D8F45C
secondary
#4B2FC5
accent
#02E42B
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16170D
muted
#85857F

Preview Lab

Preview with #D8F45C

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

Preview Lab → · Contrast checker → · Palette generator →

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