#D3D372#D3D372

#D3D372 is a very light, vivid yellow. Relative luminance 0.617; OKLCH L 84.6% C 0.120 H 108.7°. Best body text is #000000 at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#D3D372
RGBrgb(211, 211, 114)
HSLhsl(60, 52%, 64%)
HSVhsv(60, 46%, 83%)
CMYKcmyk(0%, 0%, 46%, 17.3%)
CIE-LABlab(82.73, -13.50, 47.73)
CIE-LCHlch(82.73, 49.60, 105.80°)
OKLaboklab(84.64% -0.0386 0.1139)
OKLCHoklch(84.64% 0.12 108.7)
XYZxyz(53.1966, 61.6535, 25.0144)
Luminance0.6165 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3D372 #7272D3
analogous
#D3A272 #D3D372 #A2D372
triadic
#D3D372 #72D3D3 #D372D3
tetradic
#D3D372 #72D3A2 #7272D3 #D372A2
square
#D3D372 #72D3A2 #7272D3 #D372A2
split-complementary
#D3D372 #72A2D3 #A272D3
monochromatic
#9A9A30 #C4C443 #D3D372 #E2E2A1 #F0F0CF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D3D372#FFFFFF#000000##000000
##D3D3721.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)
#E1CC6A
Deuteranopia (green-blind)
#E2D077
Tritanopia (blue-blind)
#DFC8BC
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d3d372;
/* rgb */ color: rgb(211, 211, 114);
/* oklch */ color: oklch(84.6% 0.120 108.7);
Tailwind
colors: {
  custom: {
    50: '#e2e09c',
    500: '#d3d372',
    950: '#000000',
  },
}
SCSS
$custom: #d3d372;
$custom-light: #e2e09c;
$custom-dark: #000000;
JSON
{
  "hex": "#d3d372",
  "rgb": {
    "r": 211,
    "g": 211,
    "b": 114
  },
  "hsl": {
    "h": 60,
    "s": 52.432,
    "l": 63.725
  },
  "oklch": {
    "l": 0.84641,
    "c": 0.12028,
    "h": 108.7
  },
  "luminance": 0.61652
}

Semantic roles & 50–950 ramp

primary
#D3D372
secondary
#4A4A9F
accent
#26C026
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D3D372

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

Preview Lab → · Contrast checker → · Palette generator →

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