#D8DD3F#D8DD3F

#D8DD3F is a very light, vivid yellow. Relative luminance 0.667; OKLCH L 86.7% C 0.171 H 111.3°. Best body text is #000000 at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#D8DD3F
RGBrgb(216, 221, 63)
HSLhsl(62, 70%, 56%)
HSVhsv(62, 71%, 87%)
CMYKcmyk(2.3%, 0%, 71.5%, 13.3%)
CIE-LABlab(85.34, -19.96, 72.19)
CIE-LCHlch(85.34, 74.90, 105.45°)
OKLaboklab(86.68% -0.0623 0.1596)
OKLCHoklch(86.68% 0.171 111.3)
XYZxyz(55.0744, 66.6721, 14.6695)
Luminance0.6667 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8DD3F #443FDD
analogous
#DD933F #D8DD3F #89DD3F
triadic
#D8DD3F #3FD8DD #DD3FD8
tetradic
#D8DD3F #3FDD93 #443FDD #DD3F89
square
#D8DD3F #3FDD93 #443FDD #DD3F89
split-complementary
#D8DD3F #3F89DD #933FDD
monochromatic
#868918 #B8BD22 #D8DD3F #E3E673 #EDEFA7

Accessibility & contrast

On white

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

On black

14.33
#D8DD3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8DD3F
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8DD3F#FFFFFF#000000##000000
##D8DD3F1.001.4714.3314.33
#FFFFFF1.471.0021.0021.00
#00000014.3321.001.001.00
##00000014.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8dd3f;
/* rgb */ color: rgb(216, 221, 63);
/* oklch */ color: oklch(86.7% 0.171 111.3);
Tailwind
colors: {
  custom: {
    50: '#e8e77f',
    500: '#d8dd3f',
    950: '#000000',
  },
}
SCSS
$custom: #d8dd3f;
$custom-light: #e8e77f;
$custom-dark: #000000;
JSON
{
  "hex": "#d8dd3f",
  "rgb": {
    "r": 216,
    "g": 221,
    "b": 63
  },
  "hsl": {
    "h": 61.899,
    "s": 69.912,
    "l": 55.686
  },
  "oklch": {
    "l": 0.86675,
    "c": 0.17133,
    "h": 111.3
  },
  "luminance": 0.66671
}

Semantic roles & 50–950 ramp

primary
#D8DD3F
secondary
#34318F
accent
#3BED41
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17160B
muted
#85847E

Preview Lab

Preview with #D8DD3F

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

Preview Lab → · Contrast checker → · Palette generator →

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