#D8DF62#D8DF62

#D8DF62 is a very light, vivid yellow. Relative luminance 0.683; OKLCH L 87.4% C 0.148 H 112.0°. Best body text is #000000 at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#D8DF62
RGBrgb(216, 223, 98)
HSLhsl(63, 66%, 63%)
HSVhsv(63, 56%, 87%)
CMYKcmyk(3.1%, 0%, 56.1%, 12.5%)
CIE-LABlab(86.13, -18.81, 59.22)
CIE-LCHlch(86.13, 62.13, 107.62°)
OKLaboklab(87.4% -0.0556 0.1373)
OKLCHoklch(87.4% 0.148 112)
XYZxyz(56.9125, 68.2573, 21.7298)
Luminance0.6826 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8DF62 #6962DF
analogous
#DFA762 #D8DF62 #99DF62
triadic
#D8DF62 #62D8DF #DF62D8
tetradic
#D8DF62 #62DFA7 #6962DF #DF6299
square
#D8DF62 #62DFA7 #6962DF #DF6299
split-complementary
#D8DF62 #6299DF #A762DF
monochromatic
#9EA522 #CBD52F #D8DF62 #E5E995 #F1F4C8

Accessibility & contrast

On white

1.43
#D8DF62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.65
#D8DF62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8DF62
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8DF62#FFFFFF#000000##000000
##D8DF621.001.4314.6514.65
#FFFFFF1.431.0021.0021.00
#00000014.6521.001.001.00
##00000014.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED655
Deuteranopia (green-blind)
#EFD969
Tritanopia (blue-blind)
#E5D3C4
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #d8df62;
/* rgb */ color: rgb(216, 223, 98);
/* oklch */ color: oklch(87.4% 0.148 112.0);
Tailwind
colors: {
  custom: {
    50: '#e6e893',
    500: '#d8df62',
    950: '#000000',
  },
}
SCSS
$custom: #d8df62;
$custom-light: #e6e893;
$custom-dark: #000000;
JSON
{
  "hex": "#d8df62",
  "rgb": {
    "r": 216,
    "g": 223,
    "b": 98
  },
  "hsl": {
    "h": 63.36,
    "s": 66.138,
    "l": 62.941
  },
  "oklch": {
    "l": 0.87396,
    "c": 0.14808,
    "h": 112
  },
  "luminance": 0.68256
}

Semantic roles & 50–950 ramp

primary
#D8DF62
secondary
#433EA8
accent
#17CE22
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16160D
muted
#84847F

Preview Lab

Preview with #D8DF62

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

Preview Lab → · Contrast checker → · Palette generator →

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