#D1DE3B#D1DE3B

#D1DE3B is a very light, vivid yellow. Relative luminance 0.661; OKLCH L 86.3% C 0.176 H 114.1°. Best body text is #000000 at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#D1DE3B
RGBrgb(209, 222, 59)
HSLhsl(65, 71%, 55%)
HSVhsv(65, 73%, 87%)
CMYKcmyk(5.9%, 0%, 73.4%, 12.9%)
CIE-LABlab(85.05, -23.50, 73.06)
CIE-LCHlch(85.05, 76.75, 107.83°)
OKLaboklab(86.31% -0.0721 0.161)
OKLCHoklch(86.31% 0.176 114.1)
XYZxyz(53.2068, 66.1147, 14.0954)
Luminance0.6611 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1DE3B #483BDE
analogous
#DE993B #D1DE3B #80DE3B
triadic
#D1DE3B #3BD1DE #DE3BD1
tetradic
#D1DE3B #3BDE99 #483BDE #DE3B80
square
#D1DE3B #3BDE99 #483BDE #DE3B80
split-complementary
#D1DE3B #3B80DE #993BDE
monochromatic
#7F8817 #B0BC20 #D1DE3B #DDE76F #EAF0A4

Accessibility & contrast

On white

1.48
#D1DE3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.22
#D1DE3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1DE3B
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1DE3B#FFFFFF#000000##000000
##D1DE3B1.001.4814.2214.22
#FFFFFF1.481.0021.0021.00
#00000014.2221.001.001.00
##00000014.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED317
Deuteranopia (green-blind)
#EED649
Tritanopia (blue-blind)
#DFD1BF
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #d1de3b;
/* rgb */ color: rgb(209, 222, 59);
/* oklch */ color: oklch(86.3% 0.176 114.1);
Tailwind
colors: {
  custom: {
    50: '#e3e87d',
    500: '#d1de3b',
    950: '#000000',
  },
}
SCSS
$custom: #d1de3b;
$custom-light: #e3e87d;
$custom-dark: #000000;
JSON
{
  "hex": "#d1de3b",
  "rgb": {
    "r": 209,
    "g": 222,
    "b": 59
  },
  "hsl": {
    "h": 64.785,
    "s": 71.179,
    "l": 55.098
  },
  "oklch": {
    "l": 0.86311,
    "c": 0.17641,
    "h": 114.1
  },
  "luminance": 0.66114
}

Semantic roles & 50–950 ramp

primary
#D1DE3B
secondary
#372F8E
accent
#3AEE48
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16160A
muted
#84847D

Preview Lab

Preview with #D1DE3B

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

Preview Lab → · Contrast checker → · Palette generator →

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