#D7E852#D7E852

#D7E852 is a very light, vivid yellow. Relative luminance 0.728; OKLCH L 89.1% C 0.171 H 115.5°. Best body text is #000000 at 15.55:1 contrast (WCAG AA passes).

Color values

HEX#D7E852
RGBrgb(215, 232, 82)
HSLhsl(67, 77%, 62%)
HSVhsv(67, 65%, 91%)
CMYKcmyk(7.3%, 0%, 64.7%, 9%)
CIE-LABlab(88.34, -24.65, 68.23)
CIE-LCHlch(88.34, 72.54, 109.86°)
OKLaboklab(89.1% -0.0735 0.1543)
OKLCHoklch(89.1% 0.171 115.5)
XYZxyz(58.4053, 72.7704, 18.9504)
Luminance0.7277 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7E852 #6352E8
analogous
#E8AE52 #D7E852 #8CE852
triadic
#D7E852 #52D7E8 #E852D7
tetradic
#D7E852 #52E8AE #6352E8 #E8528C
square
#D7E852 #52E8AE #6352E8 #E8528C
split-complementary
#D7E852 #528CE8 #AE52E8
monochromatic
#98A916 #C9DF1E #D7E852 #E3EF88 #F0F6BE

Accessibility & contrast

On white

1.35
#D7E852 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.55
#D7E852 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7E852
15.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7E852#FFFFFF#000000##000000
##D7E8521.001.3515.5515.55
#FFFFFF1.351.0021.0021.00
#00000015.5521.001.001.00
##00000015.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DD3D
Deuteranopia (green-blind)
#F6DF5D
Tritanopia (blue-blind)
#E4DBC9
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #d7e852;
/* rgb */ color: rgb(215, 232, 82);
/* oklch */ color: oklch(89.1% 0.171 115.5);
Tailwind
colors: {
  custom: {
    50: '#e6ef8a',
    500: '#d7e852',
    950: '#000000',
  },
}
SCSS
$custom: #d7e852;
$custom-light: #e6ef8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d7e852",
  "rgb": {
    "r": 215,
    "g": 232,
    "b": 82
  },
  "hsl": {
    "h": 66.8,
    "s": 76.531,
    "l": 61.569
  },
  "oklch": {
    "l": 0.89099,
    "c": 0.17092,
    "h": 115.5
  },
  "luminance": 0.72769
}

Semantic roles & 50–950 ramp

primary
#D7E852
secondary
#4134AB
accent
#0DD924
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16160C
muted
#85857F

Preview Lab

Preview with #D7E852

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

Preview Lab → · Contrast checker → · Palette generator →

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