#D0D562#D0D562

#D0D562 is a very light, vivid yellow. Relative luminance 0.619; OKLCH L 84.6% C 0.139 H 111.3°. Best body text is #000000 at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#D0D562
RGBrgb(208, 213, 98)
HSLhsl(63, 58%, 61%)
HSVhsv(63, 54%, 84%)
CMYKcmyk(2.3%, 0%, 54%, 16.5%)
CIE-LABlab(82.85, -17.11, 55.33)
CIE-LCHlch(82.85, 57.91, 107.18°)
OKLaboklab(84.62% -0.0503 0.1291)
OKLCHoklch(84.62% 0.139 111.3)
XYZxyz(52.0125, 61.8814, 20.7573)
Luminance0.6188 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0D562 #6762D5
analogous
#D5A062 #D0D562 #96D562
triadic
#D0D562 #62D0D5 #D562D0
tetradic
#D0D562 #62D5A0 #6762D5 #D56296
square
#D0D562 #62D5A0 #6762D5 #D56296
split-complementary
#D0D562 #6296D5 #A062D5
monochromatic
#909528 #BFC535 #D0D562 #DEE292 #EDEFC3

Accessibility & contrast

On white

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

On black

13.38
#D0D562 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0D562
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0D562#FFFFFF#000000##000000
##D0D5621.001.5713.3813.38
#FFFFFF1.571.0021.0021.00
#00000013.3821.001.001.00
##00000013.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CD56
Deuteranopia (green-blind)
#E4D068
Tritanopia (blue-blind)
#DCCABC
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d0d562;
/* rgb */ color: rgb(208, 213, 98);
/* oklch */ color: oklch(84.6% 0.139 111.3);
Tailwind
colors: {
  custom: {
    50: '#e1e192',
    500: '#d0d562',
    950: '#000000',
  },
}
SCSS
$custom: #d0d562;
$custom-light: #e1e192;
$custom-dark: #000000;
JSON
{
  "hex": "#d0d562",
  "rgb": {
    "r": 208,
    "g": 213,
    "b": 98
  },
  "hsl": {
    "h": 62.609,
    "s": 57.789,
    "l": 60.98
  },
  "oklch": {
    "l": 0.84623,
    "c": 0.1385,
    "h": 111.3
  },
  "luminance": 0.6188
}

Semantic roles & 50–950 ramp

primary
#D0D562
secondary
#45419A
accent
#20C527
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D0D562

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

Preview Lab → · Contrast checker → · Palette generator →

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