#D5E052#D5E052

#D5E052 is a very light, vivid yellow. Relative luminance 0.681; OKLCH L 87.2% C 0.163 H 113.5°. Best body text is #000000 at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#D5E052
RGBrgb(213, 224, 82)
HSLhsl(65, 70%, 60%)
HSVhsv(65, 63%, 88%)
CMYKcmyk(4.9%, 0%, 63.4%, 12.2%)
CIE-LABlab(86.04, -21.61, 65.78)
CIE-LCHlch(86.04, 69.24, 108.19°)
OKLaboklab(87.22% -0.0649 0.1492)
OKLCHoklch(87.22% 0.163 113.5)
XYZxyz(55.6207, 68.0677, 18.1894)
Luminance0.6807 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5E052 #5D52E0
analogous
#E0A452 #D5E052 #8EE052
triadic
#D5E052 #52D5E0 #E052D5
tetradic
#D5E052 #52E0A4 #5D52E0 #E0528E
square
#D5E052 #52E0A4 #5D52E0 #E0528E
split-complementary
#D5E052 #528EE0 #A452E0
monochromatic
#929C1C #C2D025 #D5E052 #E2E986 #EEF3BA

Accessibility & contrast

On white

1.44
#D5E052 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.61
#D5E052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5E052
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5E052#FFFFFF#000000##000000
##D5E0521.001.4414.6114.61
#FFFFFF1.441.0021.0021.00
#00000014.6121.001.001.00
##00000014.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D63F
Deuteranopia (green-blind)
#EFD95C
Tritanopia (blue-blind)
#E2D3C3
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #d5e052;
/* rgb */ color: rgb(213, 224, 82);
/* oklch */ color: oklch(87.2% 0.163 113.5);
Tailwind
colors: {
  custom: {
    50: '#e5e989',
    500: '#d5e052',
    950: '#000000',
  },
}
SCSS
$custom: #d5e052;
$custom-light: #e5e989;
$custom-dark: #000000;
JSON
{
  "hex": "#d5e052",
  "rgb": {
    "r": 213,
    "g": 224,
    "b": 82
  },
  "hsl": {
    "h": 64.648,
    "s": 69.608,
    "l": 60
  },
  "oklch": {
    "l": 0.87221,
    "c": 0.1627,
    "h": 113.5
  },
  "luminance": 0.68067
}

Semantic roles & 50–950 ramp

primary
#D5E052
secondary
#3F379F
accent
#3BEC49
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #D5E052

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

Preview Lab → · Contrast checker → · Palette generator →

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