#D5D322#D5D322

#D5D322 is a very light, vivid yellow. Relative luminance 0.609; OKLCH L 84.1% C 0.176 H 108.9°. Best body text is #000000 at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#D5D322
RGBrgb(213, 211, 34)
HSLhsl(59, 72%, 48%)
HSVhsv(59, 84%, 84%)
CMYKcmyk(0%, 0.9%, 84%, 16.5%)
CIE-LABlab(82.30, -17.33, 77.56)
CIE-LCHlch(82.30, 79.47, 102.60°)
OKLaboklab(84.15% -0.057 0.1662)
OKLCHoklch(84.15% 0.176 108.9)
XYZxyz(51.0257, 60.8519, 10.5708)
Luminance0.6085 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D322 #2224D5
analogous
#D57A22 #D5D322 #7DD522
triadic
#D5D322 #22D5D3 #D322D5
tetradic
#D5D322 #22D57A #2224D5 #D5227D
square
#D5D322 #22D57A #2224D5 #D5227D
split-complementary
#D5D322 #227DD5 #7A22D5
monochromatic
#6B6A11 #A09F1A #D5D322 #E3E251 #ECEB86

Accessibility & contrast

On white

1.59
#D5D322 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.17
#D5D322 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D322
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D322#FFFFFF#000000##000000
##D5D3221.001.5913.1713.17
#FFFFFF1.591.0021.0021.00
#00000013.1721.001.001.00
##00000013.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CA00
Deuteranopia (green-blind)
#E7CF35
Tritanopia (blue-blind)
#E5C5B4
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d5d322;
/* rgb */ color: rgb(213, 211, 34);
/* oklch */ color: oklch(84.1% 0.176 108.9);
Tailwind
colors: {
  custom: {
    50: '#e6e071',
    500: '#d5d322',
    950: '#000000',
  },
}
SCSS
$custom: #d5d322;
$custom-light: #e6e071;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d322",
  "rgb": {
    "r": 213,
    "g": 211,
    "b": 34
  },
  "hsl": {
    "h": 59.33,
    "s": 72.47,
    "l": 48.431
  },
  "oklch": {
    "l": 0.84148,
    "c": 0.17572,
    "h": 108.9
  },
  "luminance": 0.6085
}

Semantic roles & 50–950 ramp

primary
#D5D322
secondary
#262775
accent
#3BEF39
background
#FFFEFB
surface
#FEFCF1
border
#D6D5CB
text
#171509
muted
#85847D

Preview Lab

Preview with #D5D322

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

Preview Lab → · Contrast checker → · Palette generator →

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