#D8DD5A#D8DD5A

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

Color values

HEX#D8DD5A
RGBrgb(216, 221, 90)
HSLhsl(62, 66%, 61%)
HSVhsv(62, 59%, 87%)
CMYKcmyk(2.3%, 0%, 59.3%, 13.3%)
CIE-LABlab(85.53, -18.41, 62.01)
CIE-LCHlch(85.53, 64.68, 106.53°)
OKLaboklab(86.89% -0.0552 0.1422)
OKLCHoklch(86.89% 0.153 111.2)
XYZxyz(56.0223, 67.0513, 19.6619)
Luminance0.6705 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8DD5A #5F5ADD
analogous
#DDA05A #D8DD5A #96DD5A
triadic
#D8DD5A #5AD8DD #DD5AD8
tetradic
#D8DD5A #5ADDA0 #5F5ADD #DD5A96
square
#D8DD5A #5ADDA0 #5F5ADD #DD5A96
split-complementary
#D8DD5A #5A96DD #A05ADD
monochromatic
#989C20 #C9CF2B #D8DD5A #E4E78D #F0F2BF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8DD5A#FFFFFF#000000##000000
##D8DD5A1.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)
#EDD44B
Deuteranopia (green-blind)
#EED862
Tritanopia (blue-blind)
#E6D1C1
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #d8dd5a;
/* rgb */ color: rgb(216, 221, 90);
/* oklch */ color: oklch(86.9% 0.153 111.2);
Tailwind
colors: {
  custom: {
    50: '#e7e78e',
    500: '#d8dd5a',
    950: '#000000',
  },
}
SCSS
$custom: #d8dd5a;
$custom-light: #e7e78e;
$custom-dark: #000000;
JSON
{
  "hex": "#d8dd5a",
  "rgb": {
    "r": 216,
    "g": 221,
    "b": 90
  },
  "hsl": {
    "h": 62.29,
    "s": 65.829,
    "l": 60.98
  },
  "oklch": {
    "l": 0.8689,
    "c": 0.15257,
    "h": 111.2
  },
  "luminance": 0.6705
}

Semantic roles & 50–950 ramp

primary
#D8DD5A
secondary
#3F3BA0
accent
#18CE1F
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16160D
muted
#85847F

Preview Lab

Preview with #D8DD5A

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

Preview Lab → · Contrast checker → · Palette generator →

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