#D9E052#D9E052

#D9E052 is a very light, vivid yellow. Relative luminance 0.687; OKLCH L 87.5% C 0.162 H 112.0°. Best body text is #000000 at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#D9E052
RGBrgb(217, 224, 82)
HSLhsl(63, 70%, 60%)
HSVhsv(63, 63%, 88%)
CMYKcmyk(3.1%, 0%, 63.4%, 12.2%)
CIE-LABlab(86.34, -19.99, 66.19)
CIE-LCHlch(86.34, 69.14, 106.80°)
OKLaboklab(87.54% -0.0606 0.15)
OKLCHoklch(87.54% 0.162 112)
XYZxyz(56.7955, 68.6735, 18.2445)
Luminance0.6867 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9E052 #5952E0
analogous
#E0A052 #D9E052 #92E052
triadic
#D9E052 #52D9E0 #E052D9
tetradic
#D9E052 #52E0A0 #5952E0 #E05292
square
#D9E052 #52E0A0 #5952E0 #E05292
split-complementary
#D9E052 #5292E0 #A052E0
monochromatic
#959C1C #C7D025 #D9E052 #E4E986 #F0F3BA

Accessibility & contrast

On white

1.43
#D9E052 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.73
#D9E052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9E052
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9E052#FFFFFF#000000##000000
##D9E0521.001.4314.7314.73
#FFFFFF1.431.0021.0021.00
#00000014.7321.001.001.00
##00000014.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D63F
Deuteranopia (green-blind)
#F1DA5B
Tritanopia (blue-blind)
#E7D3C3
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #d9e052;
/* rgb */ color: rgb(217, 224, 82);
/* oklch */ color: oklch(87.5% 0.162 112.0);
Tailwind
colors: {
  custom: {
    50: '#e8e989',
    500: '#d9e052',
    950: '#000000',
  },
}
SCSS
$custom: #d9e052;
$custom-light: #e8e989;
$custom-dark: #000000;
JSON
{
  "hex": "#d9e052",
  "rgb": {
    "r": 217,
    "g": 224,
    "b": 82
  },
  "hsl": {
    "h": 62.958,
    "s": 69.608,
    "l": 60
  },
  "oklch": {
    "l": 0.87537,
    "c": 0.16173,
    "h": 112
  },
  "luminance": 0.68672
}

Semantic roles & 50–950 ramp

primary
#D9E052
secondary
#3C379F
accent
#3BEC44
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16160C
muted
#85847F

Preview Lab

Preview with #D9E052

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

Preview Lab → · Contrast checker → · Palette generator →

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