#D1DA31#D1DA31

#D1DA31 is a very light, vivid yellow. Relative luminance 0.639; OKLCH L 85.4% C 0.177 H 112.8°. Best body text is #000000 at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#D1DA31
RGBrgb(209, 218, 49)
HSLhsl(63, 70%, 52%)
HSVhsv(63, 78%, 85%)
CMYKcmyk(4.1%, 0%, 77.5%, 14.5%)
CIE-LABlab(83.92, -21.98, 75.06)
CIE-LCHlch(83.92, 78.21, 106.32°)
OKLaboklab(85.39% -0.0687 0.1635)
OKLCHoklch(85.39% 0.177 112.8)
XYZxyz(51.9220, 63.9211, 12.5080)
Luminance0.6392 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1DA31 #3A31DA
analogous
#DA8E31 #D1DA31 #7DDA31
triadic
#D1DA31 #31D1DA #DA31D1
tetradic
#D1DA31 #31DA8E #3A31DA #DA317D
square
#D1DA31 #31DA8E #3A31DA #DA317D
split-complementary
#D1DA31 #317DDA #8E31DA
monochromatic
#757B16 #A7AE1F #D1DA31 #DDE365 #E8ED99

Accessibility & contrast

On white

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

On black

13.78
#D1DA31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1DA31
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1DA31#FFFFFF#000000##000000
##D1DA311.001.5213.7813.78
#FFFFFF1.521.0021.0021.00
#00000013.7821.001.001.00
##00000013.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBCF00
Deuteranopia (green-blind)
#EBD341
Tritanopia (blue-blind)
#DFCCBB
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d1da31;
/* rgb */ color: rgb(209, 218, 49);
/* oklch */ color: oklch(85.4% 0.177 112.8);
Tailwind
colors: {
  custom: {
    50: '#e3e578',
    500: '#d1da31',
    950: '#000000',
  },
}
SCSS
$custom: #d1da31;
$custom-light: #e3e578;
$custom-dark: #000000;
JSON
{
  "hex": "#d1da31",
  "rgb": {
    "r": 209,
    "g": 218,
    "b": 49
  },
  "hsl": {
    "h": 63.195,
    "s": 69.547,
    "l": 52.353
  },
  "oklch": {
    "l": 0.85389,
    "c": 0.17736,
    "h": 112.8
  },
  "luminance": 0.6392
}

Semantic roles & 50–950 ramp

primary
#D1DA31
secondary
#312D82
accent
#3BEC45
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150A
muted
#85847D

Preview Lab

Preview with #D1DA31

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

Preview Lab → · Contrast checker → · Palette generator →

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