#D8F04E#D8F04E

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

Color values

HEX#D8F04E
RGBrgb(216, 240, 78)
HSLhsl(69, 84%, 62%)
HSVhsv(69, 68%, 94%)
CMYKcmyk(10%, 0%, 67.5%, 5.9%)
CIE-LABlab(90.54, -28.27, 72.01)
CIE-LCHlch(90.54, 77.36, 111.43°)
OKLaboklab(90.87% -0.084 0.1616)
OKLCHoklch(90.87% 0.182 117.5)
XYZxyz(60.8555, 77.4698, 18.9536)
Luminance0.7747 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8F04E #664EF0
analogous
#F0B74E #D8F04E #87F04E
triadic
#D8F04E #4ED8F0 #F04ED8
tetradic
#D8F04E #4EF0B7 #664EF0 #F04E87
square
#D8F04E #4EF0B7 #664EF0 #F04E87
split-complementary
#D8F04E #4E87F0 #B74EF0
monochromatic
#9CB40F #CCEB16 #D8F04E #E4F586 #F1FABF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8F04E#FFFFFF#000000##000000
##D8F04E1.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)
#FFE335
Deuteranopia (green-blind)
#FDE55A
Tritanopia (blue-blind)
#E5E3D0
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #d8f04e;
/* rgb */ color: rgb(216, 240, 78);
/* oklch */ color: oklch(90.9% 0.182 117.5);
Tailwind
colors: {
  custom: {
    50: '#e7f488',
    500: '#d8f04e',
    950: '#000000',
  },
}
SCSS
$custom: #d8f04e;
$custom-light: #e7f488;
$custom-dark: #000000;
JSON
{
  "hex": "#d8f04e",
  "rgb": {
    "r": 216,
    "g": 240,
    "b": 78
  },
  "hsl": {
    "h": 68.889,
    "s": 84.375,
    "l": 62.353
  },
  "oklch": {
    "l": 0.90873,
    "c": 0.18219,
    "h": 117.5
  },
  "luminance": 0.77469
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D8F04E

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

Preview Lab → · Contrast checker → · Palette generator →

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