#D1D431#D1D431

#D1D431 is a very light, vivid yellow. Relative luminance 0.609; OKLCH L 84.1% C 0.171 H 110.7°. Best body text is #000000 at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#D1D431
RGBrgb(209, 212, 49)
HSLhsl(61, 65%, 51%)
HSVhsv(61, 77%, 83%)
CMYKcmyk(1.4%, 0%, 76.9%, 16.9%)
CIE-LABlab(82.31, -19.05, 73.61)
CIE-LCHlch(82.31, 76.03, 104.51°)
OKLaboklab(84.09% -0.0605 0.1604)
OKLCHoklch(84.09% 0.171 110.7)
XYZxyz(50.3942, 60.8655, 11.9987)
Luminance0.6086 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1D431 #3431D4
analogous
#D48531 #D1D431 #7FD431
triadic
#D1D431 #31D1D4 #D431D1
tetradic
#D1D431 #31D485 #3431D4 #D4317F
square
#D1D431 #31D485 #3431D4 #D4317F
split-complementary
#D1D431 #317FD4 #8531D4
monochromatic
#717318 #A3A523 #D1D431 #DCDF64 #E8E996

Accessibility & contrast

On white

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

On black

13.17
#D1D431 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1D431
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1D431#FFFFFF#000000##000000
##D1D4311.001.5913.1713.17
#FFFFFF1.591.0021.0021.00
#00000013.1721.001.001.00
##00000013.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CA00
Deuteranopia (green-blind)
#E6CF40
Tritanopia (blue-blind)
#E0C6B6
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d1d431;
/* rgb */ color: rgb(209, 212, 49);
/* oklch */ color: oklch(84.1% 0.171 110.7);
Tailwind
colors: {
  custom: {
    50: '#e3e077',
    500: '#d1d431',
    950: '#000000',
  },
}
SCSS
$custom: #d1d431;
$custom-light: #e3e077;
$custom-dark: #000000;
JSON
{
  "hex": "#d1d431",
  "rgb": {
    "r": 209,
    "g": 212,
    "b": 49
  },
  "hsl": {
    "h": 61.104,
    "s": 65.462,
    "l": 51.176
  },
  "oklch": {
    "l": 0.84094,
    "c": 0.17148,
    "h": 110.7
  },
  "luminance": 0.60864
}

Semantic roles & 50–950 ramp

primary
#D1D431
secondary
#2F2E7B
accent
#3FE842
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150A
muted
#85847D

Preview Lab

Preview with #D1D431

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

Preview Lab → · Contrast checker → · Palette generator →

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