#D8DF5B#D8DF5B

#D8DF5B is a very light, vivid yellow. Relative luminance 0.681; OKLCH L 87.3% C 0.154 H 112.0°. Best body text is #000000 at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#D8DF5B
RGBrgb(216, 223, 91)
HSLhsl(63, 67%, 62%)
HSVhsv(63, 59%, 87%)
CMYKcmyk(3.1%, 0%, 59.2%, 12.5%)
CIE-LABlab(86.07, -19.32, 62.17)
CIE-LCHlch(86.07, 65.11, 107.26°)
OKLaboklab(87.33% -0.0577 0.1427)
OKLCHoklch(87.33% 0.154 112)
XYZxyz(56.5964, 68.1308, 20.0647)
Luminance0.6813 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8DF5B #625BDF
analogous
#DFA45B #D8DF5B #96DF5B
triadic
#D8DF5B #5BD8DF #DF5BD8
tetradic
#D8DF5B #5BDFA4 #625BDF #DF5B96
square
#D8DF5B #5BDFA4 #625BDF #DF5B96
split-complementary
#D8DF5B #5B96DF #A45BDF
monochromatic
#99A01F #CAD429 #D8DF5B #E4E98E #F0F3C1

Accessibility & contrast

On white

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

On black

14.63
#D8DF5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8DF5B
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8DF5B#FFFFFF#000000##000000
##D8DF5B1.001.4414.6314.63
#FFFFFF1.441.0021.0021.00
#00000014.6321.001.001.00
##00000014.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD64C
Deuteranopia (green-blind)
#EFD963
Tritanopia (blue-blind)
#E5D3C3
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #d8df5b;
/* rgb */ color: rgb(216, 223, 91);
/* oklch */ color: oklch(87.3% 0.154 112.0);
Tailwind
colors: {
  custom: {
    50: '#e7e88e',
    500: '#d8df5b',
    950: '#000000',
  },
}
SCSS
$custom: #d8df5b;
$custom-light: #e7e88e;
$custom-dark: #000000;
JSON
{
  "hex": "#d8df5b",
  "rgb": {
    "r": 216,
    "g": 223,
    "b": 91
  },
  "hsl": {
    "h": 63.182,
    "s": 67.347,
    "l": 61.569
  },
  "oklch": {
    "l": 0.87326,
    "c": 0.15394,
    "h": 112
  },
  "luminance": 0.6813
}

Semantic roles & 50–950 ramp

primary
#D8DF5B
secondary
#403BA3
accent
#16CF20
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16160D
muted
#85847F

Preview Lab

Preview with #D8DF5B

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

Preview Lab → · Contrast checker → · Palette generator →

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