#D5D858#D5D858

#D5D858 is a very light, vivid yellow. Relative luminance 0.640; OKLCH L 85.6% C 0.149 H 110.4°. Best body text is #000000 at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#D5D858
RGBrgb(213, 216, 88)
HSLhsl(61, 62%, 60%)
HSVhsv(61, 59%, 85%)
CMYKcmyk(1.4%, 0%, 59.3%, 15.3%)
CIE-LABlab(83.95, -17.31, 61.06)
CIE-LCHlch(83.95, 63.47, 105.82°)
OKLaboklab(85.56% -0.0522 0.14)
OKLCHoklch(85.56% 0.149 110.4)
XYZxyz(53.7594, 63.9638, 18.7450)
Luminance0.6396 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D858 #5B58D8
analogous
#D89B58 #D5D858 #95D858
triadic
#D5D858 #58D5D8 #D858D5
tetradic
#D5D858 #58D89B #5B58D8 #D85895
square
#D5D858 #58D89B #5B58D8 #D85895
split-complementary
#D5D858 #5895D8 #9B58D8
monochromatic
#919322 #C1C52E #D5D858 #E1E48A #EEEFBB

Accessibility & contrast

On white

1.52
#D5D858 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.79
#D5D858 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D858
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D858#FFFFFF#000000##000000
##D5D8581.001.5213.7913.79
#FFFFFF1.521.0021.0021.00
#00000013.7921.001.001.00
##00000013.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CF49
Deuteranopia (green-blind)
#E9D360
Tritanopia (blue-blind)
#E3CCBD
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d5d858;
/* rgb */ color: rgb(213, 216, 88);
/* oklch */ color: oklch(85.6% 0.149 110.4);
Tailwind
colors: {
  custom: {
    50: '#e5e38c',
    500: '#d5d858',
    950: '#000000',
  },
}
SCSS
$custom: #d5d858;
$custom-light: #e5e38c;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d858",
  "rgb": {
    "r": 213,
    "g": 216,
    "b": 88
  },
  "hsl": {
    "h": 61.406,
    "s": 62.136,
    "l": 59.608
  },
  "oklch": {
    "l": 0.85563,
    "c": 0.14944,
    "h": 110.4
  },
  "luminance": 0.63962
}

Semantic roles & 50–950 ramp

primary
#D5D858
secondary
#3E3C98
accent
#43E546
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D5D858

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

Preview Lab → · Contrast checker → · Palette generator →

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