#D9F052#D9F052

#D9F052 is a very light, vivid yellow. Relative luminance 0.777; OKLCH L 91.0% C 0.179 H 117.2°. Best body text is #000000 at 16.54:1 contrast (WCAG AA passes).

Color values

HEX#D9F052
RGBrgb(217, 240, 82)
HSLhsl(69, 84%, 63%)
HSVhsv(69, 66%, 94%)
CMYKcmyk(9.6%, 0%, 65.8%, 5.9%)
CIE-LABlab(90.63, -27.64, 70.65)
CIE-LCHlch(90.63, 75.86, 111.37°)
OKLaboklab(90.98% -0.082 0.1593)
OKLCHoklch(90.98% 0.179 117.2)
XYZxyz(61.2997, 77.6818, 19.7458)
Luminance0.7768 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9F052 #6952F0
analogous
#F0B852 #D9F052 #8AF052
triadic
#D9F052 #52D9F0 #F052D9
tetradic
#D9F052 #52F0B8 #6952F0 #F0528A
square
#D9F052 #52F0B8 #6952F0 #F0528A
split-complementary
#D9F052 #528AF0 #B852F0
monochromatic
#9FB810 #CDEB1A #D9F052 #E5F58A #F2FAC3

Accessibility & contrast

On white

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

On black

16.54
#D9F052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9F052
16.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9F052#FFFFFF#000000##000000
##D9F0521.001.2716.5416.54
#FFFFFF1.271.0021.0021.00
#00000016.5421.001.001.00
##00000016.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d9f052;
/* rgb */ color: rgb(217, 240, 82);
/* oklch */ color: oklch(91.0% 0.179 117.2);
Tailwind
colors: {
  custom: {
    50: '#e8f48b',
    500: '#d9f052',
    950: '#000000',
  },
}
SCSS
$custom: #d9f052;
$custom-light: #e8f48b;
$custom-dark: #000000;
JSON
{
  "hex": "#d9f052",
  "rgb": {
    "r": 217,
    "g": 240,
    "b": 82
  },
  "hsl": {
    "h": 68.734,
    "s": 84.043,
    "l": 63.137
  },
  "oklch": {
    "l": 0.90977,
    "c": 0.1792,
    "h": 117.2
  },
  "luminance": 0.77681
}

Semantic roles & 50–950 ramp

primary
#D9F052
secondary
#432FB7
accent
#05E025
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16170C
muted
#85857F

Preview Lab

Preview with #D9F052

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

Preview Lab → · Contrast checker → · Palette generator →

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