#D4E752#D4E752

#D4E752 is a very light, vivid yellow. Relative luminance 0.718; OKLCH L 88.7% C 0.171 H 116.2°. Best body text is #000000 at 15.35:1 contrast (WCAG AA passes).

Color values

HEX#D4E752
RGBrgb(212, 231, 82)
HSLhsl(68, 76%, 61%)
HSVhsv(68, 65%, 91%)
CMYKcmyk(8.2%, 0%, 64.5%, 9.4%)
CIE-LABlab(87.85, -25.37, 67.66)
CIE-LCHlch(87.85, 72.26, 110.56°)
OKLaboklab(88.66% -0.0754 0.1532)
OKLCHoklch(88.66% 0.171 116.2)
XYZxyz(57.2516, 71.7588, 18.8159)
Luminance0.7176 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4E752 #6552E7
analogous
#E7B052 #D4E752 #8AE752
triadic
#D4E752 #52D4E7 #E752D4
tetradic
#D4E752 #52E7B0 #6552E7 #E7528A
square
#D4E752 #52E7B0 #6552E7 #E7528A
split-complementary
#D4E752 #528AE7 #B052E7
monochromatic
#95A717 #C5DD1F #D4E752 #E1EE88 #EFF6BD

Accessibility & contrast

On white

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

On black

15.35
#D4E752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4E752
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4E752#FFFFFF#000000##000000
##D4E7521.001.3715.3515.35
#FFFFFF1.371.0021.0021.00
#00000015.3521.001.001.00
##00000015.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4e752;
/* rgb */ color: rgb(212, 231, 82);
/* oklch */ color: oklch(88.7% 0.171 116.2);
Tailwind
colors: {
  custom: {
    50: '#e4ee8a',
    500: '#d4e752',
    950: '#000000',
  },
}
SCSS
$custom: #d4e752;
$custom-light: #e4ee8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d4e752",
  "rgb": {
    "r": 212,
    "g": 231,
    "b": 82
  },
  "hsl": {
    "h": 67.651,
    "s": 75.635,
    "l": 61.373
  },
  "oklch": {
    "l": 0.88655,
    "c": 0.17071,
    "h": 116.2
  },
  "luminance": 0.71758
}

Semantic roles & 50–950 ramp

primary
#D4E752
secondary
#4334A9
accent
#0ED827
background
#FEFFFC
surface
#FDFEF4
border
#D5D6CE
text
#16160C
muted
#84857F

Preview Lab

Preview with #D4E752

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

Preview Lab → · Contrast checker → · Palette generator →

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