#D9DF40#D9DF40

#D9DF40 is a very light, vivid yellow. Relative luminance 0.679; OKLCH L 87.2% C 0.173 H 111.7°. Best body text is #000000 at 14.58:1 contrast (WCAG AA passes).

Color values

HEX#D9DF40
RGBrgb(217, 223, 64)
HSLhsl(62, 71%, 56%)
HSVhsv(62, 71%, 87%)
CMYKcmyk(2.7%, 0%, 71.3%, 12.5%)
CIE-LABlab(85.96, -20.47, 72.47)
CIE-LCHlch(85.96, 75.31, 105.77°)
OKLaboklab(87.19% -0.0637 0.1604)
OKLCHoklch(87.19% 0.173 111.7)
XYZxyz(55.9302, 67.8986, 15.0090)
Luminance0.6790 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9DF40 #4640DF
analogous
#DF9640 #D9DF40 #8ADF40
triadic
#D9DF40 #40D9DF #DF40D9
tetradic
#D9DF40 #40DF96 #4640DF #DF408A
square
#D9DF40 #40DF96 #4640DF #DF408A
split-complementary
#D9DF40 #408ADF #9640DF
monochromatic
#898D18 #BBC120 #D9DF40 #E3E874 #EEF1A9

Accessibility & contrast

On white

1.44
#D9DF40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.58
#D9DF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9DF40
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9DF40#FFFFFF#000000##000000
##D9DF401.001.4414.5814.58
#FFFFFF1.441.0021.0021.00
#00000014.5821.001.001.00
##00000014.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D522
Deuteranopia (green-blind)
#F1D94C
Tritanopia (blue-blind)
#E8D1C0
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #d9df40;
/* rgb */ color: rgb(217, 223, 64);
/* oklch */ color: oklch(87.2% 0.173 111.7);
Tailwind
colors: {
  custom: {
    50: '#e8e87f',
    500: '#d9df40',
    950: '#000000',
  },
}
SCSS
$custom: #d9df40;
$custom-light: #e8e87f;
$custom-dark: #000000;
JSON
{
  "hex": "#d9df40",
  "rgb": {
    "r": 217,
    "g": 223,
    "b": 64
  },
  "hsl": {
    "h": 62.264,
    "s": 71.3,
    "l": 56.275
  },
  "oklch": {
    "l": 0.8719,
    "c": 0.17252,
    "h": 111.7
  },
  "luminance": 0.67897
}

Semantic roles & 50–950 ramp

primary
#D9DF40
secondary
#353192
accent
#3AEE41
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17160B
muted
#85847E

Preview Lab

Preview with #D9DF40

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

Preview Lab → · Contrast checker → · Palette generator →

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