#D7DC4D#D7DC4D

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

Color values

HEX#D7DC4D
RGBrgb(215, 220, 77)
HSLhsl(62, 67%, 58%)
HSVhsv(62, 65%, 86%)
CMYKcmyk(2.3%, 0%, 65%, 13.7%)
CIE-LABlab(85.08, -19.15, 66.81)
CIE-LCHlch(85.08, 69.50, 106.00°)
OKLaboklab(86.48% -0.0586 0.1506)
OKLCHoklch(86.48% 0.162 111.3)
XYZxyz(54.9587, 66.1706, 16.8969)
Luminance0.6617 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7DC4D #524DDC
analogous
#DC994D #D7DC4D #8FDC4D
triadic
#D7DC4D #4DD7DC #DC4DD7
tetradic
#D7DC4D #4DDC99 #524DDC #DC4D8F
square
#D7DC4D #4DDC99 #524DDC #DC4D8F
split-complementary
#D7DC4D #4D8FDC #994DDC
monochromatic
#8E921D #C0C527 #D7DC4D #E2E680 #EEF0B3

Accessibility & contrast

On white

1.48
#D7DC4D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.23
#D7DC4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7DC4D
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7DC4D#FFFFFF#000000##000000
##D7DC4D1.001.4814.2314.23
#FFFFFF1.481.0021.0021.00
#00000014.2321.001.001.00
##00000014.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD239
Deuteranopia (green-blind)
#EDD657
Tritanopia (blue-blind)
#E5CFBF
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #d7dc4d;
/* rgb */ color: rgb(215, 220, 77);
/* oklch */ color: oklch(86.5% 0.162 111.3);
Tailwind
colors: {
  custom: {
    50: '#e7e686',
    500: '#d7dc4d',
    950: '#000000',
  },
}
SCSS
$custom: #d7dc4d;
$custom-light: #e7e686;
$custom-dark: #000000;
JSON
{
  "hex": "#d7dc4d",
  "rgb": {
    "r": 215,
    "g": 220,
    "b": 77
  },
  "hsl": {
    "h": 62.098,
    "s": 67.136,
    "l": 58.235
  },
  "oklch": {
    "l": 0.86481,
    "c": 0.16157,
    "h": 111.3
  },
  "luminance": 0.66169
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D7DC4D

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

Preview Lab → · Contrast checker → · Palette generator →

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