#D8F451#D8F451

#D8F451 is a very light, vivid yellow-green. Relative luminance 0.799; OKLCH L 91.8% C 0.185 H 118.6°. Best body text is #000000 at 16.98:1 contrast (WCAG AA passes).

Color values

HEX#D8F451
RGBrgb(216, 244, 81)
HSLhsl(70, 88%, 64%)
HSVhsv(70, 67%, 96%)
CMYKcmyk(11.5%, 0%, 66.8%, 4.3%)
CIE-LABlab(91.64, -29.96, 72.03)
CIE-LCHlch(91.64, 78.01, 112.59°)
OKLaboklab(91.76% -0.0885 0.1621)
OKLCHoklch(91.76% 0.185 118.6)
XYZxyz(62.1560, 79.8949, 19.9298)
Luminance0.7989 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8F451 #6D51F4
analogous
#F4BE51 #D8F451 #86F451
triadic
#D8F451 #51D8F4 #F451D8
tetradic
#D8F451 #51F4BE #6D51F4 #F45186
square
#D8F451 #51F4BE #6D51F4 #F45186
split-complementary
#D8F451 #5186F4 #BE51F4
monochromatic
#A0BF0C #CBF017 #D8F451 #E5F88B #F2FBC4

Accessibility & contrast

On white

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

On black

16.98
#D8F451 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8F451
16.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8F451#FFFFFF#000000##000000
##D8F4511.001.2416.9816.98
#FFFFFF1.241.0021.0021.00
#00000016.9821.001.001.00
##00000016.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE739
Deuteranopia (green-blind)
#FFE85D
Tritanopia (blue-blind)
#E4E7D3
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #d8f451;
/* rgb */ color: rgb(216, 244, 81);
/* oklch */ color: oklch(91.8% 0.185 118.6);
Tailwind
colors: {
  custom: {
    50: '#e7f78a',
    500: '#d8f451',
    950: '#000000',
  },
}
SCSS
$custom: #d8f451;
$custom-light: #e7f78a;
$custom-dark: #000000;
JSON
{
  "hex": "#d8f451",
  "rgb": {
    "r": 216,
    "g": 244,
    "b": 81
  },
  "hsl": {
    "h": 70.307,
    "s": 88.108,
    "l": 63.725
  },
  "oklch": {
    "l": 0.91764,
    "c": 0.18469,
    "h": 118.6
  },
  "luminance": 0.79894
}

Semantic roles & 50–950 ramp

primary
#D8F451
secondary
#452DBD
accent
#01E528
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16170C
muted
#85857F

Preview Lab

Preview with #D8F451

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

Preview Lab → · Contrast checker → · Palette generator →

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