#D5D562#D5D562

#D5D562 is a very light, vivid yellow. Relative luminance 0.626; OKLCH L 85.0% C 0.138 H 109.0°. Best body text is #000000 at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#D5D562
RGBrgb(213, 213, 98)
HSLhsl(60, 58%, 61%)
HSVhsv(60, 54%, 84%)
CMYKcmyk(0%, 0%, 54%, 16.5%)
CIE-LABlab(83.24, -15.08, 55.87)
CIE-LCHlch(83.24, 57.87, 105.10°)
OKLaboklab(85.03% -0.0448 0.1301)
OKLCHoklch(85.03% 0.138 109)
XYZxyz(53.4408, 62.6178, 20.8242)
Luminance0.6262 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D562 #6262D5
analogous
#D59B62 #D5D562 #9BD562
triadic
#D5D562 #62D5D5 #D562D5
tetradic
#D5D562 #62D59B #6262D5 #D5629B
square
#D5D562 #62D59B #6262D5 #D5629B
split-complementary
#D5D562 #629BD5 #9B62D5
monochromatic
#959528 #C5C535 #D5D562 #E2E292 #EFEFC3

Accessibility & contrast

On white

1.55
#D5D562 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.52
#D5D562 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D562
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D562#FFFFFF#000000##000000
##D5D5621.001.5513.5213.52
#FFFFFF1.551.0021.0021.00
#00000013.5221.001.001.00
##00000013.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CD56
Deuteranopia (green-blind)
#E6D168
Tritanopia (blue-blind)
#E2C9BC
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d5d562;
/* rgb */ color: rgb(213, 213, 98);
/* oklch */ color: oklch(85.0% 0.138 109.0);
Tailwind
colors: {
  custom: {
    50: '#e4e192',
    500: '#d5d562',
    950: '#000000',
  },
}
SCSS
$custom: #d5d562;
$custom-light: #e4e192;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d562",
  "rgb": {
    "r": 213,
    "g": 213,
    "b": 98
  },
  "hsl": {
    "h": 60,
    "s": 57.789,
    "l": 60.98
  },
  "oklch": {
    "l": 0.8503,
    "c": 0.13765,
    "h": 109
  },
  "luminance": 0.62616
}

Semantic roles & 50–950 ramp

primary
#D5D562
secondary
#41419A
accent
#20C520
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D5D562

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

Preview Lab → · Contrast checker → · Palette generator →

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