#D2D562#D2D562

#D2D562 is a very light, vivid yellow. Relative luminance 0.622; OKLCH L 84.8% C 0.138 H 110.4°. Best body text is #000000 at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#D2D562
RGBrgb(210, 213, 98)
HSLhsl(62, 58%, 61%)
HSVhsv(62, 54%, 84%)
CMYKcmyk(1.4%, 0%, 54%, 16.5%)
CIE-LABlab(83.01, -16.30, 55.54)
CIE-LCHlch(83.01, 57.89, 106.35°)
OKLaboklab(84.79% -0.0481 0.1295)
OKLCHoklch(84.79% 0.138 110.4)
XYZxyz(52.5785, 62.1732, 20.7838)
Luminance0.6217 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D562 #6562D5
analogous
#D59E62 #D2D562 #98D562
triadic
#D2D562 #62D2D5 #D562D2
tetradic
#D2D562 #62D59E #6562D5 #D56298
square
#D2D562 #62D59E #6562D5 #D56298
split-complementary
#D2D562 #6298D5 #9E62D5
monochromatic
#929528 #C1C535 #D2D562 #E0E292 #EEEFC3

Accessibility & contrast

On white

1.56
#D2D562 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.43
#D2D562 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D562
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D562#FFFFFF#000000##000000
##D2D5621.001.5613.4313.43
#FFFFFF1.561.0021.0021.00
#00000013.4321.001.001.00
##00000013.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2d562;
/* rgb */ color: rgb(210, 213, 98);
/* oklch */ color: oklch(84.8% 0.138 110.4);
Tailwind
colors: {
  custom: {
    50: '#e2e192',
    500: '#d2d562',
    950: '#000000',
  },
}
SCSS
$custom: #d2d562;
$custom-light: #e2e192;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d562",
  "rgb": {
    "r": 210,
    "g": 213,
    "b": 98
  },
  "hsl": {
    "h": 61.565,
    "s": 57.789,
    "l": 60.98
  },
  "oklch": {
    "l": 0.84785,
    "c": 0.13813,
    "h": 110.4
  },
  "luminance": 0.62172
}

Semantic roles & 50–950 ramp

primary
#D2D562
secondary
#44419A
accent
#20C524
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D2D562

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

Preview Lab → · Contrast checker → · Palette generator →

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