#D9DC51#D9DC51

#D9DC51 is a very light, vivid yellow. Relative luminance 0.665; OKLCH L 86.7% C 0.158 H 110.5°. Best body text is #000000 at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#D9DC51
RGBrgb(217, 220, 81)
HSLhsl(61, 67%, 59%)
HSVhsv(61, 63%, 86%)
CMYKcmyk(1.4%, 0%, 63.2%, 13.7%)
CIE-LABlab(85.27, -18.09, 65.46)
CIE-LCHlch(85.27, 67.92, 105.45°)
OKLaboklab(86.68% -0.0554 0.1483)
OKLCHoklch(86.68% 0.158 110.5)
XYZxyz(55.6954, 66.5336, 17.6914)
Luminance0.6653 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9DC51 #5451DC
analogous
#DC9A51 #D9DC51 #94DC51
triadic
#D9DC51 #51D9DC #DC51D9
tetradic
#D9DC51 #51DC9A #5451DC #DC5194
square
#D9DC51 #51DC9A #5451DC #DC5194
split-complementary
#D9DC51 #5194DC #9A51DC
monochromatic
#92951E #C4C828 #D9DC51 #E4E684 #EFF0B7

Accessibility & contrast

On white

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

On black

14.31
#D9DC51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9DC51
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9DC51#FFFFFF#000000##000000
##D9DC511.001.4714.3114.31
#FFFFFF1.471.0021.0021.00
#00000014.3121.001.001.00
##00000014.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD33F
Deuteranopia (green-blind)
#EED75A
Tritanopia (blue-blind)
#E7CFBF
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #d9dc51;
/* rgb */ color: rgb(217, 220, 81);
/* oklch */ color: oklch(86.7% 0.158 110.5);
Tailwind
colors: {
  custom: {
    50: '#e8e688',
    500: '#d9dc51',
    950: '#000000',
  },
}
SCSS
$custom: #d9dc51;
$custom-light: #e8e688;
$custom-dark: #000000;
JSON
{
  "hex": "#d9dc51",
  "rgb": {
    "r": 217,
    "g": 220,
    "b": 81
  },
  "hsl": {
    "h": 61.295,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.86676,
    "c": 0.15828,
    "h": 110.5
  },
  "luminance": 0.66532
}

Semantic roles & 50–950 ramp

primary
#D9DC51
secondary
#3A3899
accent
#3EE942
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D9DC51

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

Preview Lab → · Contrast checker → · Palette generator →

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