#D8DF4C#D8DF4C

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

Color values

HEX#D8DF4C
RGBrgb(216, 223, 76)
HSLhsl(63, 70%, 59%)
HSVhsv(63, 66%, 87%)
CMYKcmyk(3.1%, 0%, 65.9%, 12.5%)
CIE-LABlab(85.96, -20.26, 68.11)
CIE-LCHlch(85.96, 71.06, 106.57°)
OKLaboklab(87.2% -0.0619 0.1531)
OKLCHoklch(87.2% 0.165 112)
XYZxyz(56.0127, 67.8974, 16.9910)
Luminance0.6790 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8DF4C #534CDF
analogous
#DF9C4C #D8DF4C #8EDF4C
triadic
#D8DF4C #4CD8DF #DF4CD8
tetradic
#D8DF4C #4CDF9C #534CDF #DF4C8E
square
#D8DF4C #4CDF9C #534CDF #DF4C8E
split-complementary
#D8DF4C #4C8EDF #9C4CDF
monochromatic
#90961B #C2CA24 #D8DF4C #E3E880 #EFF2B4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8DF4C#FFFFFF#000000##000000
##D8DF4C1.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)
#EFD537
Deuteranopia (green-blind)
#F0D956
Tritanopia (blue-blind)
#E6D2C1
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #d8df4c;
/* rgb */ color: rgb(216, 223, 76);
/* oklch */ color: oklch(87.2% 0.165 112.0);
Tailwind
colors: {
  custom: {
    50: '#e7e886',
    500: '#d8df4c',
    950: '#000000',
  },
}
SCSS
$custom: #d8df4c;
$custom-light: #e7e886;
$custom-dark: #000000;
JSON
{
  "hex": "#d8df4c",
  "rgb": {
    "r": 216,
    "g": 223,
    "b": 76
  },
  "hsl": {
    "h": 62.857,
    "s": 69.668,
    "l": 58.627
  },
  "oklch": {
    "l": 0.87195,
    "c": 0.16517,
    "h": 112
  },
  "luminance": 0.67896
}

Semantic roles & 50–950 ramp

primary
#D8DF4C
secondary
#3A359A
accent
#3BEC44
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16160C
muted
#85847F

Preview Lab

Preview with #D8DF4C

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

Preview Lab → · Contrast checker → · Palette generator →

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