#D5D372#D5D372

#D5D372 is a very light, vivid yellow. Relative luminance 0.620; OKLCH L 84.8% C 0.120 H 107.7°. Best body text is #000000 at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#D5D372
RGBrgb(213, 211, 114)
HSLhsl(59, 54%, 64%)
HSVhsv(59, 46%, 84%)
CMYKcmyk(0%, 0.9%, 46.5%, 16.5%)
CIE-LABlab(82.89, -12.70, 47.96)
CIE-LCHlch(82.89, 49.61, 104.84°)
OKLaboklab(84.81% -0.0364 0.1144)
OKLCHoklch(84.81% 0.12 107.7)
XYZxyz(53.7732, 61.9509, 25.0414)
Luminance0.6195 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D372 #7274D5
analogous
#D5A272 #D5D372 #A6D572
triadic
#D5D372 #72D5D3 #D372D5
tetradic
#D5D372 #72D5A2 #7274D5 #D572A6
square
#D5D372 #72D5A2 #7274D5 #D572A6
split-complementary
#D5D372 #72A6D5 #A272D5
monochromatic
#9E9B2F #C7C443 #D5D372 #E3E2A1 #F1F0D0

Accessibility & contrast

On white

1.57
#D5D372 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.39
#D5D372 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D372
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D372#FFFFFF#000000##000000
##D5D3721.001.5713.3913.39
#FFFFFF1.571.0021.0021.00
#00000013.3921.001.001.00
##00000013.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CC6A
Deuteranopia (green-blind)
#E3D077
Tritanopia (blue-blind)
#E1C8BC
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d5d372;
/* rgb */ color: rgb(213, 211, 114);
/* oklch */ color: oklch(84.8% 0.120 107.7);
Tailwind
colors: {
  custom: {
    50: '#e4e09c',
    500: '#d5d372',
    950: '#000000',
  },
}
SCSS
$custom: #d5d372;
$custom-light: #e4e09c;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d372",
  "rgb": {
    "r": 213,
    "g": 211,
    "b": 114
  },
  "hsl": {
    "h": 58.788,
    "s": 54.098,
    "l": 64.118
  },
  "oklch": {
    "l": 0.84805,
    "c": 0.12005,
    "h": 107.7
  },
  "luminance": 0.6195
}

Semantic roles & 50–950 ramp

primary
#D5D372
secondary
#494BA2
accent
#27C224
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D5D372

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

Preview Lab → · Contrast checker → · Palette generator →

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