#D3D472#D3D472

#D3D472 is a very light, vivid yellow. Relative luminance 0.622; OKLCH L 84.9% C 0.121 H 109.2°. Best body text is #000000 at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#D3D472
RGBrgb(211, 212, 114)
HSLhsl(61, 53%, 64%)
HSVhsv(61, 46%, 83%)
CMYKcmyk(0.5%, 0%, 46.2%, 16.9%)
CIE-LABlab(82.99, -14.00, 48.05)
CIE-LCHlch(82.99, 50.05, 106.25°)
OKLaboklab(84.85% -0.04 0.1146)
OKLCHoklch(84.85% 0.121 109.2)
XYZxyz(53.4458, 62.1519, 25.0974)
Luminance0.6215 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3D472 #7372D4
analogous
#D4A472 #D3D472 #A2D472
triadic
#D3D472 #72D3D4 #D472D3
tetradic
#D3D472 #72D4A4 #7372D4 #D472A2
square
#D3D472 #72D4A4 #7372D4 #D472A2
split-complementary
#D3D472 #72A2D4 #A472D4
monochromatic
#9B9C30 #C4C643 #D3D472 #E2E2A1 #F0F1D0

Accessibility & contrast

On white

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

On black

13.43
#D3D472 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3D472
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3D472#FFFFFF#000000##000000
##D3D4721.001.5613.4313.43
#FFFFFF1.561.0021.0021.00
#00000013.4321.001.001.00
##00000013.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CD6A
Deuteranopia (green-blind)
#E3D077
Tritanopia (blue-blind)
#DFC9BD
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d3d472;
/* rgb */ color: rgb(211, 212, 114);
/* oklch */ color: oklch(84.9% 0.121 109.2);
Tailwind
colors: {
  custom: {
    50: '#e2e19c',
    500: '#d3d472',
    950: '#000000',
  },
}
SCSS
$custom: #d3d472;
$custom-light: #e2e19c;
$custom-dark: #000000;
JSON
{
  "hex": "#d3d472",
  "rgb": {
    "r": 211,
    "g": 212,
    "b": 114
  },
  "hsl": {
    "h": 60.612,
    "s": 53.261,
    "l": 63.922
  },
  "oklch": {
    "l": 0.84852,
    "c": 0.12142,
    "h": 109.2
  },
  "luminance": 0.62151
}

Semantic roles & 50–950 ramp

primary
#D3D472
secondary
#4A49A1
accent
#25C126
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D3D472

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

Preview Lab → · Contrast checker → · Palette generator →

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