#D4D562#D4D562

#D4D562 is a very light, vivid yellow. Relative luminance 0.625; OKLCH L 84.9% C 0.138 H 109.5°. Best body text is #000000 at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#D4D562
RGBrgb(212, 213, 98)
HSLhsl(61, 58%, 61%)
HSVhsv(61, 54%, 84%)
CMYKcmyk(0.5%, 0%, 54%, 16.5%)
CIE-LABlab(83.16, -15.49, 55.76)
CIE-LCHlch(83.16, 57.87, 105.52°)
OKLaboklab(84.95% -0.0459 0.1299)
OKLCHoklch(84.95% 0.138 109.5)
XYZxyz(53.1516, 62.4687, 20.8107)
Luminance0.6247 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D562 #6362D5
analogous
#D59C62 #D4D562 #9AD562
triadic
#D4D562 #62D4D5 #D562D4
tetradic
#D4D562 #62D59C #6362D5 #D5629A
square
#D4D562 #62D59C #6362D5 #D5629A
split-complementary
#D4D562 #629AD5 #9C62D5
monochromatic
#949528 #C4C535 #D4D562 #E1E292 #EEEFC3

Accessibility & contrast

On white

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

On black

13.49
#D4D562 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D562
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D562#FFFFFF#000000##000000
##D4D5621.001.5613.4913.49
#FFFFFF1.561.0021.0021.00
#00000013.4921.001.001.00
##00000013.4921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4d562;
/* rgb */ color: rgb(212, 213, 98);
/* oklch */ color: oklch(84.9% 0.138 109.5);
Tailwind
colors: {
  custom: {
    50: '#e4e192',
    500: '#d4d562',
    950: '#000000',
  },
}
SCSS
$custom: #d4d562;
$custom-light: #e4e192;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d562",
  "rgb": {
    "r": 212,
    "g": 213,
    "b": 98
  },
  "hsl": {
    "h": 60.522,
    "s": 57.789,
    "l": 60.98
  },
  "oklch": {
    "l": 0.84948,
    "c": 0.1378,
    "h": 109.5
  },
  "luminance": 0.62467
}

Semantic roles & 50–950 ramp

primary
#D4D562
secondary
#42419A
accent
#20C522
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D4D562

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

Preview Lab → · Contrast checker → · Palette generator →

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