#D7E752#D7E752

#D7E752 is a very light, vivid yellow. Relative luminance 0.722; OKLCH L 88.9% C 0.170 H 115.2°. Best body text is #000000 at 15.44:1 contrast (WCAG AA passes).

Color values

HEX#D7E752
RGBrgb(215, 231, 82)
HSLhsl(66, 76%, 61%)
HSVhsv(66, 65%, 91%)
CMYKcmyk(6.9%, 0%, 64.5%, 9.4%)
CIE-LABlab(88.07, -24.17, 67.95)
CIE-LCHlch(88.07, 72.12, 109.58°)
OKLaboklab(88.88% -0.0722 0.1537)
OKLCHoklch(88.88% 0.17 115.2)
XYZxyz(58.1246, 72.2090, 18.8568)
Luminance0.7221 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7E752 #6252E7
analogous
#E7AD52 #D7E752 #8DE752
triadic
#D7E752 #52D7E7 #E752D7
tetradic
#D7E752 #52E7AD #6252E7 #E7528D
square
#D7E752 #52E7AD #6252E7 #E7528D
split-complementary
#D7E752 #528DE7 #AD52E7
monochromatic
#98A717 #C9DD1F #D7E752 #E3EE88 #F0F6BD

Accessibility & contrast

On white

1.36
#D7E752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.44
#D7E752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7E752
15.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7E752#FFFFFF#000000##000000
##D7E7521.001.3615.4415.44
#FFFFFF1.361.0021.0021.00
#00000015.4421.001.001.00
##00000015.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DC3E
Deuteranopia (green-blind)
#F6DE5C
Tritanopia (blue-blind)
#E4DAC9
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #d7e752;
/* rgb */ color: rgb(215, 231, 82);
/* oklch */ color: oklch(88.9% 0.170 115.2);
Tailwind
colors: {
  custom: {
    50: '#e6ee8a',
    500: '#d7e752',
    950: '#000000',
  },
}
SCSS
$custom: #d7e752;
$custom-light: #e6ee8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d7e752",
  "rgb": {
    "r": 215,
    "g": 231,
    "b": 82
  },
  "hsl": {
    "h": 66.443,
    "s": 75.635,
    "l": 61.373
  },
  "oklch": {
    "l": 0.88883,
    "c": 0.16982,
    "h": 115.2
  },
  "luminance": 0.72208
}

Semantic roles & 50–950 ramp

primary
#D7E752
secondary
#4134A9
accent
#0ED823
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16160C
muted
#85857F

Preview Lab

Preview with #D7E752

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

Preview Lab → · Contrast checker → · Palette generator →

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