#D9DD51#D9DD51

#D9DD51 is a very light, vivid yellow. Relative luminance 0.671; OKLCH L 86.9% C 0.159 H 110.9°. Best body text is #000000 at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#D9DD51
RGBrgb(217, 221, 81)
HSLhsl(62, 67%, 59%)
HSVhsv(62, 63%, 87%)
CMYKcmyk(1.8%, 0%, 63.3%, 13.3%)
CIE-LABlab(85.53, -18.58, 65.74)
CIE-LCHlch(85.53, 68.32, 105.78°)
OKLaboklab(86.89% -0.0567 0.1489)
OKLCHoklch(86.89% 0.159 110.9)
XYZxyz(55.9586, 67.0601, 17.7791)
Luminance0.6706 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9DD51 #5551DD
analogous
#DD9B51 #D9DD51 #93DD51
triadic
#D9DD51 #51D9DD #DD51D9
tetradic
#D9DD51 #51DD9B #5551DD #DD5193
square
#D9DD51 #51DD9B #5551DD #DD5193
split-complementary
#D9DD51 #5193DD #9B51DD
monochromatic
#93961D #C5C927 #D9DD51 #E4E784 #EFF1B7

Accessibility & contrast

On white

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

On black

14.41
#D9DD51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9DD51
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9DD51#FFFFFF#000000##000000
##D9DD511.001.4614.4114.41
#FFFFFF1.461.0021.0021.00
#00000014.4121.001.001.00
##00000014.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD43F
Deuteranopia (green-blind)
#EED85A
Tritanopia (blue-blind)
#E7D0C0
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #d9dd51;
/* rgb */ color: rgb(217, 221, 81);
/* oklch */ color: oklch(86.9% 0.159 110.9);
Tailwind
colors: {
  custom: {
    50: '#e8e788',
    500: '#d9dd51',
    950: '#000000',
  },
}
SCSS
$custom: #d9dd51;
$custom-light: #e8e788;
$custom-dark: #000000;
JSON
{
  "hex": "#d9dd51",
  "rgb": {
    "r": 217,
    "g": 221,
    "b": 81
  },
  "hsl": {
    "h": 61.714,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.86889,
    "c": 0.15932,
    "h": 110.9
  },
  "luminance": 0.67059
}

Semantic roles & 50–950 ramp

primary
#D9DD51
secondary
#3A389B
accent
#3EEA43
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16160C
muted
#85847F

Preview Lab

Preview with #D9DD51

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

Preview Lab → · Contrast checker → · Palette generator →

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