#D7DD52#D7DD52

#D7DD52 is a very light, vivid yellow. Relative luminance 0.668; OKLCH L 86.7% C 0.159 H 111.6°. Best body text is #000000 at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#D7DD52
RGBrgb(215, 221, 82)
HSLhsl(63, 67%, 59%)
HSVhsv(63, 63%, 87%)
CMYKcmyk(2.7%, 0%, 62.9%, 13.3%)
CIE-LABlab(85.39, -19.34, 65.14)
CIE-LCHlch(85.39, 67.95, 106.53°)
OKLaboklab(86.74% -0.0586 0.1478)
OKLCHoklch(86.74% 0.159 111.6)
XYZxyz(55.4054, 66.7705, 17.9504)
Luminance0.6677 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7DD52 #5852DD
analogous
#DD9E52 #D7DD52 #92DD52
triadic
#D7DD52 #52D7DD #DD52D7
tetradic
#D7DD52 #52DD9E #5852DD #DD5292
square
#D7DD52 #52DD9E #5852DD #DD5292
split-complementary
#D7DD52 #5292DD #9E52DD
monochromatic
#92971E #C3CA28 #D7DD52 #E3E785 #EFF1B8

Accessibility & contrast

On white

1.46
#D7DD52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.35
#D7DD52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7DD52
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7DD52#FFFFFF#000000##000000
##D7DD521.001.4614.3514.35
#FFFFFF1.461.0021.0021.00
#00000014.3521.001.001.00
##00000014.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD340
Deuteranopia (green-blind)
#EED75B
Tritanopia (blue-blind)
#E5D0C0
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #d7dd52;
/* rgb */ color: rgb(215, 221, 82);
/* oklch */ color: oklch(86.7% 0.159 111.6);
Tailwind
colors: {
  custom: {
    50: '#e6e789',
    500: '#d7dd52',
    950: '#000000',
  },
}
SCSS
$custom: #d7dd52;
$custom-light: #e6e789;
$custom-dark: #000000;
JSON
{
  "hex": "#d7dd52",
  "rgb": {
    "r": 215,
    "g": 221,
    "b": 82
  },
  "hsl": {
    "h": 62.59,
    "s": 67.15,
    "l": 59.412
  },
  "oklch": {
    "l": 0.86737,
    "c": 0.159,
    "h": 111.6
  },
  "luminance": 0.66769
}

Semantic roles & 50–950 ramp

primary
#D7DD52
secondary
#3C389B
accent
#3EEA45
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16160C
muted
#85847F

Preview Lab

Preview with #D7DD52

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

Preview Lab → · Contrast checker → · Palette generator →

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