#D8DD5F#D8DD5F

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

Color values

HEX#D8DD5F
RGBrgb(216, 221, 95)
HSLhsl(62, 65%, 62%)
HSVhsv(62, 57%, 87%)
CMYKcmyk(2.3%, 0%, 57%, 13.3%)
CIE-LABlab(85.57, -18.05, 59.90)
CIE-LCHlch(85.57, 62.56, 106.77°)
OKLaboklab(86.94% -0.0537 0.1384)
OKLCHoklch(86.94% 0.148 111.2)
XYZxyz(56.2423, 67.1393, 20.8207)
Luminance0.6714 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8DD5F #645FDD
analogous
#DDA35F #D8DD5F #99DD5F
triadic
#D8DD5F #5FD8DD #DD5FD8
tetradic
#D8DD5F #5FDDA3 #645FDD #DD5F99
square
#D8DD5F #5FDDA3 #645FDD #DD5F99
split-complementary
#D8DD5F #5F99DD #A35FDD
monochromatic
#9BA022 #CCD22D #D8DD5F #E4E891 #F1F2C4

Accessibility & contrast

On white

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

On black

14.43
#D8DD5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8DD5F
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8DD5F#FFFFFF#000000##000000
##D8DD5F1.001.4614.4314.43
#FFFFFF1.461.0021.0021.00
#00000014.4321.001.001.00
##00000014.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD451
Deuteranopia (green-blind)
#EDD866
Tritanopia (blue-blind)
#E5D1C2
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #d8dd5f;
/* rgb */ color: rgb(216, 221, 95);
/* oklch */ color: oklch(86.9% 0.148 111.2);
Tailwind
colors: {
  custom: {
    50: '#e7e791',
    500: '#d8dd5f',
    950: '#000000',
  },
}
SCSS
$custom: #d8dd5f;
$custom-light: #e7e791;
$custom-dark: #000000;
JSON
{
  "hex": "#d8dd5f",
  "rgb": {
    "r": 216,
    "g": 221,
    "b": 95
  },
  "hsl": {
    "h": 62.381,
    "s": 64.948,
    "l": 61.961
  },
  "oklch": {
    "l": 0.8694,
    "c": 0.14844,
    "h": 111.2
  },
  "luminance": 0.67138
}

Semantic roles & 50–950 ramp

primary
#D8DD5F
secondary
#413DA3
accent
#19CD20
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16160D
muted
#85847F

Preview Lab

Preview with #D8DD5F

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

Preview Lab → · Contrast checker → · Palette generator →

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