#D6D562#D6D562

#D6D562 is a very light, vivid yellow. Relative luminance 0.628; OKLCH L 85.1% C 0.138 H 108.5°. Best body text is #000000 at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#D6D562
RGBrgb(214, 213, 98)
HSLhsl(59, 59%, 61%)
HSVhsv(59, 54%, 84%)
CMYKcmyk(0%, 0.5%, 54.2%, 16.1%)
CIE-LABlab(83.32, -14.67, 55.99)
CIE-LCHlch(83.32, 57.88, 104.69°)
OKLaboklab(85.11% -0.0437 0.1304)
OKLCHoklch(85.11% 0.138 108.5)
XYZxyz(53.7318, 62.7679, 20.8379)
Luminance0.6277 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6D562 #6263D6
analogous
#D69B62 #D6D562 #9DD662
triadic
#D6D562 #62D6D5 #D562D6
tetradic
#D6D562 #62D69B #6263D6 #D6629D
square
#D6D562 #62D69B #6263D6 #D6629D
split-complementary
#D6D562 #629DD6 #9B62D6
monochromatic
#969527 #C7C634 #D6D562 #E3E293 #EFEFC3

Accessibility & contrast

On white

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

On black

13.55
#D6D562 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6D562
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6D562#FFFFFF#000000##000000
##D6D5621.001.5513.5513.55
#FFFFFF1.551.0021.0021.00
#00000013.5521.001.001.00
##00000013.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d6d562;
/* rgb */ color: rgb(214, 213, 98);
/* oklch */ color: oklch(85.1% 0.138 108.5);
Tailwind
colors: {
  custom: {
    50: '#e5e192',
    500: '#d6d562',
    950: '#000000',
  },
}
SCSS
$custom: #d6d562;
$custom-light: #e5e192;
$custom-dark: #000000;
JSON
{
  "hex": "#d6d562",
  "rgb": {
    "r": 214,
    "g": 213,
    "b": 98
  },
  "hsl": {
    "h": 59.483,
    "s": 58.586,
    "l": 61.176
  },
  "oklch": {
    "l": 0.85112,
    "c": 0.13751,
    "h": 108.5
  },
  "luminance": 0.62766
}

Semantic roles & 50–950 ramp

primary
#D6D562
secondary
#41429B
accent
#21C61F
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D6D562

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

Preview Lab → · Contrast checker → · Palette generator →

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