#D5D159#D5D159

#D5D159 is a very light, vivid yellow. Relative luminance 0.605; OKLCH L 84.1% C 0.141 H 107.3°. Best body text is #000000 at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#D5D159
RGBrgb(213, 209, 89)
HSLhsl(58, 60%, 59%)
HSVhsv(58, 58%, 84%)
CMYKcmyk(0%, 1.9%, 58.2%, 16.5%)
CIE-LABlab(82.09, -13.76, 58.59)
CIE-LCHlch(82.09, 60.19, 103.21°)
OKLaboklab(84.09% -0.042 0.1349)
OKLCHoklch(84.09% 0.141 107.3)
XYZxyz(52.0458, 60.4699, 18.3795)
Luminance0.6047 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D159 #595DD5
analogous
#D59359 #D5D159 #9BD559
triadic
#D5D159 #59D5D1 #D159D5
tetradic
#D5D159 #59D593 #595DD5 #D5599B
square
#D5D159 #59D593 #595DD5 #D5599B
split-complementary
#D5D159 #599BD5 #9359D5
monochromatic
#8F8C24 #C0BC31 #D5D159 #E1DF8A #EEECBB

Accessibility & contrast

On white

1.60
#D5D159 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.09
#D5D159 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D159
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D159#FFFFFF#000000##000000
##D5D1591.001.6013.0913.09
#FFFFFF1.601.0021.0021.00
#00000013.0921.001.001.00
##00000013.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CA4C
Deuteranopia (green-blind)
#E3CE60
Tritanopia (blue-blind)
#E3C5B7
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d5d159;
/* rgb */ color: rgb(213, 209, 89);
/* oklch */ color: oklch(84.1% 0.141 107.3);
Tailwind
colors: {
  custom: {
    50: '#e5de8c',
    500: '#d5d159',
    950: '#000000',
  },
}
SCSS
$custom: #d5d159;
$custom-light: #e5de8c;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d159",
  "rgb": {
    "r": 213,
    "g": 209,
    "b": 89
  },
  "hsl": {
    "h": 58.065,
    "s": 59.615,
    "l": 59.216
  },
  "oklch": {
    "l": 0.84088,
    "c": 0.14129,
    "h": 107.3
  },
  "luminance": 0.60468
}

Semantic roles & 50–950 ramp

primary
#D5D159
secondary
#3D4095
accent
#4AE345
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D5D159

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

Preview Lab → · Contrast checker → · Palette generator →

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