#D7D562#D7D562

#D7D562 is a very light, vivid yellow. Relative luminance 0.629; OKLCH L 85.2% C 0.137 H 108.1°. Best body text is #000000 at 13.58:1 contrast (WCAG AA passes).

Color values

HEX#D7D562
RGBrgb(215, 213, 98)
HSLhsl(59, 59%, 61%)
HSVhsv(59, 54%, 84%)
CMYKcmyk(0%, 0.9%, 54.4%, 15.7%)
CIE-LABlab(83.40, -14.27, 56.10)
CIE-LCHlch(83.40, 57.88, 104.27°)
OKLaboklab(85.2% -0.0426 0.1306)
OKLCHoklch(85.2% 0.137 108.1)
XYZxyz(54.0247, 62.9189, 20.8516)
Luminance0.6292 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D562 #6264D7
analogous
#D79B62 #D7D562 #9FD762
triadic
#D7D562 #62D7D5 #D562D7
tetradic
#D7D562 #62D79B #6264D7 #D7629F
square
#D7D562 #62D79B #6264D7 #D7629F
split-complementary
#D7D562 #629FD7 #9B62D7
monochromatic
#989627 #C9C633 #D7D562 #E3E293 #F0EFC4

Accessibility & contrast

On white

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

On black

13.58
#D7D562 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D562
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D562#FFFFFF#000000##000000
##D7D5621.001.5513.5813.58
#FFFFFF1.551.0021.0021.00
#00000013.5821.001.001.00
##00000013.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CD56
Deuteranopia (green-blind)
#E6D268
Tritanopia (blue-blind)
#E5C9BC
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d7d562;
/* rgb */ color: rgb(215, 213, 98);
/* oklch */ color: oklch(85.2% 0.137 108.1);
Tailwind
colors: {
  custom: {
    50: '#e6e192',
    500: '#d7d562',
    950: '#000000',
  },
}
SCSS
$custom: #d7d562;
$custom-light: #e6e192;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d562",
  "rgb": {
    "r": 215,
    "g": 213,
    "b": 98
  },
  "hsl": {
    "h": 58.974,
    "s": 59.391,
    "l": 61.373
  },
  "oklch": {
    "l": 0.85195,
    "c": 0.13737,
    "h": 108.1
  },
  "luminance": 0.62917
}

Semantic roles & 50–950 ramp

primary
#D7D562
secondary
#41429D
accent
#21C71E
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D7D562

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

Preview Lab → · Contrast checker → · Palette generator →

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