#D8F45B#D8F45B

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

Color values

HEX#D8F45B
RGBrgb(216, 244, 91)
HSLhsl(71, 87%, 66%)
HSVhsv(71, 63%, 96%)
CMYKcmyk(11.5%, 0%, 62.7%, 4.3%)
CIE-LABlab(91.71, -29.34, 68.25)
CIE-LCHlch(91.71, 74.29, 113.26°)
OKLaboklab(91.85% -0.0858 0.1556)
OKLCHoklch(91.85% 0.178 118.9)
XYZxyz(62.5590, 80.0560, 22.0522)
Luminance0.8006 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8F45B #775BF4
analogous
#F4C35B #D8F45B #8BF45B
triadic
#D8F45B #5BD8F4 #F45BD8
tetradic
#D8F45B #5BF4C3 #775BF4 #F45B8B
square
#D8F45B #5BF4C3 #775BF4 #F45B8B
split-complementary
#D8F45B #5B8BF4 #C35BF4
monochromatic
#A5C70D #CAF022 #D8F45B #E6F894 #F3FCCE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8F45B#FFFFFF#000000##000000
##D8F45B1.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)
#FFE747
Deuteranopia (green-blind)
#FFE866
Tritanopia (blue-blind)
#E4E8D4
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #d8f45b;
/* rgb */ color: rgb(216, 244, 91);
/* oklch */ color: oklch(91.8% 0.178 118.9);
Tailwind
colors: {
  custom: {
    50: '#e7f790',
    500: '#d8f45b',
    950: '#000000',
  },
}
SCSS
$custom: #d8f45b;
$custom-light: #e7f790;
$custom-dark: #000000;
JSON
{
  "hex": "#d8f45b",
  "rgb": {
    "r": 216,
    "g": 244,
    "b": 91
  },
  "hsl": {
    "h": 70.98,
    "s": 87.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.91845,
    "c": 0.17768,
    "h": 118.9
  },
  "luminance": 0.80056
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D8F45B

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

Preview Lab → · Contrast checker → · Palette generator →

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