#D5E752#D5E752

#D5E752 is a very light, vivid yellow. Relative luminance 0.719; OKLCH L 88.7% C 0.170 H 115.9°. Best body text is #000000 at 15.38:1 contrast (WCAG AA passes).

Color values

HEX#D5E752
RGBrgb(213, 231, 82)
HSLhsl(67, 76%, 61%)
HSVhsv(67, 65%, 91%)
CMYKcmyk(7.8%, 0%, 64.5%, 9.4%)
CIE-LABlab(87.92, -24.97, 67.75)
CIE-LCHlch(87.92, 72.21, 110.23°)
OKLaboklab(88.73% -0.0743 0.1533)
OKLCHoklch(88.73% 0.17 115.9)
XYZxyz(57.5408, 71.9080, 18.8294)
Luminance0.7191 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5E752 #6452E7
analogous
#E7AF52 #D5E752 #8BE752
triadic
#D5E752 #52D5E7 #E752D5
tetradic
#D5E752 #52E7AF #6452E7 #E7528B
square
#D5E752 #52E7AF #6452E7 #E7528B
split-complementary
#D5E752 #528BE7 #AF52E7
monochromatic
#96A717 #C6DD1F #D5E752 #E2EE88 #EFF6BD

Accessibility & contrast

On white

1.37
#D5E752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.38
#D5E752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5E752
15.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5E752#FFFFFF#000000##000000
##D5E7521.001.3715.3815.38
#FFFFFF1.371.0021.0021.00
#00000015.3821.001.001.00
##00000015.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DC3E
Deuteranopia (green-blind)
#F5DE5C
Tritanopia (blue-blind)
#E2DAC9
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #d5e752;
/* rgb */ color: rgb(213, 231, 82);
/* oklch */ color: oklch(88.7% 0.170 115.9);
Tailwind
colors: {
  custom: {
    50: '#e5ee8a',
    500: '#d5e752',
    950: '#000000',
  },
}
SCSS
$custom: #d5e752;
$custom-light: #e5ee8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d5e752",
  "rgb": {
    "r": 213,
    "g": 231,
    "b": 82
  },
  "hsl": {
    "h": 67.248,
    "s": 75.635,
    "l": 61.373
  },
  "oklch": {
    "l": 0.88731,
    "c": 0.17041,
    "h": 115.9
  },
  "luminance": 0.71907
}

Semantic roles & 50–950 ramp

primary
#D5E752
secondary
#4234A9
accent
#0ED826
background
#FEFFFC
surface
#FDFEF4
border
#D5D6CE
text
#16160C
muted
#84857F

Preview Lab

Preview with #D5E752

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

Preview Lab → · Contrast checker → · Palette generator →

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