#D8F052#D8F052

#D8F052 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.51:1 contrast (WCAG AA passes).

Color values

HEX#D8F052
RGBrgb(216, 240, 82)
HSLhsl(69, 84%, 63%)
HSVhsv(69, 66%, 94%)
CMYKcmyk(10%, 0%, 65.8%, 5.9%)
CIE-LABlab(90.56, -28.03, 70.55)
CIE-LCHlch(90.56, 75.92, 111.67°)
OKLaboklab(90.9% -0.083 0.1592)
OKLCHoklch(90.9% 0.18 117.5)
XYZxyz(61.0032, 77.5289, 19.7319)
Luminance0.7753 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8F052 #6A52F0
analogous
#F0B952 #D8F052 #89F052
triadic
#D8F052 #52D8F0 #F052D8
tetradic
#D8F052 #52F0B9 #6A52F0 #F05289
square
#D8F052 #52F0B9 #6A52F0 #F05289
split-complementary
#D8F052 #5289F0 #B952F0
monochromatic
#9EB810 #CBEB1A #D8F052 #E5F58A #F1FAC3

Accessibility & contrast

On white

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

On black

16.51
#D8F052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8F052
16.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8F052#FFFFFF#000000##000000
##D8F0521.001.2716.5116.51
#FFFFFF1.271.0021.0021.00
#00000016.5121.001.001.00
##00000016.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8f052;
/* rgb */ color: rgb(216, 240, 82);
/* oklch */ color: oklch(90.9% 0.180 117.5);
Tailwind
colors: {
  custom: {
    50: '#e7f48b',
    500: '#d8f052',
    950: '#000000',
  },
}
SCSS
$custom: #d8f052;
$custom-light: #e7f48b;
$custom-dark: #000000;
JSON
{
  "hex": "#d8f052",
  "rgb": {
    "r": 216,
    "g": 240,
    "b": 82
  },
  "hsl": {
    "h": 69.114,
    "s": 84.043,
    "l": 63.137
  },
  "oklch": {
    "l": 0.90903,
    "c": 0.17952,
    "h": 117.5
  },
  "luminance": 0.77528
}

Semantic roles & 50–950 ramp

primary
#D8F052
secondary
#442FB7
accent
#05E026
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16170C
muted
#85857F

Preview Lab

Preview with #D8F052

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

Preview Lab → · Contrast checker → · Palette generator →

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