#D8DF57#D8DF57

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

Color values

HEX#D8DF57
RGBrgb(216, 223, 87)
HSLhsl(63, 68%, 61%)
HSVhsv(63, 61%, 87%)
CMYKcmyk(3.1%, 0%, 61%, 12.5%)
CIE-LABlab(86.04, -19.59, 63.81)
CIE-LCHlch(86.04, 66.75, 107.06°)
OKLaboklab(87.29% -0.0589 0.1457)
OKLCHoklch(87.29% 0.157 112)
XYZxyz(56.4284, 68.0636, 19.1800)
Luminance0.6806 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8DF57 #5E57DF
analogous
#DFA257 #D8DF57 #94DF57
triadic
#D8DF57 #57D8DF #DF57D8
tetradic
#D8DF57 #57DFA2 #5E57DF #DF5794
square
#D8DF57 #57DFA2 #5E57DF #DF5794
split-complementary
#D8DF57 #5794DF #A257DF
monochromatic
#979E1E #C8D128 #D8DF57 #E4E98A #F0F3BE

Accessibility & contrast

On white

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

On black

14.61
#D8DF57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8DF57
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8DF57#FFFFFF#000000##000000
##D8DF571.001.4414.6114.61
#FFFFFF1.441.0021.0021.00
#00000014.6121.001.001.00
##00000014.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8df57;
/* rgb */ color: rgb(216, 223, 87);
/* oklch */ color: oklch(87.3% 0.157 112.0);
Tailwind
colors: {
  custom: {
    50: '#e7e88c',
    500: '#d8df57',
    950: '#000000',
  },
}
SCSS
$custom: #d8df57;
$custom-light: #e7e88c;
$custom-dark: #000000;
JSON
{
  "hex": "#d8df57",
  "rgb": {
    "r": 216,
    "g": 223,
    "b": 87
  },
  "hsl": {
    "h": 63.088,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.87288,
    "c": 0.15711,
    "h": 112
  },
  "luminance": 0.68062
}

Semantic roles & 50–950 ramp

primary
#D8DF57
secondary
#3F39A1
accent
#16D01F
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16160C
muted
#85847F

Preview Lab

Preview with #D8DF57

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

Preview Lab → · Contrast checker → · Palette generator →

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