#D7E552#D7E552

#D7E552 is a very light, vivid yellow. Relative luminance 0.711; OKLCH L 88.5% C 0.168 H 114.5°. Best body text is #000000 at 15.22:1 contrast (WCAG AA passes).

Color values

HEX#D7E552
RGBrgb(215, 229, 82)
HSLhsl(66, 74%, 61%)
HSVhsv(66, 64%, 90%)
CMYKcmyk(6.1%, 0%, 64.2%, 10.2%)
CIE-LABlab(87.53, -23.21, 67.39)
CIE-LCHlch(87.53, 71.28, 109.01°)
OKLaboklab(88.45% -0.0695 0.1525)
OKLCHoklch(88.45% 0.168 114.5)
XYZxyz(57.5681, 71.0959, 18.6713)
Luminance0.7109 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7E552 #6052E5
analogous
#E5A952 #D7E552 #8DE552
triadic
#D7E552 #52D7E5 #E552D7
tetradic
#D7E552 #52E5A9 #6052E5 #E5528D
square
#D7E552 #52E5A9 #6052E5 #E5528D
split-complementary
#D7E552 #528DE5 #A952E5
monochromatic
#97A419 #C8D921 #D7E552 #E3ED87 #F0F5BC

Accessibility & contrast

On white

1.38
#D7E552 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.22
#D7E552 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7E552
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7E552#FFFFFF#000000##000000
##D7E5521.001.3815.2215.22
#FFFFFF1.381.0021.0021.00
#00000015.2221.001.001.00
##00000015.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DA3E
Deuteranopia (green-blind)
#F4DD5C
Tritanopia (blue-blind)
#E4D8C7
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #d7e552;
/* rgb */ color: rgb(215, 229, 82);
/* oklch */ color: oklch(88.5% 0.168 114.5);
Tailwind
colors: {
  custom: {
    50: '#e6ed8a',
    500: '#d7e552',
    950: '#000000',
  },
}
SCSS
$custom: #d7e552;
$custom-light: #e6ed8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d7e552",
  "rgb": {
    "r": 215,
    "g": 229,
    "b": 82
  },
  "hsl": {
    "h": 65.714,
    "s": 73.869,
    "l": 60.98
  },
  "oklch": {
    "l": 0.88452,
    "c": 0.16763,
    "h": 114.5
  },
  "luminance": 0.71095
}

Semantic roles & 50–950 ramp

primary
#D7E552
secondary
#4035A6
accent
#10D622
background
#FFFEFC
surface
#FEFDF4
border
#D6D5CE
text
#16160C
muted
#85847F

Preview Lab

Preview with #D7E552

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

Preview Lab → · Contrast checker → · Palette generator →

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