#D8DD34#D8DD34

#D8DD34 is a very light, vivid yellow. Relative luminance 0.666; OKLCH L 86.6% C 0.177 H 111.3°. Best body text is #000000 at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#D8DD34
RGBrgb(216, 221, 52)
HSLhsl(62, 71%, 54%)
HSVhsv(62, 76%, 87%)
CMYKcmyk(2.3%, 0%, 76.5%, 13.3%)
CIE-LABlab(85.28, -20.42, 75.62)
CIE-LCHlch(85.28, 78.32, 105.11°)
OKLaboklab(86.61% -0.0645 0.165)
OKLCHoklch(86.61% 0.177 111.3)
XYZxyz(54.7971, 66.5612, 13.2092)
Luminance0.6656 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8DD34 #3934DD
analogous
#DD8D34 #D8DD34 #83DD34
triadic
#D8DD34 #34D8DD #DD34D8
tetradic
#D8DD34 #34DD8D #3934DD #DD3483
square
#D8DD34 #34DD8D #3934DD #DD3483
split-complementary
#D8DD34 #3483DD #8D34DD
monochromatic
#7E8116 #B1B51E #D8DD34 #E2E668 #ECEF9D

Accessibility & contrast

On white

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

On black

14.31
#D8DD34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8DD34
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8DD34#FFFFFF#000000##000000
##D8DD341.001.4714.3114.31
#FFFFFF1.471.0021.0021.00
#00000014.3121.001.001.00
##00000014.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED300
Deuteranopia (green-blind)
#EFD743
Tritanopia (blue-blind)
#E7CFBE
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #d8dd34;
/* rgb */ color: rgb(216, 221, 52);
/* oklch */ color: oklch(86.6% 0.177 111.3);
Tailwind
colors: {
  custom: {
    50: '#e8e77a',
    500: '#d8dd34',
    950: '#000000',
  },
}
SCSS
$custom: #d8dd34;
$custom-light: #e8e77a;
$custom-dark: #000000;
JSON
{
  "hex": "#d8dd34",
  "rgb": {
    "r": 216,
    "g": 221,
    "b": 52
  },
  "hsl": {
    "h": 61.775,
    "s": 71.308,
    "l": 53.529
  },
  "oklch": {
    "l": 0.86612,
    "c": 0.17713,
    "h": 111.3
  },
  "luminance": 0.6656
}

Semantic roles & 50–950 ramp

primary
#D8DD34
secondary
#302D88
accent
#3AEE3F
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17160A
muted
#85847D

Preview Lab

Preview with #D8DD34

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

Preview Lab → · Contrast checker → · Palette generator →

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