#D8DF58#D8DF58

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

Color values

HEX#D8DF58
RGBrgb(216, 223, 88)
HSLhsl(63, 68%, 61%)
HSVhsv(63, 61%, 87%)
CMYKcmyk(3.1%, 0%, 60.5%, 12.5%)
CIE-LABlab(86.05, -19.52, 63.41)
CIE-LCHlch(86.05, 66.34, 107.11°)
OKLaboklab(87.3% -0.0586 0.1449)
OKLCHoklch(87.3% 0.156 112)
XYZxyz(56.4695, 68.0801, 19.3967)
Luminance0.6808 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8DF58 #5F58DF
analogous
#DFA258 #D8DF58 #94DF58
triadic
#D8DF58 #58D8DF #DF58D8
tetradic
#D8DF58 #58DFA2 #5F58DF #DF5894
square
#D8DF58 #58DFA2 #5F58DF #DF5894
split-complementary
#D8DF58 #5894DF #A258DF
monochromatic
#989E1E #C9D228 #D8DF58 #E4E98B #F0F3BF

Accessibility & contrast

On white

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

On black

14.62
#D8DF58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8DF58
14.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8DF58#FFFFFF#000000##000000
##D8DF581.001.4414.6214.62
#FFFFFF1.441.0021.0021.00
#00000014.6221.001.001.00
##00000014.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8df58;
/* rgb */ color: rgb(216, 223, 88);
/* oklch */ color: oklch(87.3% 0.156 112.0);
Tailwind
colors: {
  custom: {
    50: '#e7e88d',
    500: '#d8df58',
    950: '#000000',
  },
}
SCSS
$custom: #d8df58;
$custom-light: #e7e88d;
$custom-dark: #000000;
JSON
{
  "hex": "#d8df58",
  "rgb": {
    "r": 216,
    "g": 223,
    "b": 88
  },
  "hsl": {
    "h": 63.111,
    "s": 67.839,
    "l": 60.98
  },
  "oklch": {
    "l": 0.87297,
    "c": 0.15633,
    "h": 112
  },
  "luminance": 0.68079
}

Semantic roles & 50–950 ramp

primary
#D8DF58
secondary
#3F3AA2
accent
#16D01F
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16160D
muted
#85847F

Preview Lab

Preview with #D8DF58

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

Preview Lab → · Contrast checker → · Palette generator →

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