#D0DB31#D0DB31

#D0DB31 is a very light, vivid yellow. Relative luminance 0.643; OKLCH L 85.5% C 0.179 H 113.5°. Best body text is #000000 at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#D0DB31
RGBrgb(208, 219, 49)
HSLhsl(64, 70%, 53%)
HSVhsv(64, 78%, 86%)
CMYKcmyk(5%, 0%, 77.6%, 14.1%)
CIE-LABlab(84.12, -22.87, 75.21)
CIE-LCHlch(84.12, 78.61, 106.92°)
OKLaboklab(85.53% -0.0711 0.1639)
OKLCHoklch(85.53% 0.179 113.5)
XYZxyz(51.9000, 64.2958, 12.5815)
Luminance0.6430 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0DB31 #3C31DB
analogous
#DB9131 #D0DB31 #7BDB31
triadic
#D0DB31 #31D0DB #DB31D0
tetradic
#D0DB31 #31DB91 #3C31DB #DB317B
square
#D0DB31 #31DB91 #3C31DB #DB317B
split-complementary
#D0DB31 #317BDB #9131DB
monochromatic
#757C16 #A7B01F #D0DB31 #DCE465 #E8ED99

Accessibility & contrast

On white

1.52
#D0DB31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.86
#D0DB31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0DB31
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0DB31#FFFFFF#000000##000000
##D0DB311.001.5213.8613.86
#FFFFFF1.521.0021.0021.00
#00000013.8621.001.001.00
##00000013.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d0db31;
/* rgb */ color: rgb(208, 219, 49);
/* oklch */ color: oklch(85.5% 0.179 113.5);
Tailwind
colors: {
  custom: {
    50: '#e2e678',
    500: '#d0db31',
    950: '#000000',
  },
}
SCSS
$custom: #d0db31;
$custom-light: #e2e678;
$custom-dark: #000000;
JSON
{
  "hex": "#d0db31",
  "rgb": {
    "r": 208,
    "g": 219,
    "b": 49
  },
  "hsl": {
    "h": 63.882,
    "s": 70.248,
    "l": 52.549
  },
  "oklch": {
    "l": 0.85527,
    "c": 0.17864,
    "h": 113.5
  },
  "luminance": 0.64295
}

Semantic roles & 50–950 ramp

primary
#D0DB31
secondary
#322D83
accent
#3BED46
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #D0DB31

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

Preview Lab → · Contrast checker → · Palette generator →

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