#D5D459#D5D459

#D5D459 is a very light, vivid yellow. Relative luminance 0.620; OKLCH L 84.7% C 0.144 H 108.7°. Best body text is #000000 at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#D5D459
RGBrgb(213, 212, 89)
HSLhsl(60, 60%, 59%)
HSVhsv(60, 58%, 84%)
CMYKcmyk(0%, 0.5%, 58.2%, 16.5%)
CIE-LABlab(82.89, -15.25, 59.47)
CIE-LCHlch(82.89, 61.40, 104.38°)
OKLaboklab(84.72% -0.0463 0.1368)
OKLCHoklch(84.72% 0.144 108.7)
XYZxyz(52.7888, 61.9558, 18.6272)
Luminance0.6195 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D459 #595AD5
analogous
#D59659 #D5D459 #98D559
triadic
#D5D459 #59D5D4 #D459D5
tetradic
#D5D459 #59D596 #595AD5 #D55998
square
#D5D459 #59D596 #595AD5 #D55998
split-complementary
#D5D459 #5998D5 #9659D5
monochromatic
#8F8E24 #C0BF31 #D5D459 #E1E18A #EEEDBB

Accessibility & contrast

On white

1.57
#D5D459 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.39
#D5D459 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D459
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D459#FFFFFF#000000##000000
##D5D4591.001.5713.3913.39
#FFFFFF1.571.0021.0021.00
#00000013.3921.001.001.00
##00000013.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CC4B
Deuteranopia (green-blind)
#E6D060
Tritanopia (blue-blind)
#E3C8BA
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d5d459;
/* rgb */ color: rgb(213, 212, 89);
/* oklch */ color: oklch(84.7% 0.144 108.7);
Tailwind
colors: {
  custom: {
    50: '#e5e18c',
    500: '#d5d459',
    950: '#000000',
  },
}
SCSS
$custom: #d5d459;
$custom-light: #e5e18c;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d459",
  "rgb": {
    "r": 213,
    "g": 212,
    "b": 89
  },
  "hsl": {
    "h": 59.516,
    "s": 59.615,
    "l": 59.216
  },
  "oklch": {
    "l": 0.84723,
    "c": 0.14439,
    "h": 108.7
  },
  "luminance": 0.61954
}

Semantic roles & 50–950 ramp

primary
#D5D459
secondary
#3D3E95
accent
#46E345
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D5D459

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

Preview Lab → · Contrast checker → · Palette generator →

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