#D7DE52#D7DE52

#D7DE52 is a very light, vivid yellow. Relative luminance 0.673; OKLCH L 87.0% C 0.160 H 112.0°. Best body text is #000000 at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#D7DE52
RGBrgb(215, 222, 82)
HSLhsl(63, 68%, 60%)
HSVhsv(63, 63%, 87%)
CMYKcmyk(3.2%, 0%, 63.1%, 12.9%)
CIE-LABlab(85.66, -19.83, 65.42)
CIE-LCHlch(85.66, 68.36, 106.86°)
OKLaboklab(86.95% -0.06 0.1484)
OKLCHoklch(86.95% 0.16 112)
XYZxyz(55.6702, 67.3001, 18.0386)
Luminance0.6730 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7DE52 #5952DE
analogous
#DE9F52 #D7DE52 #91DE52
triadic
#D7DE52 #52D7DE #DE52D7
tetradic
#D7DE52 #52DE9F #5952DE #DE5291
square
#D7DE52 #52DE9F #5952DE #DE5291
split-complementary
#D7DE52 #5291DE #9F52DE
monochromatic
#92991D #C4CC27 #D7DE52 #E3E885 #EFF2B9

Accessibility & contrast

On white

1.45
#D7DE52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.46
#D7DE52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7DE52
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7DE52#FFFFFF#000000##000000
##D7DE521.001.4514.4614.46
#FFFFFF1.451.0021.0021.00
#00000014.4621.001.001.00
##00000014.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED440
Deuteranopia (green-blind)
#EED85B
Tritanopia (blue-blind)
#E5D1C1
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #d7de52;
/* rgb */ color: rgb(215, 222, 82);
/* oklch */ color: oklch(87.0% 0.160 112.0);
Tailwind
colors: {
  custom: {
    50: '#e6e889',
    500: '#d7de52',
    950: '#000000',
  },
}
SCSS
$custom: #d7de52;
$custom-light: #e6e889;
$custom-dark: #000000;
JSON
{
  "hex": "#d7de52",
  "rgb": {
    "r": 215,
    "g": 222,
    "b": 82
  },
  "hsl": {
    "h": 63,
    "s": 67.961,
    "l": 59.608
  },
  "oklch": {
    "l": 0.8695,
    "c": 0.16007,
    "h": 112
  },
  "luminance": 0.67299
}

Semantic roles & 50–950 ramp

primary
#D7DE52
secondary
#3D389D
accent
#3DEB46
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16160C
muted
#85847F

Preview Lab

Preview with #D7DE52

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

Preview Lab → · Contrast checker → · Palette generator →

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