#D5D422#D5D422

#D5D422 is a very light, vivid yellow. Relative luminance 0.613; OKLCH L 84.4% C 0.177 H 109.3°. Best body text is #000000 at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#D5D422
RGBrgb(213, 212, 34)
HSLhsl(60, 72%, 48%)
HSVhsv(60, 84%, 84%)
CMYKcmyk(0%, 0.5%, 84%, 16.5%)
CIE-LABlab(82.57, -17.83, 77.78)
CIE-LCHlch(82.57, 79.80, 102.91°)
OKLaboklab(84.36% -0.0584 0.1667)
OKLCHoklch(84.36% 0.177 109.3)
XYZxyz(51.2749, 61.3503, 10.6539)
Luminance0.6135 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D422 #2223D5
analogous
#D57A22 #D5D422 #7CD522
triadic
#D5D422 #22D5D4 #D422D5
tetradic
#D5D422 #22D57A #2223D5 #D5227C
square
#D5D422 #22D57A #2223D5 #D5227C
split-complementary
#D5D422 #227CD5 #7A22D5
monochromatic
#6B6B11 #A09F1A #D5D422 #E3E251 #ECEB86

Accessibility & contrast

On white

1.58
#D5D422 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.27
#D5D422 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D422
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D422#FFFFFF#000000##000000
##D5D4221.001.5813.2713.27
#FFFFFF1.581.0021.0021.00
#00000013.2721.001.001.00
##00000013.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CB00
Deuteranopia (green-blind)
#E8D035
Tritanopia (blue-blind)
#E5C6B5
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d5d422;
/* rgb */ color: rgb(213, 212, 34);
/* oklch */ color: oklch(84.4% 0.177 109.3);
Tailwind
colors: {
  custom: {
    50: '#e6e071',
    500: '#d5d422',
    950: '#000000',
  },
}
SCSS
$custom: #d5d422;
$custom-light: #e6e071;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d422",
  "rgb": {
    "r": 213,
    "g": 212,
    "b": 34
  },
  "hsl": {
    "h": 59.665,
    "s": 72.47,
    "l": 48.431
  },
  "oklch": {
    "l": 0.84362,
    "c": 0.17661,
    "h": 109.3
  },
  "luminance": 0.61349
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D5D422

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

Preview Lab → · Contrast checker → · Palette generator →

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