#D8DF4F#D8DF4F

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

Color values

HEX#D8DF4F
RGBrgb(216, 223, 79)
HSLhsl(63, 69%, 59%)
HSVhsv(63, 65%, 87%)
CMYKcmyk(3.1%, 0%, 64.6%, 12.5%)
CIE-LABlab(85.98, -20.09, 66.97)
CIE-LCHlch(85.98, 69.92, 106.70°)
OKLaboklab(87.22% -0.0611 0.1512)
OKLCHoklch(87.22% 0.163 112)
XYZxyz(56.1195, 67.9401, 17.5531)
Luminance0.6794 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8DF4F #564FDF
analogous
#DF9E4F #D8DF4F #90DF4F
triadic
#D8DF4F #4FD8DF #DF4FD8
tetradic
#D8DF4F #4FDF9E #564FDF #DF4F90
square
#D8DF4F #4FDF9E #564FDF #DF4F90
split-complementary
#D8DF4F #4F90DF #9E4FDF
monochromatic
#92981C #C4CC25 #D8DF4F #E3E883 #EFF2B7

Accessibility & contrast

On white

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

On black

14.59
#D8DF4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8DF4F
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8DF4F#FFFFFF#000000##000000
##D8DF4F1.001.4414.5914.59
#FFFFFF1.441.0021.0021.00
#00000014.5921.001.001.00
##00000014.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8df4f;
/* rgb */ color: rgb(216, 223, 79);
/* oklch */ color: oklch(87.2% 0.163 112.0);
Tailwind
colors: {
  custom: {
    50: '#e7e887',
    500: '#d8df4f',
    950: '#000000',
  },
}
SCSS
$custom: #d8df4f;
$custom-light: #e7e887;
$custom-dark: #000000;
JSON
{
  "hex": "#d8df4f",
  "rgb": {
    "r": 216,
    "g": 223,
    "b": 79
  },
  "hsl": {
    "h": 62.917,
    "s": 69.231,
    "l": 59.216
  },
  "oklch": {
    "l": 0.87219,
    "c": 0.16307,
    "h": 112
  },
  "luminance": 0.67939
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D8DF4F

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

Preview Lab → · Contrast checker → · Palette generator →

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