#D8DF4E#D8DF4E

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

Color values

HEX#D8DF4E
RGBrgb(216, 223, 78)
HSLhsl(63, 69%, 59%)
HSVhsv(63, 65%, 87%)
CMYKcmyk(3.1%, 0%, 65%, 12.5%)
CIE-LABlab(85.97, -20.15, 67.35)
CIE-LCHlch(85.97, 70.30, 106.65°)
OKLaboklab(87.21% -0.0614 0.1518)
OKLCHoklch(87.21% 0.164 112)
XYZxyz(56.0834, 67.9256, 17.3629)
Luminance0.6792 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8DF4E #554EDF
analogous
#DF9E4E #D8DF4E #8FDF4E
triadic
#D8DF4E #4ED8DF #DF4ED8
tetradic
#D8DF4E #4EDF9E #554EDF #DF4E8F
square
#D8DF4E #4EDF9E #554EDF #DF4E8F
split-complementary
#D8DF4E #4E8FDF #9E4EDF
monochromatic
#91971B #C3CB25 #D8DF4E #E3E882 #EFF2B6

Accessibility & contrast

On white

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

On black

14.58
#D8DF4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8DF4E
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8DF4E#FFFFFF#000000##000000
##D8DF4E1.001.4414.5814.58
#FFFFFF1.441.0021.0021.00
#00000014.5821.001.001.00
##00000014.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD53A
Deuteranopia (green-blind)
#F0D958
Tritanopia (blue-blind)
#E6D2C2
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #d8df4e;
/* rgb */ color: rgb(216, 223, 78);
/* oklch */ color: oklch(87.2% 0.164 112.0);
Tailwind
colors: {
  custom: {
    50: '#e7e887',
    500: '#d8df4e',
    950: '#000000',
  },
}
SCSS
$custom: #d8df4e;
$custom-light: #e7e887;
$custom-dark: #000000;
JSON
{
  "hex": "#d8df4e",
  "rgb": {
    "r": 216,
    "g": 223,
    "b": 78
  },
  "hsl": {
    "h": 62.897,
    "s": 69.378,
    "l": 59.02
  },
  "oklch": {
    "l": 0.87211,
    "c": 0.16378,
    "h": 112
  },
  "luminance": 0.67924
}

Semantic roles & 50–950 ramp

primary
#D8DF4E
secondary
#3B369B
accent
#3CEC44
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16160C
muted
#85847F

Preview Lab

Preview with #D8DF4E

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

Preview Lab → · Contrast checker → · Palette generator →

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