#D6DD52#D6DD52

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

Color values

HEX#D6DD52
RGBrgb(214, 221, 82)
HSLhsl(63, 67%, 59%)
HSVhsv(63, 63%, 87%)
CMYKcmyk(3.2%, 0%, 62.9%, 13.3%)
CIE-LABlab(85.31, -19.75, 65.04)
CIE-LCHlch(85.31, 67.97, 106.89°)
OKLaboklab(86.66% -0.0597 0.1476)
OKLCHoklch(86.66% 0.159 112)
XYZxyz(55.1125, 66.6195, 17.9366)
Luminance0.6662 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6DD52 #5952DD
analogous
#DD9F52 #D6DD52 #90DD52
triadic
#D6DD52 #52D6DD #DD52D6
tetradic
#D6DD52 #52DD9F #5952DD #DD5290
square
#D6DD52 #52DD9F #5952DD #DD5290
split-complementary
#D6DD52 #5290DD #9F52DD
monochromatic
#91971E #C2CA28 #D6DD52 #E2E785 #EEF1B8

Accessibility & contrast

On white

1.47
#D6DD52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.32
#D6DD52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6DD52
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6DD52#FFFFFF#000000##000000
##D6DD521.001.4714.3214.32
#FFFFFF1.471.0021.0021.00
#00000014.3221.001.001.00
##00000014.3221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d6dd52;
/* rgb */ color: rgb(214, 221, 82);
/* oklch */ color: oklch(86.7% 0.159 112.0);
Tailwind
colors: {
  custom: {
    50: '#e6e789',
    500: '#d6dd52',
    950: '#000000',
  },
}
SCSS
$custom: #d6dd52;
$custom-light: #e6e789;
$custom-dark: #000000;
JSON
{
  "hex": "#d6dd52",
  "rgb": {
    "r": 214,
    "g": 221,
    "b": 82
  },
  "hsl": {
    "h": 63.022,
    "s": 67.15,
    "l": 59.412
  },
  "oklch": {
    "l": 0.86657,
    "c": 0.15923,
    "h": 112
  },
  "luminance": 0.66618
}

Semantic roles & 50–950 ramp

primary
#D6DD52
secondary
#3D389B
accent
#3EEA46
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16160C
muted
#85847F

Preview Lab

Preview with #D6DD52

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

Preview Lab → · Contrast checker → · Palette generator →

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