#D1DD38#D1DD38

#D1DD38 is a very light, vivid yellow. Relative luminance 0.656; OKLCH L 86.1% C 0.177 H 113.8°. Best body text is #000000 at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#D1DD38
RGBrgb(209, 221, 56)
HSLhsl(64, 71%, 54%)
HSVhsv(64, 75%, 87%)
CMYKcmyk(5.4%, 0%, 74.7%, 13.3%)
CIE-LABlab(84.77, -23.15, 73.74)
CIE-LCHlch(84.77, 77.29, 107.43°)
OKLaboklab(86.08% -0.0714 0.1619)
OKLCHoklch(86.08% 0.177 113.8)
XYZxyz(52.8664, 65.5548, 13.6091)
Luminance0.6555 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1DD38 #4438DD
analogous
#DD9738 #D1DD38 #7EDD38
triadic
#D1DD38 #38D1DD #DD38D1
tetradic
#D1DD38 #38DD97 #4438DD #DD387E
square
#D1DD38 #38DD97 #4438DD #DD387E
split-complementary
#D1DD38 #387EDD #9738DD
monochromatic
#7C8417 #ADB81F #D1DD38 #DDE66C #E9EFA1

Accessibility & contrast

On white

1.49
#D1DD38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.11
#D1DD38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1DD38
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1DD38#FFFFFF#000000##000000
##D1DD381.001.4914.1114.11
#FFFFFF1.491.0021.0021.00
#00000014.1121.001.001.00
##00000014.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD20E
Deuteranopia (green-blind)
#EDD546
Tritanopia (blue-blind)
#DFD0BE
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #d1dd38;
/* rgb */ color: rgb(209, 221, 56);
/* oklch */ color: oklch(86.1% 0.177 113.8);
Tailwind
colors: {
  custom: {
    50: '#e3e77b',
    500: '#d1dd38',
    950: '#000000',
  },
}
SCSS
$custom: #d1dd38;
$custom-light: #e3e77b;
$custom-dark: #000000;
JSON
{
  "hex": "#d1dd38",
  "rgb": {
    "r": 209,
    "g": 221,
    "b": 56
  },
  "hsl": {
    "h": 64.364,
    "s": 70.815,
    "l": 54.314
  },
  "oklch": {
    "l": 0.86076,
    "c": 0.17696,
    "h": 113.8
  },
  "luminance": 0.65554
}

Semantic roles & 50–950 ramp

primary
#D1DD38
secondary
#352F8B
accent
#3AEE47
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16160A
muted
#84847D

Preview Lab

Preview with #D1DD38

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

Preview Lab → · Contrast checker → · Palette generator →

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