#D3D332#D3D332

#D3D332 is a very light, vivid yellow. Relative luminance 0.607; OKLCH L 84.0% C 0.170 H 109.6°. Best body text is #000000 at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#D3D332
RGBrgb(211, 211, 50)
HSLhsl(60, 65%, 51%)
HSVhsv(60, 76%, 83%)
CMYKcmyk(0%, 0%, 76.3%, 17.3%)
CIE-LABlab(82.20, -17.68, 73.28)
CIE-LCHlch(82.20, 75.38, 103.57°)
OKLaboklab(84.05% -0.0568 0.1598)
OKLCHoklch(84.05% 0.17 109.6)
XYZxyz(50.7359, 60.6693, 12.0547)
Luminance0.6067 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3D332 #3232D3
analogous
#D38232 #D3D332 #82D332
triadic
#D3D332 #32D3D3 #D332D3
tetradic
#D3D332 #32D382 #3232D3 #D33282
square
#D3D332 #32D382 #3232D3 #D33282
split-complementary
#D3D332 #3282D3 #8232D3
monochromatic
#727218 #A4A423 #D3D332 #DEDE64 #E9E997

Accessibility & contrast

On white

1.60
#D3D332 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.13
#D3D332 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3D332
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3D332#FFFFFF#000000##000000
##D3D3321.001.6013.1313.13
#FFFFFF1.601.0021.0021.00
#00000013.1321.001.001.00
##00000013.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CA00
Deuteranopia (green-blind)
#E6CF40
Tritanopia (blue-blind)
#E2C5B5
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d3d332;
/* rgb */ color: rgb(211, 211, 50);
/* oklch */ color: oklch(84.0% 0.170 109.6);
Tailwind
colors: {
  custom: {
    50: '#e5e077',
    500: '#d3d332',
    950: '#000000',
  },
}
SCSS
$custom: #d3d332;
$custom-light: #e5e077;
$custom-dark: #000000;
JSON
{
  "hex": "#d3d332",
  "rgb": {
    "r": 211,
    "g": 211,
    "b": 50
  },
  "hsl": {
    "h": 60,
    "s": 64.659,
    "l": 51.176
  },
  "oklch": {
    "l": 0.8405,
    "c": 0.1696,
    "h": 109.6
  },
  "luminance": 0.60668
}

Semantic roles & 50–950 ramp

primary
#D3D332
secondary
#2E2E7B
accent
#40E840
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150A
muted
#85847D

Preview Lab

Preview with #D3D332

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

Preview Lab → · Contrast checker → · Palette generator →

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