#D4D431#D4D431

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

Color values

HEX#D4D431
RGBrgb(212, 212, 49)
HSLhsl(60, 65%, 51%)
HSVhsv(60, 77%, 83%)
CMYKcmyk(0%, 0%, 76.9%, 16.9%)
CIE-LABlab(82.54, -17.79, 73.91)
CIE-LCHlch(82.54, 76.02, 103.53°)
OKLaboklab(84.34% -0.0572 0.161)
OKLCHoklch(84.34% 0.171 109.6)
XYZxyz(51.2512, 61.3073, 12.0389)
Luminance0.6131 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D431 #3131D4
analogous
#D48231 #D4D431 #82D431
triadic
#D4D431 #31D4D4 #D431D4
tetradic
#D4D431 #31D482 #3131D4 #D43182
square
#D4D431 #31D482 #3131D4 #D43182
split-complementary
#D4D431 #3182D4 #8231D4
monochromatic
#737318 #A5A523 #D4D431 #DFDF64 #E9E996

Accessibility & contrast

On white

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

On black

13.26
#D4D431 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D431
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D431#FFFFFF#000000##000000
##D4D4311.001.5813.2613.26
#FFFFFF1.581.0021.0021.00
#00000013.2621.001.001.00
##00000013.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4d431;
/* rgb */ color: rgb(212, 212, 49);
/* oklch */ color: oklch(84.3% 0.171 109.6);
Tailwind
colors: {
  custom: {
    50: '#e5e077',
    500: '#d4d431',
    950: '#000000',
  },
}
SCSS
$custom: #d4d431;
$custom-light: #e5e077;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d431",
  "rgb": {
    "r": 212,
    "g": 212,
    "b": 49
  },
  "hsl": {
    "h": 60,
    "s": 65.462,
    "l": 51.176
  },
  "oklch": {
    "l": 0.84342,
    "c": 0.17082,
    "h": 109.6
  },
  "luminance": 0.61306
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D4D431

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

Preview Lab → · Contrast checker → · Palette generator →

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