#D7DF4C#D7DF4C

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

Color values

HEX#D7DF4C
RGBrgb(215, 223, 76)
HSLhsl(63, 70%, 59%)
HSVhsv(63, 66%, 87%)
CMYKcmyk(3.6%, 0%, 65.9%, 12.5%)
CIE-LABlab(85.88, -20.67, 68.01)
CIE-LCHlch(85.88, 71.08, 106.91°)
OKLaboklab(87.12% -0.063 0.1529)
OKLCHoklch(87.12% 0.165 112.4)
XYZxyz(55.7181, 67.7455, 16.9771)
Luminance0.6774 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7DF4C #544CDF
analogous
#DF9D4C #D7DF4C #8DDF4C
triadic
#D7DF4C #4CD7DF #DF4CD7
tetradic
#D7DF4C #4CDF9D #544CDF #DF4C8D
square
#D7DF4C #4CDF9D #544CDF #DF4C8D
split-complementary
#D7DF4C #4C8DDF #9D4CDF
monochromatic
#8F961B #C1CA24 #D7DF4C #E3E880 #EEF2B4

Accessibility & contrast

On white

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

On black

14.55
#D7DF4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7DF4C
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7DF4C#FFFFFF#000000##000000
##D7DF4C1.001.4414.5514.55
#FFFFFF1.441.0021.0021.00
#00000014.5521.001.001.00
##00000014.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD537
Deuteranopia (green-blind)
#F0D856
Tritanopia (blue-blind)
#E5D2C1
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #d7df4c;
/* rgb */ color: rgb(215, 223, 76);
/* oklch */ color: oklch(87.1% 0.165 112.4);
Tailwind
colors: {
  custom: {
    50: '#e7e886',
    500: '#d7df4c',
    950: '#000000',
  },
}
SCSS
$custom: #d7df4c;
$custom-light: #e7e886;
$custom-dark: #000000;
JSON
{
  "hex": "#d7df4c",
  "rgb": {
    "r": 215,
    "g": 223,
    "b": 76
  },
  "hsl": {
    "h": 63.265,
    "s": 69.668,
    "l": 58.627
  },
  "oklch": {
    "l": 0.87115,
    "c": 0.1654,
    "h": 112.4
  },
  "luminance": 0.67744
}

Semantic roles & 50–950 ramp

primary
#D7DF4C
secondary
#3B359A
accent
#3BEC45
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16160C
muted
#85847F

Preview Lab

Preview with #D7DF4C

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

Preview Lab → · Contrast checker → · Palette generator →

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