#D2D561#D2D561

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

Color values

HEX#D2D561
RGBrgb(210, 213, 97)
HSLhsl(62, 58%, 61%)
HSVhsv(62, 54%, 84%)
CMYKcmyk(1.4%, 0%, 54.5%, 16.5%)
CIE-LABlab(83.00, -16.38, 55.98)
CIE-LCHlch(83.00, 58.33, 106.31°)
OKLaboklab(84.77% -0.0484 0.1303)
OKLCHoklch(84.77% 0.139 110.4)
XYZxyz(52.5316, 62.1544, 20.5367)
Luminance0.6215 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D561 #6461D5
analogous
#D59E61 #D2D561 #98D561
triadic
#D2D561 #61D2D5 #D561D2
tetradic
#D2D561 #61D59E #6461D5 #D56198
square
#D2D561 #61D59E #6461D5 #D56198
split-complementary
#D2D561 #6198D5 #9E61D5
monochromatic
#919427 #C1C534 #D2D561 #E0E291 #EEEFC2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2D561#FFFFFF#000000##000000
##D2D5611.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)
#E4CD55
Deuteranopia (green-blind)
#E5D067
Tritanopia (blue-blind)
#DFC9BB
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d2d561;
/* rgb */ color: rgb(210, 213, 97);
/* oklch */ color: oklch(84.8% 0.139 110.4);
Tailwind
colors: {
  custom: {
    50: '#e2e191',
    500: '#d2d561',
    950: '#000000',
  },
}
SCSS
$custom: #d2d561;
$custom-light: #e2e191;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d561",
  "rgb": {
    "r": 210,
    "g": 213,
    "b": 97
  },
  "hsl": {
    "h": 61.552,
    "s": 58,
    "l": 60.784
  },
  "oklch": {
    "l": 0.84773,
    "c": 0.13904,
    "h": 110.4
  },
  "luminance": 0.62153
}

Semantic roles & 50–950 ramp

primary
#D2D561
secondary
#434199
accent
#20C624
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D2D561

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

Preview Lab → · Contrast checker → · Palette generator →

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