#D5D442#D5D442

#D5D442 is a very light, vivid yellow. Relative luminance 0.616; OKLCH L 84.5% C 0.161 H 109.0°. Best body text is #000000 at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#D5D442
RGBrgb(213, 212, 66)
HSLhsl(60, 64%, 55%)
HSVhsv(60, 69%, 84%)
CMYKcmyk(0%, 0.5%, 69%, 16.5%)
CIE-LABlab(82.72, -16.64, 68.51)
CIE-LCHlch(82.72, 70.50, 103.65°)
OKLaboklab(84.53% -0.0525 0.1525)
OKLCHoklch(84.53% 0.161 109)
XYZxyz(51.9693, 61.6280, 14.3110)
Luminance0.6163 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D442 #4243D5
analogous
#D58B42 #D5D442 #8CD542
triadic
#D5D442 #42D5D4 #D442D5
tetradic
#D5D442 #42D58B #4243D5 #D5428C
square
#D5D442 #42D58B #4243D5 #D5428C
split-complementary
#D5D442 #428CD5 #8B42D5
monochromatic
#807F1C #B2B128 #D5D442 #E0DF74 #EBEBA6

Accessibility & contrast

On white

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

On black

13.33
#D5D442 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D442
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D442#FFFFFF#000000##000000
##D5D4421.001.5813.3313.33
#FFFFFF1.581.0021.0021.00
#00000013.3321.001.001.00
##00000013.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CB2A
Deuteranopia (green-blind)
#E7D04C
Tritanopia (blue-blind)
#E4C7B7
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d5d442;
/* rgb */ color: rgb(213, 212, 66);
/* oklch */ color: oklch(84.5% 0.161 109.0);
Tailwind
colors: {
  custom: {
    50: '#e5e07f',
    500: '#d5d442',
    950: '#000000',
  },
}
SCSS
$custom: #d5d442;
$custom-light: #e5e07f;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d442",
  "rgb": {
    "r": 213,
    "g": 212,
    "b": 66
  },
  "hsl": {
    "h": 59.592,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.84527,
    "c": 0.16125,
    "h": 109
  },
  "luminance": 0.61626
}

Semantic roles & 50–950 ramp

primary
#D5D442
secondary
#343487
accent
#42E741
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D5D442

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

Preview Lab → · Contrast checker → · Palette generator →

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