#D8F28A#D8F28A

#D8F28A is a very light, vivid yellow-green. Relative luminance 0.799; OKLCH L 92.0% C 0.133 H 120.6°. Best body text is #000000 at 16.99:1 contrast (WCAG AA passes).

Color values

HEX#D8F28A
RGBrgb(216, 242, 138)
HSLhsl(75, 80%, 75%)
HSVhsv(75, 43%, 95%)
CMYKcmyk(10.7%, 0%, 43%, 5.1%)
CIE-LABlab(91.66, -24.30, 47.24)
CIE-LCHlch(91.66, 53.12, 117.22°)
OKLaboklab(91.96% -0.0675 0.1143)
OKLCHoklch(91.96% 0.133 120.6)
XYZxyz(64.6586, 79.9383, 36.0631)
Luminance0.7994 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8F28A #A48AF2
analogous
#F2D88A #D8F28A #A4F28A
triadic
#D8F28A #8AD8F2 #F28AD8
tetradic
#D8F28A #8AF2D8 #A48AF2 #F28AA4
square
#D8F28A #8AF2D8 #A48AF2 #F28AA4
split-complementary
#D8F28A #8AA4F2 #D88AF2
monochromatic
#B3E61C #C6EC53 #D8F28A #EAF8C1 #F6FCE3

Accessibility & contrast

On white

1.24
#D8F28A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.99
#D8F28A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8F28A
16.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8F28A#FFFFFF#000000##000000
##D8F28A1.001.2416.9916.99
#FFFFFF1.241.0021.0021.00
#00000016.9921.001.001.00
##00000016.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE782
Deuteranopia (green-blind)
#FAE78F
Tritanopia (blue-blind)
#E0E8D9
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #d8f28a;
/* rgb */ color: rgb(216, 242, 138);
/* oklch */ color: oklch(92.0% 0.133 120.6);
Tailwind
colors: {
  custom: {
    50: '#e5f6ae',
    500: '#d8f28a',
    950: '#000000',
  },
}
SCSS
$custom: #d8f28a;
$custom-light: #e5f6ae;
$custom-dark: #000000;
JSON
{
  "hex": "#d8f28a",
  "rgb": {
    "r": 216,
    "g": 242,
    "b": 138
  },
  "hsl": {
    "h": 75,
    "s": 80,
    "l": 74.51
  },
  "oklch": {
    "l": 0.91959,
    "c": 0.13277,
    "h": 120.6
  },
  "luminance": 0.79938
}

Semantic roles & 50–950 ramp

primary
#D8F28A
secondary
#7152CE
accent
#09DC3E
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#161710
muted
#848581

Preview Lab

Preview with #D8F28A

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

Preview Lab → · Contrast checker → · Palette generator →

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