#D9DF42#D9DF42

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

Color values

HEX#D9DF42
RGBrgb(217, 223, 66)
HSLhsl(62, 71%, 57%)
HSVhsv(62, 70%, 87%)
CMYKcmyk(2.7%, 0%, 70.4%, 12.5%)
CIE-LABlab(85.97, -20.38, 71.80)
CIE-LCHlch(85.97, 74.63, 105.85°)
OKLaboklab(87.2% -0.0632 0.1593)
OKLCHoklch(87.2% 0.171 111.7)
XYZxyz(55.9881, 67.9218, 15.3141)
Luminance0.6792 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9DF42 #4842DF
analogous
#DF9742 #D9DF42 #8BDF42
triadic
#D9DF42 #42D9DF #DF42D9
tetradic
#D9DF42 #42DF97 #4842DF #DF428B
square
#D9DF42 #42DF97 #4842DF #DF428B
split-complementary
#D9DF42 #428BDF #9742DF
monochromatic
#8A8E18 #BDC321 #D9DF42 #E4E876 #EEF1AB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9DF42#FFFFFF#000000##000000
##D9DF421.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)
#F0D526
Deuteranopia (green-blind)
#F1D94E
Tritanopia (blue-blind)
#E8D1C0
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #d9df42;
/* rgb */ color: rgb(217, 223, 66);
/* oklch */ color: oklch(87.2% 0.171 111.7);
Tailwind
colors: {
  custom: {
    50: '#e8e880',
    500: '#d9df42',
    950: '#000000',
  },
}
SCSS
$custom: #d9df42;
$custom-light: #e8e880;
$custom-dark: #000000;
JSON
{
  "hex": "#d9df42",
  "rgb": {
    "r": 217,
    "g": 223,
    "b": 66
  },
  "hsl": {
    "h": 62.293,
    "s": 71.041,
    "l": 56.667
  },
  "oklch": {
    "l": 0.87203,
    "c": 0.17135,
    "h": 111.7
  },
  "luminance": 0.6792
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D9DF42

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

Preview Lab → · Contrast checker → · Palette generator →

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