#D8F051#D8F051

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

Color values

HEX#D8F051
RGBrgb(216, 240, 81)
HSLhsl(69, 84%, 63%)
HSVhsv(69, 66%, 94%)
CMYKcmyk(10%, 0%, 66.3%, 5.9%)
CIE-LABlab(90.56, -28.09, 70.92)
CIE-LCHlch(90.56, 76.28, 111.61°)
OKLaboklab(90.9% -0.0833 0.1598)
OKLCHoklch(90.9% 0.18 117.5)
XYZxyz(60.9655, 77.5138, 19.5330)
Luminance0.7751 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8F051 #6951F0
analogous
#F0B951 #D8F051 #88F051
triadic
#D8F051 #51D8F0 #F051D8
tetradic
#D8F051 #51F0B9 #6951F0 #F05188
square
#D8F051 #51F0B9 #6951F0 #F05188
split-complementary
#D8F051 #5188F0 #B951F0
monochromatic
#9EB710 #CBEB19 #D8F051 #E5F589 #F1FAC2

Accessibility & contrast

On white

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

On black

16.50
#D8F051 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8F051
16.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8F051#FFFFFF#000000##000000
##D8F0511.001.2716.5016.50
#FFFFFF1.271.0021.0021.00
#00000016.5021.001.001.00
##00000016.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8f051;
/* rgb */ color: rgb(216, 240, 81);
/* oklch */ color: oklch(90.9% 0.180 117.5);
Tailwind
colors: {
  custom: {
    50: '#e7f48a',
    500: '#d8f051',
    950: '#000000',
  },
}
SCSS
$custom: #d8f051;
$custom-light: #e7f48a;
$custom-dark: #000000;
JSON
{
  "hex": "#d8f051",
  "rgb": {
    "r": 216,
    "g": 240,
    "b": 81
  },
  "hsl": {
    "h": 69.057,
    "s": 84.127,
    "l": 62.941
  },
  "oklch": {
    "l": 0.90896,
    "c": 0.1802,
    "h": 117.5
  },
  "luminance": 0.77513
}

Semantic roles & 50–950 ramp

primary
#D8F051
secondary
#432FB6
accent
#05E126
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16170C
muted
#85857F

Preview Lab

Preview with #D8F051

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

Preview Lab → · Contrast checker → · Palette generator →

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