#D1DF5E#D1DF5E

#D1DF5E is a very light, vivid yellow. Relative luminance 0.671; OKLCH L 86.8% C 0.153 H 114.8°. Best body text is #000000 at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#D1DF5E
RGBrgb(209, 223, 94)
HSLhsl(67, 67%, 62%)
HSVhsv(67, 58%, 87%)
CMYKcmyk(6.3%, 0%, 57.8%, 12.5%)
CIE-LABlab(85.57, -21.91, 60.19)
CIE-LCHlch(85.57, 64.06, 110.00°)
OKLaboklab(86.81% -0.0643 0.139)
OKLCHoklch(86.81% 0.153 114.8)
XYZxyz(54.7037, 67.1397, 20.6650)
Luminance0.6714 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1DF5E #6C5EDF
analogous
#DFAD5E #D1DF5E #90DF5E
triadic
#D1DF5E #5ED1DF #DF5ED1
tetradic
#D1DF5E #5EDFAD #6C5EDF #DF5E90
square
#D1DF5E #5EDFAD #6C5EDF #DF5E90
split-complementary
#D1DF5E #5E90DF #AD5EDF
monochromatic
#94A220 #C2D52B #D1DF5E #E0E991 #EEF3C4

Accessibility & contrast

On white

1.46
#D1DF5E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.43
#D1DF5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1DF5E
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1DF5E#FFFFFF#000000##000000
##D1DF5E1.001.4614.4314.43
#FFFFFF1.461.0021.0021.00
#00000014.4321.001.001.00
##00000014.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD550
Deuteranopia (green-blind)
#EDD766
Tritanopia (blue-blind)
#DDD3C3
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #d1df5e;
/* rgb */ color: rgb(209, 223, 94);
/* oklch */ color: oklch(86.8% 0.153 114.8);
Tailwind
colors: {
  custom: {
    50: '#e2e890',
    500: '#d1df5e',
    950: '#000000',
  },
}
SCSS
$custom: #d1df5e;
$custom-light: #e2e890;
$custom-dark: #000000;
JSON
{
  "hex": "#d1df5e",
  "rgb": {
    "r": 209,
    "g": 223,
    "b": 94
  },
  "hsl": {
    "h": 66.512,
    "s": 66.839,
    "l": 62.157
  },
  "oklch": {
    "l": 0.86807,
    "c": 0.15316,
    "h": 114.8
  },
  "luminance": 0.67139
}

Semantic roles & 50–950 ramp

primary
#D1DF5E
secondary
#473CA5
accent
#17CF2B
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16160D
muted
#84847F

Preview Lab

Preview with #D1DF5E

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

Preview Lab → · Contrast checker → · Palette generator →

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