#D8F04D#D8F04D

#D8F04D is a very light, vivid yellow. Relative luminance 0.775; OKLCH L 90.9% C 0.183 H 117.5°. Best body text is #000000 at 16.49:1 contrast (WCAG AA passes).

Color values

HEX#D8F04D
RGBrgb(216, 240, 77)
HSLhsl(69, 84%, 62%)
HSVhsv(69, 68%, 94%)
CMYKcmyk(10%, 0%, 67.9%, 5.9%)
CIE-LABlab(90.53, -28.32, 72.37)
CIE-LCHlch(90.53, 77.72, 111.37°)
OKLaboklab(90.87% -0.0843 0.1623)
OKLCHoklch(90.87% 0.183 117.5)
XYZxyz(60.8199, 77.4556, 18.7662)
Luminance0.7745 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8F04D #654DF0
analogous
#F0B64D #D8F04D #87F04D
triadic
#D8F04D #4DD8F0 #F04DD8
tetradic
#D8F04D #4DF0B6 #654DF0 #F04D87
square
#D8F04D #4DF0B6 #654DF0 #F04D87
split-complementary
#D8F04D #4D87F0 #B64DF0
monochromatic
#9BB30F #CCEB15 #D8F04D #E4F585 #F1FABE

Accessibility & contrast

On white

1.27
#D8F04D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.49
#D8F04D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8F04D
16.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8F04D#FFFFFF#000000##000000
##D8F04D1.001.2716.4916.49
#FFFFFF1.271.0021.0021.00
#00000016.4921.001.001.00
##00000016.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE333
Deuteranopia (green-blind)
#FDE55A
Tritanopia (blue-blind)
#E5E3D0
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #d8f04d;
/* rgb */ color: rgb(216, 240, 77);
/* oklch */ color: oklch(90.9% 0.183 117.5);
Tailwind
colors: {
  custom: {
    50: '#e7f488',
    500: '#d8f04d',
    950: '#000000',
  },
}
SCSS
$custom: #d8f04d;
$custom-light: #e7f488;
$custom-dark: #000000;
JSON
{
  "hex": "#d8f04d",
  "rgb": {
    "r": 216,
    "g": 240,
    "b": 77
  },
  "hsl": {
    "h": 68.834,
    "s": 84.456,
    "l": 62.157
  },
  "oklch": {
    "l": 0.90866,
    "c": 0.18284,
    "h": 117.5
  },
  "luminance": 0.77455
}

Semantic roles & 50–950 ramp

primary
#D8F04D
secondary
#422EB3
accent
#05E125
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16170C
muted
#85857F

Preview Lab

Preview with #D8F04D

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

Preview Lab → · Contrast checker → · Palette generator →

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