#D7DC4F#D7DC4F

#D7DC4F is a very light, vivid yellow. Relative luminance 0.662; OKLCH L 86.5% C 0.160 H 111.3°. Best body text is #000000 at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#D7DC4F
RGBrgb(215, 220, 79)
HSLhsl(62, 67%, 59%)
HSVhsv(62, 64%, 86%)
CMYKcmyk(2.3%, 0%, 64.1%, 13.7%)
CIE-LABlab(85.10, -19.03, 66.04)
CIE-LCHlch(85.10, 68.72, 106.08°)
OKLaboklab(86.5% -0.0581 0.1492)
OKLCHoklch(86.5% 0.16 111.3)
XYZxyz(55.0304, 66.1993, 17.2745)
Luminance0.6620 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7DC4F #544FDC
analogous
#DC9A4F #D7DC4F #90DC4F
triadic
#D7DC4F #4FD7DC #DC4FD7
tetradic
#D7DC4F #4FDC9A #544FDC #DC4F90
square
#D7DC4F #4FDC9A #544FDC #DC4F90
split-complementary
#D7DC4F #4F90DC #9A4FDC
monochromatic
#8F931D #C1C627 #D7DC4F #E3E682 #EEF0B5

Accessibility & contrast

On white

1.47
#D7DC4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.24
#D7DC4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7DC4F
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7DC4F#FFFFFF#000000##000000
##D7DC4F1.001.4714.2414.24
#FFFFFF1.471.0021.0021.00
#00000014.2421.001.001.00
##00000014.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD33C
Deuteranopia (green-blind)
#EDD658
Tritanopia (blue-blind)
#E5CFBF
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #d7dc4f;
/* rgb */ color: rgb(215, 220, 79);
/* oklch */ color: oklch(86.5% 0.160 111.3);
Tailwind
colors: {
  custom: {
    50: '#e6e687',
    500: '#d7dc4f',
    950: '#000000',
  },
}
SCSS
$custom: #d7dc4f;
$custom-light: #e6e687;
$custom-dark: #000000;
JSON
{
  "hex": "#d7dc4f",
  "rgb": {
    "r": 215,
    "g": 220,
    "b": 79
  },
  "hsl": {
    "h": 62.128,
    "s": 66.825,
    "l": 58.627
  },
  "oklch": {
    "l": 0.86498,
    "c": 0.16015,
    "h": 111.3
  },
  "luminance": 0.66198
}

Semantic roles & 50–950 ramp

primary
#D7DC4F
secondary
#3B3798
accent
#3EEA44
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D7DC4F

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

Preview Lab → · Contrast checker → · Palette generator →

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