#D7DF4F#D7DF4F

#D7DF4F is a very light, vivid yellow. Relative luminance 0.678; OKLCH L 87.1% C 0.163 H 112.4°. Best body text is #000000 at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#D7DF4F
RGBrgb(215, 223, 79)
HSLhsl(63, 69%, 59%)
HSVhsv(63, 65%, 87%)
CMYKcmyk(3.6%, 0%, 64.6%, 12.5%)
CIE-LABlab(85.90, -20.50, 66.87)
CIE-LCHlch(85.90, 69.94, 107.04°)
OKLaboklab(87.14% -0.0622 0.151)
OKLCHoklch(87.14% 0.163 112.4)
XYZxyz(55.8249, 67.7882, 17.5393)
Luminance0.6779 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7DF4F #574FDF
analogous
#DF9F4F #D7DF4F #8FDF4F
triadic
#D7DF4F #4FD7DF #DF4FD7
tetradic
#D7DF4F #4FDF9F #574FDF #DF4F8F
square
#D7DF4F #4FDF9F #574FDF #DF4F8F
split-complementary
#D7DF4F #4F8FDF #9F4FDF
monochromatic
#91981C #C2CC25 #D7DF4F #E3E883 #EFF2B7

Accessibility & contrast

On white

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

On black

14.56
#D7DF4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7DF4F
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7DF4F#FFFFFF#000000##000000
##D7DF4F1.001.4414.5614.56
#FFFFFF1.441.0021.0021.00
#00000014.5621.001.001.00
##00000014.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD53B
Deuteranopia (green-blind)
#EFD959
Tritanopia (blue-blind)
#E5D2C2
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #d7df4f;
/* rgb */ color: rgb(215, 223, 79);
/* oklch */ color: oklch(87.1% 0.163 112.4);
Tailwind
colors: {
  custom: {
    50: '#e6e887',
    500: '#d7df4f',
    950: '#000000',
  },
}
SCSS
$custom: #d7df4f;
$custom-light: #e6e887;
$custom-dark: #000000;
JSON
{
  "hex": "#d7df4f",
  "rgb": {
    "r": 215,
    "g": 223,
    "b": 79
  },
  "hsl": {
    "h": 63.333,
    "s": 69.231,
    "l": 59.216
  },
  "oklch": {
    "l": 0.87139,
    "c": 0.16331,
    "h": 112.4
  },
  "luminance": 0.67787
}

Semantic roles & 50–950 ramp

primary
#D7DF4F
secondary
#3C369C
accent
#3CEC46
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16160C
muted
#85847F

Preview Lab

Preview with #D7DF4F

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

Preview Lab → · Contrast checker → · Palette generator →

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