#D1DD5F#D1DD5F

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

Color values

HEX#D1DD5F
RGBrgb(209, 221, 95)
HSLhsl(66, 65%, 62%)
HSVhsv(66, 57%, 87%)
CMYKcmyk(5.4%, 0%, 57%, 13.3%)
CIE-LABlab(85.05, -20.87, 59.17)
CIE-LCHlch(85.05, 62.74, 109.43°)
OKLaboklab(86.39% -0.0613 0.1369)
OKLCHoklch(86.39% 0.15 114.1)
XYZxyz(54.2177, 66.0953, 20.7258)
Luminance0.6609 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1DD5F #6B5FDD
analogous
#DDAA5F #D1DD5F #92DD5F
triadic
#D1DD5F #5FD1DD #DD5FD1
tetradic
#D1DD5F #5FDDAA #6B5FDD #DD5F92
square
#D1DD5F #5FDDAA #6B5FDD #DD5F92
split-complementary
#D1DD5F #5F92DD #AA5FDD
monochromatic
#94A022 #C2D22D #D1DD5F #E0E891 #EEF2C4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D1DD5F#FFFFFF#000000##000000
##D1DD5F1.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)
#EBD351
Deuteranopia (green-blind)
#EBD667
Tritanopia (blue-blind)
#DDD1C2
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #d1dd5f;
/* rgb */ color: rgb(209, 221, 95);
/* oklch */ color: oklch(86.4% 0.150 114.1);
Tailwind
colors: {
  custom: {
    50: '#e2e791',
    500: '#d1dd5f',
    950: '#000000',
  },
}
SCSS
$custom: #d1dd5f;
$custom-light: #e2e791;
$custom-dark: #000000;
JSON
{
  "hex": "#d1dd5f",
  "rgb": {
    "r": 209,
    "g": 221,
    "b": 95
  },
  "hsl": {
    "h": 65.714,
    "s": 64.948,
    "l": 61.961
  },
  "oklch": {
    "l": 0.86386,
    "c": 0.15002,
    "h": 114.1
  },
  "luminance": 0.66094
}

Semantic roles & 50–950 ramp

primary
#D1DD5F
secondary
#473DA3
accent
#19CD2A
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16160D
muted
#84847F

Preview Lab

Preview with #D1DD5F

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

Preview Lab → · Contrast checker → · Palette generator →

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