#D3DD51#D3DD51

#D3DD51 is a very light, vivid yellow. Relative luminance 0.662; OKLCH L 86.4% C 0.161 H 113.2°. Best body text is #000000 at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#D3DD51
RGBrgb(211, 221, 81)
HSLhsl(64, 67%, 59%)
HSVhsv(64, 63%, 87%)
CMYKcmyk(4.5%, 0%, 63.3%, 13.3%)
CIE-LABlab(85.08, -21.03, 65.12)
CIE-LCHlch(85.08, 68.43, 107.90°)
OKLaboklab(86.41% -0.0633 0.1477)
OKLCHoklch(86.41% 0.161 113.2)
XYZxyz(54.2071, 66.1570, 17.6970)
Luminance0.6616 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3DD51 #5B51DD
analogous
#DDA151 #D3DD51 #8DDD51
triadic
#D3DD51 #51D3DD #DD51D3
tetradic
#D3DD51 #51DDA1 #5B51DD #DD518D
square
#D3DD51 #51DDA1 #5B51DD #DD518D
split-complementary
#D3DD51 #518DDD #A151DD
monochromatic
#8E961D #BEC927 #D3DD51 #E0E784 #EDF1B7

Accessibility & contrast

On white

1.48
#D3DD51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.23
#D3DD51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3DD51
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3DD51#FFFFFF#000000##000000
##D3DD511.001.4814.2314.23
#FFFFFF1.481.0021.0021.00
#00000014.2321.001.001.00
##00000014.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD33F
Deuteranopia (green-blind)
#ECD65A
Tritanopia (blue-blind)
#E0D0C0
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #d3dd51;
/* rgb */ color: rgb(211, 221, 81);
/* oklch */ color: oklch(86.4% 0.161 113.2);
Tailwind
colors: {
  custom: {
    50: '#e4e788',
    500: '#d3dd51',
    950: '#000000',
  },
}
SCSS
$custom: #d3dd51;
$custom-light: #e4e788;
$custom-dark: #000000;
JSON
{
  "hex": "#d3dd51",
  "rgb": {
    "r": 211,
    "g": 221,
    "b": 81
  },
  "hsl": {
    "h": 64.286,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.8641,
    "c": 0.16068,
    "h": 113.2
  },
  "luminance": 0.66156
}

Semantic roles & 50–950 ramp

primary
#D3DD51
secondary
#3F389B
accent
#3EEA4A
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #D3DD51

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

Preview Lab → · Contrast checker → · Palette generator →

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