#D8DD40#D8DD40

#D8DD40 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.34:1 contrast (WCAG AA passes).

Color values

HEX#D8DD40
RGBrgb(216, 221, 64)
HSLhsl(62, 70%, 56%)
HSVhsv(62, 71%, 87%)
CMYKcmyk(2.3%, 0%, 71%, 13.3%)
CIE-LABlab(85.34, -19.91, 71.86)
CIE-LCHlch(85.34, 74.56, 105.49°)
OKLaboklab(86.68% -0.062 0.1591)
OKLCHoklch(86.68% 0.171 111.3)
XYZxyz(55.1026, 66.6834, 14.8180)
Luminance0.6668 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8DD40 #4540DD
analogous
#DD9340 #D8DD40 #89DD40
triadic
#D8DD40 #40D8DD #DD40D8
tetradic
#D8DD40 #40DD93 #4540DD #DD4089
square
#D8DD40 #40DD93 #4540DD #DD4089
split-complementary
#D8DD40 #4089DD #9340DD
monochromatic
#868A19 #B9BE22 #D8DD40 #E3E674 #EDEFA8

Accessibility & contrast

On white

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

On black

14.34
#D8DD40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8DD40
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8DD40#FFFFFF#000000##000000
##D8DD401.001.4614.3414.34
#FFFFFF1.461.0021.0021.00
#00000014.3421.001.001.00
##00000014.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8dd40;
/* rgb */ color: rgb(216, 221, 64);
/* oklch */ color: oklch(86.7% 0.171 111.3);
Tailwind
colors: {
  custom: {
    50: '#e8e77f',
    500: '#d8dd40',
    950: '#000000',
  },
}
SCSS
$custom: #d8dd40;
$custom-light: #e8e77f;
$custom-dark: #000000;
JSON
{
  "hex": "#d8dd40",
  "rgb": {
    "r": 216,
    "g": 221,
    "b": 64
  },
  "hsl": {
    "h": 61.911,
    "s": 69.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.86682,
    "c": 0.17075,
    "h": 111.3
  },
  "luminance": 0.66682
}

Semantic roles & 50–950 ramp

primary
#D8DD40
secondary
#343190
accent
#3BED41
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17160B
muted
#85847E

Preview Lab

Preview with #D8DD40

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

Preview Lab → · Contrast checker → · Palette generator →

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