#D1DB31#D1DB31

#D1DB31 is a very light, vivid yellow. Relative luminance 0.644; OKLCH L 85.6% C 0.178 H 113.1°. Best body text is #000000 at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#D1DB31
RGBrgb(209, 219, 49)
HSLhsl(64, 70%, 53%)
HSVhsv(64, 78%, 86%)
CMYKcmyk(4.6%, 0%, 77.6%, 14.1%)
CIE-LABlab(84.19, -22.46, 75.30)
CIE-LCHlch(84.19, 78.58, 106.61°)
OKLaboklab(85.61% -0.07 0.1641)
OKLCHoklch(85.61% 0.178 113.1)
XYZxyz(52.1821, 64.4413, 12.5947)
Luminance0.6444 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1DB31 #3B31DB
analogous
#DB9031 #D1DB31 #7CDB31
triadic
#D1DB31 #31D1DB #DB31D1
tetradic
#D1DB31 #31DB90 #3B31DB #DB317C
square
#D1DB31 #31DB90 #3B31DB #DB317C
split-complementary
#D1DB31 #317CDB #9031DB
monochromatic
#767C16 #A7B01F #D1DB31 #DDE465 #E8ED99

Accessibility & contrast

On white

1.51
#D1DB31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.89
#D1DB31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1DB31
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1DB31#FFFFFF#000000##000000
##D1DB311.001.5113.8913.89
#FFFFFF1.511.0021.0021.00
#00000013.8921.001.001.00
##00000013.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD000
Deuteranopia (green-blind)
#ECD441
Tritanopia (blue-blind)
#DFCEBC
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d1db31;
/* rgb */ color: rgb(209, 219, 49);
/* oklch */ color: oklch(85.6% 0.178 113.1);
Tailwind
colors: {
  custom: {
    50: '#e3e578',
    500: '#d1db31',
    950: '#000000',
  },
}
SCSS
$custom: #d1db31;
$custom-light: #e3e578;
$custom-dark: #000000;
JSON
{
  "hex": "#d1db31",
  "rgb": {
    "r": 209,
    "g": 219,
    "b": 49
  },
  "hsl": {
    "h": 63.529,
    "s": 70.248,
    "l": 52.549
  },
  "oklch": {
    "l": 0.85606,
    "c": 0.17836,
    "h": 113.1
  },
  "luminance": 0.6444
}

Semantic roles & 50–950 ramp

primary
#D1DB31
secondary
#322D83
accent
#3BED45
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150A
muted
#85847D

Preview Lab

Preview with #D1DB31

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

Preview Lab → · Contrast checker → · Palette generator →

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