#D8DD3E#D8DD3E

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

Color values

HEX#D8DD3E
RGBrgb(216, 221, 62)
HSLhsl(62, 70%, 55%)
HSVhsv(62, 72%, 87%)
CMYKcmyk(2.3%, 0%, 71.9%, 13.3%)
CIE-LABlab(85.33, -20.00, 72.52)
CIE-LCHlch(85.33, 75.23, 105.42°)
OKLaboklab(86.67% -0.0625 0.1601)
OKLCHoklch(86.67% 0.172 111.3)
XYZxyz(55.0467, 66.6611, 14.5237)
Luminance0.6666 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8DD3E #433EDD
analogous
#DD933E #D8DD3E #88DD3E
triadic
#D8DD3E #3ED8DD #DD3ED8
tetradic
#D8DD3E #3EDD93 #433EDD #DD3E88
square
#D8DD3E #3EDD93 #433EDD #DD3E88
split-complementary
#D8DD3E #3E88DD #933EDD
monochromatic
#858918 #B8BD21 #D8DD3E #E3E672 #EDEFA6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8DD3E#FFFFFF#000000##000000
##D8DD3E1.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)
#EED31E
Deuteranopia (green-blind)
#EFD74B
Tritanopia (blue-blind)
#E7CFBE
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #d8dd3e;
/* rgb */ color: rgb(216, 221, 62);
/* oklch */ color: oklch(86.7% 0.172 111.3);
Tailwind
colors: {
  custom: {
    50: '#e8e77e',
    500: '#d8dd3e',
    950: '#000000',
  },
}
SCSS
$custom: #d8dd3e;
$custom-light: #e8e77e;
$custom-dark: #000000;
JSON
{
  "hex": "#d8dd3e",
  "rgb": {
    "r": 216,
    "g": 221,
    "b": 62
  },
  "hsl": {
    "h": 61.887,
    "s": 70.044,
    "l": 55.49
  },
  "oklch": {
    "l": 0.86669,
    "c": 0.17191,
    "h": 111.3
  },
  "luminance": 0.6666
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D8DD3E

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

Preview Lab → · Contrast checker → · Palette generator →

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