#D5D472#D5D472

#D5D472 is a very light, vivid yellow. Relative luminance 0.624; OKLCH L 85.0% C 0.121 H 108.2°. Best body text is #000000 at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#D5D472
RGBrgb(213, 212, 114)
HSLhsl(59, 54%, 64%)
HSVhsv(59, 46%, 84%)
CMYKcmyk(0%, 0.5%, 46.5%, 16.5%)
CIE-LABlab(83.15, -13.21, 48.28)
CIE-LCHlch(83.15, 50.05, 105.30°)
OKLaboklab(85.02% -0.0378 0.1151)
OKLCHoklch(85.02% 0.121 108.2)
XYZxyz(54.0224, 62.4493, 25.1245)
Luminance0.6245 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D472 #7273D5
analogous
#D5A372 #D5D472 #A5D572
triadic
#D5D472 #72D5D4 #D472D5
tetradic
#D5D472 #72D5A3 #7273D5 #D572A5
square
#D5D472 #72D5A3 #7273D5 #D572A5
split-complementary
#D5D472 #72A5D5 #A372D5
monochromatic
#9E9D2F #C7C643 #D5D472 #E3E2A1 #F1F1D0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5D472#FFFFFF#000000##000000
##D5D4721.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)
#E2CD6A
Deuteranopia (green-blind)
#E4D177
Tritanopia (blue-blind)
#E1C9BD
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d5d472;
/* rgb */ color: rgb(213, 212, 114);
/* oklch */ color: oklch(85.0% 0.121 108.2);
Tailwind
colors: {
  custom: {
    50: '#e4e19c',
    500: '#d5d472',
    950: '#000000',
  },
}
SCSS
$custom: #d5d472;
$custom-light: #e4e19c;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d472",
  "rgb": {
    "r": 213,
    "g": 212,
    "b": 114
  },
  "hsl": {
    "h": 59.394,
    "s": 54.098,
    "l": 64.118
  },
  "oklch": {
    "l": 0.85016,
    "c": 0.12116,
    "h": 108.2
  },
  "luminance": 0.62448
}

Semantic roles & 50–950 ramp

primary
#D5D472
secondary
#494AA2
accent
#26C224
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D5D472

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

Preview Lab → · Contrast checker → · Palette generator →

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