#D3D431#D3D431

#D3D431 is a very light, vivid yellow. Relative luminance 0.612; OKLCH L 84.3% C 0.171 H 109.9°. Best body text is #000000 at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#D3D431
RGBrgb(211, 212, 49)
HSLhsl(60, 65%, 51%)
HSVhsv(60, 77%, 83%)
CMYKcmyk(0.5%, 0%, 76.9%, 16.9%)
CIE-LABlab(82.46, -18.21, 73.81)
CIE-LCHlch(82.46, 76.02, 103.86°)
OKLaboklab(84.26% -0.0583 0.1608)
OKLCHoklch(84.26% 0.171 109.9)
XYZxyz(50.9637, 61.1591, 12.0254)
Luminance0.6116 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3D431 #3231D4
analogous
#D48331 #D3D431 #81D431
triadic
#D3D431 #31D3D4 #D431D3
tetradic
#D3D431 #31D483 #3231D4 #D43181
square
#D3D431 #31D483 #3231D4 #D43181
split-complementary
#D3D431 #3181D4 #8331D4
monochromatic
#727318 #A4A523 #D3D431 #DEDF64 #E9E996

Accessibility & contrast

On white

1.59
#D3D431 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.23
#D3D431 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3D431
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3D431#FFFFFF#000000##000000
##D3D4311.001.5913.2313.23
#FFFFFF1.591.0021.0021.00
#00000013.2321.001.001.00
##00000013.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CB00
Deuteranopia (green-blind)
#E7CF3F
Tritanopia (blue-blind)
#E2C6B6
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d3d431;
/* rgb */ color: rgb(211, 212, 49);
/* oklch */ color: oklch(84.3% 0.171 109.9);
Tailwind
colors: {
  custom: {
    50: '#e5e077',
    500: '#d3d431',
    950: '#000000',
  },
}
SCSS
$custom: #d3d431;
$custom-light: #e5e077;
$custom-dark: #000000;
JSON
{
  "hex": "#d3d431",
  "rgb": {
    "r": 211,
    "g": 212,
    "b": 49
  },
  "hsl": {
    "h": 60.368,
    "s": 65.462,
    "l": 51.176
  },
  "oklch": {
    "l": 0.84259,
    "c": 0.17103,
    "h": 109.9
  },
  "luminance": 0.61158
}

Semantic roles & 50–950 ramp

primary
#D3D431
secondary
#2E2E7B
accent
#3FE840
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150A
muted
#85847D

Preview Lab

Preview with #D3D431

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

Preview Lab → · Contrast checker → · Palette generator →

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