#D7ED52#D7ED52

#D7ED52 is a very light, vivid yellow. Relative luminance 0.756; OKLCH L 90.2% C 0.176 H 117.0°. Best body text is #000000 at 16.13:1 contrast (WCAG AA passes).

Color values

HEX#D7ED52
RGBrgb(215, 237, 82)
HSLhsl(69, 81%, 63%)
HSVhsv(69, 65%, 93%)
CMYKcmyk(9.3%, 0%, 65.4%, 7.1%)
CIE-LABlab(89.69, -27.02, 69.62)
CIE-LCHlch(89.69, 74.68, 111.21°)
OKLaboklab(90.18% -0.0801 0.1572)
OKLCHoklch(90.18% 0.176 117)
XYZxyz(59.8328, 75.6253, 19.4262)
Luminance0.7562 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7ED52 #6852ED
analogous
#EDB552 #D7ED52 #8AED52
triadic
#D7ED52 #52D7ED #ED52D7
tetradic
#D7ED52 #52EDB5 #6852ED #ED528A
square
#D7ED52 #52EDB5 #6852ED #ED528A
split-complementary
#D7ED52 #528AED #B552ED
monochromatic
#9BB213 #CAE71B #D7ED52 #E4F389 #F1F9C1

Accessibility & contrast

On white

1.30
#D7ED52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.13
#D7ED52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7ED52
16.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7ED52#FFFFFF#000000##000000
##D7ED521.001.3016.1316.13
#FFFFFF1.301.0021.0021.00
#00000016.1321.001.001.00
##00000016.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE13C
Deuteranopia (green-blind)
#FAE25D
Tritanopia (blue-blind)
#E4E0CE
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #d7ed52;
/* rgb */ color: rgb(215, 237, 82);
/* oklch */ color: oklch(90.2% 0.176 117.0);
Tailwind
colors: {
  custom: {
    50: '#e7f28a',
    500: '#d7ed52',
    950: '#000000',
  },
}
SCSS
$custom: #d7ed52;
$custom-light: #e7f28a;
$custom-dark: #000000;
JSON
{
  "hex": "#d7ed52",
  "rgb": {
    "r": 215,
    "g": 237,
    "b": 82
  },
  "hsl": {
    "h": 68.516,
    "s": 81.152,
    "l": 62.549
  },
  "oklch": {
    "l": 0.9018,
    "c": 0.17649,
    "h": 117
  },
  "luminance": 0.75625
}

Semantic roles & 50–950 ramp

primary
#D7ED52
secondary
#4331B2
accent
#08DE26
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16160C
muted
#85857F

Preview Lab

Preview with #D7ED52

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

Preview Lab → · Contrast checker → · Palette generator →

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