#D2D565#D2D565

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

Color values

HEX#D2D565
RGBrgb(210, 213, 101)
HSLhsl(62, 57%, 62%)
HSVhsv(62, 53%, 84%)
CMYKcmyk(1.4%, 0%, 52.6%, 16.5%)
CIE-LABlab(83.04, -16.05, 54.21)
CIE-LCHlch(83.04, 56.54, 106.50°)
OKLaboklab(84.82% -0.0471 0.1269)
OKLCHoklch(84.82% 0.135 110.4)
XYZxyz(52.7228, 62.2309, 21.5438)
Luminance0.6223 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D565 #6865D5
analogous
#D5A065 #D2D565 #9AD565
triadic
#D2D565 #65D2D5 #D565D2
tetradic
#D2D565 #65D5A0 #6865D5 #D5659A
square
#D2D565 #65D5A0 #6865D5 #D5659A
split-complementary
#D2D565 #659AD5 #A065D5
monochromatic
#949729 #C3C736 #D2D565 #E0E295 #EEEFC5

Accessibility & contrast

On white

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

On black

13.45
#D2D565 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D565
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D565#FFFFFF#000000##000000
##D2D5651.001.5613.4513.45
#FFFFFF1.561.0021.0021.00
#00000013.4521.001.001.00
##00000013.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CD5A
Deuteranopia (green-blind)
#E5D06B
Tritanopia (blue-blind)
#DFCABC
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d2d565;
/* rgb */ color: rgb(210, 213, 101);
/* oklch */ color: oklch(84.8% 0.135 110.4);
Tailwind
colors: {
  custom: {
    50: '#e2e194',
    500: '#d2d565',
    950: '#000000',
  },
}
SCSS
$custom: #d2d565;
$custom-light: #e2e194;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d565",
  "rgb": {
    "r": 210,
    "g": 213,
    "b": 101
  },
  "hsl": {
    "h": 61.607,
    "s": 57.143,
    "l": 61.569
  },
  "oklch": {
    "l": 0.84819,
    "c": 0.13539,
    "h": 110.4
  },
  "luminance": 0.6223
}

Semantic roles & 50–950 ramp

primary
#D2D565
secondary
#45439C
accent
#21C525
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D2D565

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

Preview Lab → · Contrast checker → · Palette generator →

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