#D5D259#D5D259

#D5D259 is a very light, vivid yellow. Relative luminance 0.610; OKLCH L 84.3% C 0.142 H 107.8°. Best body text is #000000 at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#D5D259
RGBrgb(213, 210, 89)
HSLhsl(59, 60%, 59%)
HSVhsv(59, 58%, 84%)
CMYKcmyk(0%, 1.4%, 58.2%, 16.5%)
CIE-LABlab(82.36, -14.26, 58.89)
CIE-LCHlch(82.36, 60.59, 103.61°)
OKLaboklab(84.3% -0.0434 0.1355)
OKLCHoklch(84.3% 0.142 107.8)
XYZxyz(52.2919, 60.9621, 18.4616)
Luminance0.6096 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D259 #595CD5
analogous
#D59459 #D5D259 #9AD559
triadic
#D5D259 #59D5D2 #D259D5
tetradic
#D5D259 #59D594 #595CD5 #D5599A
square
#D5D259 #59D594 #595CD5 #D5599A
split-complementary
#D5D259 #599AD5 #9459D5
monochromatic
#8F8D24 #C0BD31 #D5D259 #E1DF8A #EEECBB

Accessibility & contrast

On white

1.59
#D5D259 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.19
#D5D259 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D259
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D259#FFFFFF#000000##000000
##D5D2591.001.5913.1913.19
#FFFFFF1.591.0021.0021.00
#00000013.1921.001.001.00
##00000013.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CA4C
Deuteranopia (green-blind)
#E4CF60
Tritanopia (blue-blind)
#E3C6B8
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d5d259;
/* rgb */ color: rgb(213, 210, 89);
/* oklch */ color: oklch(84.3% 0.142 107.8);
Tailwind
colors: {
  custom: {
    50: '#e5df8c',
    500: '#d5d259',
    950: '#000000',
  },
}
SCSS
$custom: #d5d259;
$custom-light: #e5df8c;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d259",
  "rgb": {
    "r": 213,
    "g": 210,
    "b": 89
  },
  "hsl": {
    "h": 58.548,
    "s": 59.615,
    "l": 59.216
  },
  "oklch": {
    "l": 0.84299,
    "c": 0.14232,
    "h": 107.8
  },
  "luminance": 0.60961
}

Semantic roles & 50–950 ramp

primary
#D5D259
secondary
#3D3F95
accent
#49E345
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D5D259

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

Preview Lab → · Contrast checker → · Palette generator →

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