#D5D859#D5D859

#D5D859 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.80:1 contrast (WCAG AA passes).

Color values

HEX#D5D859
RGBrgb(213, 216, 89)
HSLhsl(61, 62%, 60%)
HSVhsv(61, 59%, 85%)
CMYKcmyk(1.4%, 0%, 58.8%, 15.3%)
CIE-LABlab(83.96, -17.24, 60.64)
CIE-LCHlch(83.96, 63.05, 105.87°)
OKLaboklab(85.57% -0.0519 0.1393)
OKLCHoklch(85.57% 0.149 110.4)
XYZxyz(53.8011, 63.9805, 18.9646)
Luminance0.6398 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D859 #5C59D8
analogous
#D89B59 #D5D859 #96D859
triadic
#D5D859 #59D5D8 #D859D5
tetradic
#D5D859 #59D89B #5C59D8 #D85996
square
#D5D859 #59D89B #5C59D8 #D85996
split-complementary
#D5D859 #5996D8 #9B59D8
monochromatic
#919423 #C2C52E #D5D859 #E2E48B #EEEFBC

Accessibility & contrast

On white

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

On black

13.80
#D5D859 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D859
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D859#FFFFFF#000000##000000
##D5D8591.001.5213.8013.80
#FFFFFF1.521.0021.0021.00
#00000013.8021.001.001.00
##00000013.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5d859;
/* rgb */ color: rgb(213, 216, 89);
/* oklch */ color: oklch(85.6% 0.149 110.4);
Tailwind
colors: {
  custom: {
    50: '#e5e38d',
    500: '#d5d859',
    950: '#000000',
  },
}
SCSS
$custom: #d5d859;
$custom-light: #e5e38d;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d859",
  "rgb": {
    "r": 213,
    "g": 216,
    "b": 89
  },
  "hsl": {
    "h": 61.417,
    "s": 61.951,
    "l": 59.804
  },
  "oklch": {
    "l": 0.85573,
    "c": 0.14862,
    "h": 110.4
  },
  "luminance": 0.63979
}

Semantic roles & 50–950 ramp

primary
#D5D859
secondary
#3F3C99
accent
#43E547
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D5D859

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

Preview Lab → · Contrast checker → · Palette generator →

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