#D8DF4B#D8DF4B

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

Color values

HEX#D8DF4B
RGBrgb(216, 223, 75)
HSLhsl(63, 70%, 58%)
HSVhsv(63, 66%, 87%)
CMYKcmyk(3.1%, 0%, 66.4%, 12.5%)
CIE-LABlab(85.95, -20.32, 68.48)
CIE-LCHlch(85.95, 71.43, 106.53°)
OKLaboklab(87.19% -0.0621 0.1538)
OKLCHoklch(87.19% 0.166 112)
XYZxyz(55.9782, 67.8836, 16.8093)
Luminance0.6788 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8DF4B #524BDF
analogous
#DF9C4B #D8DF4B #8EDF4B
triadic
#D8DF4B #4BD8DF #DF4BD8
tetradic
#D8DF4B #4BDF9C #524BDF #DF4B8E
square
#D8DF4B #4BDF9C #524BDF #DF4B8E
split-complementary
#D8DF4B #4B8EDF #9C4BDF
monochromatic
#8F951B #C1C924 #D8DF4B #E3E87F #EFF1B3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8DF4B#FFFFFF#000000##000000
##D8DF4B1.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)
#EFD535
Deuteranopia (green-blind)
#F0D955
Tritanopia (blue-blind)
#E6D2C1
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #d8df4b;
/* rgb */ color: rgb(216, 223, 75);
/* oklch */ color: oklch(87.2% 0.166 112.0);
Tailwind
colors: {
  custom: {
    50: '#e7e885',
    500: '#d8df4b',
    950: '#000000',
  },
}
SCSS
$custom: #d8df4b;
$custom-light: #e7e885;
$custom-dark: #000000;
JSON
{
  "hex": "#d8df4b",
  "rgb": {
    "r": 216,
    "g": 223,
    "b": 75
  },
  "hsl": {
    "h": 62.838,
    "s": 69.811,
    "l": 58.431
  },
  "oklch": {
    "l": 0.87187,
    "c": 0.16585,
    "h": 112
  },
  "luminance": 0.67882
}

Semantic roles & 50–950 ramp

primary
#D8DF4B
secondary
#393599
accent
#3BED44
background
#FFFEFC
surface
#FEFCF3
border
#D6D5CD
text
#16160C
muted
#85847F

Preview Lab

Preview with #D8DF4B

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

Preview Lab → · Contrast checker → · Palette generator →

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