#D8DE4A#D8DE4A

#D8DE4A is a very light, vivid yellow. Relative luminance 0.673; OKLCH L 87.0% C 0.165 H 111.6°. Best body text is #000000 at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#D8DE4A
RGBrgb(216, 222, 74)
HSLhsl(62, 69%, 58%)
HSVhsv(62, 67%, 87%)
CMYKcmyk(2.7%, 0%, 66.7%, 12.9%)
CIE-LABlab(85.67, -19.89, 68.58)
CIE-LCHlch(85.67, 71.41, 106.17°)
OKLaboklab(86.97% -0.061 0.1538)
OKLCHoklch(86.97% 0.165 111.6)
XYZxyz(55.6779, 67.3372, 16.5416)
Luminance0.6734 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8DE4A #504ADE
analogous
#DE9A4A #D8DE4A #8EDE4A
triadic
#D8DE4A #4AD8DE #DE4AD8
tetradic
#D8DE4A #4ADE9A #504ADE #DE4A8E
square
#D8DE4A #4ADE9A #504ADE #DE4A8E
split-complementary
#D8DE4A #4A8EDE #9A4ADE
monochromatic
#8E931B #C0C724 #D8DE4A #E3E77E #EEF1B2

Accessibility & contrast

On white

1.45
#D8DE4A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.47
#D8DE4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8DE4A
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8DE4A#FFFFFF#000000##000000
##D8DE4A1.001.4514.4714.47
#FFFFFF1.451.0021.0021.00
#00000014.4721.001.001.00
##00000014.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD434
Deuteranopia (green-blind)
#EFD854
Tritanopia (blue-blind)
#E6D1C0
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #d8de4a;
/* rgb */ color: rgb(216, 222, 74);
/* oklch */ color: oklch(87.0% 0.165 111.6);
Tailwind
colors: {
  custom: {
    50: '#e7e885',
    500: '#d8de4a',
    950: '#000000',
  },
}
SCSS
$custom: #d8de4a;
$custom-light: #e7e885;
$custom-dark: #000000;
JSON
{
  "hex": "#d8de4a",
  "rgb": {
    "r": 216,
    "g": 222,
    "b": 74
  },
  "hsl": {
    "h": 62.432,
    "s": 69.159,
    "l": 58.039
  },
  "oklch": {
    "l": 0.86966,
    "c": 0.16548,
    "h": 111.6
  },
  "luminance": 0.67336
}

Semantic roles & 50–950 ramp

primary
#D8DE4A
secondary
#393598
accent
#3CEC43
background
#FFFEFC
surface
#FEFCF3
border
#D6D5CD
text
#16160C
muted
#85847F

Preview Lab

Preview with #D8DE4A

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

Preview Lab → · Contrast checker → · Palette generator →

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