#D8DF4A#D8DF4A

#D8DF4A is a very light, vivid yellow. Relative luminance 0.679; OKLCH L 87.2% C 0.167 H 112.0°. Best body text is #000000 at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#D8DF4A
RGBrgb(216, 223, 74)
HSLhsl(63, 70%, 58%)
HSVhsv(63, 67%, 87%)
CMYKcmyk(3.1%, 0%, 66.8%, 12.5%)
CIE-LABlab(85.94, -20.38, 68.85)
CIE-LCHlch(85.94, 71.80, 106.48°)
OKLaboklab(87.18% -0.0624 0.1544)
OKLCHoklch(87.18% 0.167 112)
XYZxyz(55.9443, 67.8700, 16.6304)
Luminance0.6787 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8DF4A #514ADF
analogous
#DF9B4A #D8DF4A #8DDF4A
triadic
#D8DF4A #4AD8DF #DF4AD8
tetradic
#D8DF4A #4ADF9B #514ADF #DF4A8D
square
#D8DF4A #4ADF9B #514ADF #DF4A8D
split-complementary
#D8DF4A #4A8DDF #9B4ADF
monochromatic
#8F941A #C1C823 #D8DF4A #E3E87E #EEF1B2

Accessibility & contrast

On white

1.44
#D8DF4A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.57
#D8DF4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8DF4A
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8DF4A#FFFFFF#000000##000000
##D8DF4A1.001.4414.5714.57
#FFFFFF1.441.0021.0021.00
#00000014.5721.001.001.00
##00000014.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD534
Deuteranopia (green-blind)
#F0D955
Tritanopia (blue-blind)
#E6D2C1
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #d8df4a;
/* rgb */ color: rgb(216, 223, 74);
/* oklch */ color: oklch(87.2% 0.167 112.0);
Tailwind
colors: {
  custom: {
    50: '#e7e885',
    500: '#d8df4a',
    950: '#000000',
  },
}
SCSS
$custom: #d8df4a;
$custom-light: #e7e885;
$custom-dark: #000000;
JSON
{
  "hex": "#d8df4a",
  "rgb": {
    "r": 216,
    "g": 223,
    "b": 74
  },
  "hsl": {
    "h": 62.819,
    "s": 69.953,
    "l": 58.235
  },
  "oklch": {
    "l": 0.8718,
    "c": 0.16651,
    "h": 112
  },
  "luminance": 0.67869
}

Semantic roles & 50–950 ramp

primary
#D8DF4A
secondary
#393499
accent
#3BED43
background
#FFFEFC
surface
#FEFCF3
border
#D6D5CD
text
#16160C
muted
#85847F

Preview Lab

Preview with #D8DF4A

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

Preview Lab → · Contrast checker → · Palette generator →

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