#D5D357#D5D357

#D5D357 is a very light, vivid yellow. Relative luminance 0.614; OKLCH L 84.5% C 0.145 H 108.3°. Best body text is #000000 at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#D5D357
RGBrgb(213, 211, 87)
HSLhsl(59, 60%, 59%)
HSVhsv(59, 59%, 84%)
CMYKcmyk(0%, 0.9%, 59.2%, 16.5%)
CIE-LABlab(82.61, -14.89, 60.03)
CIE-LCHlch(82.61, 61.85, 103.94°)
OKLaboklab(84.49% -0.0455 0.1377)
OKLCHoklch(84.49% 0.145 108.3)
XYZxyz(52.4567, 61.4243, 18.1078)
Luminance0.6142 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D357 #5759D5
analogous
#D59457 #D5D357 #98D557
triadic
#D5D357 #57D5D3 #D357D5
tetradic
#D5D357 #57D594 #5759D5 #D55798
square
#D5D357 #57D594 #5759D5 #D55798
split-complementary
#D5D357 #5798D5 #9457D5
monochromatic
#8E8C24 #BFBD30 #D5D357 #E1E088 #EDEDB9

Accessibility & contrast

On white

1.58
#D5D357 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.28
#D5D357 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D357
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D357#FFFFFF#000000##000000
##D5D3571.001.5813.2813.28
#FFFFFF1.581.0021.0021.00
#00000013.2821.001.001.00
##00000013.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CB49
Deuteranopia (green-blind)
#E5D05E
Tritanopia (blue-blind)
#E3C7B9
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d5d357;
/* rgb */ color: rgb(213, 211, 87);
/* oklch */ color: oklch(84.5% 0.145 108.3);
Tailwind
colors: {
  custom: {
    50: '#e5e08b',
    500: '#d5d357',
    950: '#000000',
  },
}
SCSS
$custom: #d5d357;
$custom-light: #e5e08b;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d357",
  "rgb": {
    "r": 213,
    "g": 211,
    "b": 87
  },
  "hsl": {
    "h": 59.048,
    "s": 60,
    "l": 58.824
  },
  "oklch": {
    "l": 0.84491,
    "c": 0.145,
    "h": 108.3
  },
  "luminance": 0.61423
}

Semantic roles & 50–950 ramp

primary
#D5D357
secondary
#3C3E94
accent
#47E345
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D5D357

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

Preview Lab → · Contrast checker → · Palette generator →

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