#D7DC5E#D7DC5E

#D7DC5E is a very light, vivid yellow. Relative luminance 0.664; OKLCH L 86.6% C 0.148 H 111.2°. Best body text is #000000 at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#D7DC5E
RGBrgb(215, 220, 94)
HSLhsl(62, 64%, 62%)
HSVhsv(62, 57%, 86%)
CMYKcmyk(2.3%, 0%, 57.3%, 13.7%)
CIE-LABlab(85.22, -18.04, 59.93)
CIE-LCHlch(85.22, 62.58, 106.75°)
OKLaboklab(86.64% -0.0537 0.1383)
OKLCHoklch(86.64% 0.148 111.2)
XYZxyz(55.6393, 66.4429, 20.4813)
Luminance0.6644 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7DC5E #635EDC
analogous
#DCA25E #D7DC5E #98DC5E
triadic
#D7DC5E #5ED7DC #DC5ED7
tetradic
#D7DC5E #5EDCA2 #635EDC #DC5E98
square
#D7DC5E #5EDCA2 #635EDC #DC5E98
split-complementary
#D7DC5E #5E98DC #A25EDC
monochromatic
#989D22 #C9D02D #D7DC5E #E3E790 #F0F2C3

Accessibility & contrast

On white

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

On black

14.29
#D7DC5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7DC5E
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7DC5E#FFFFFF#000000##000000
##D7DC5E1.001.4714.2914.29
#FFFFFF1.471.0021.0021.00
#00000014.2921.001.001.00
##00000014.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD350
Deuteranopia (green-blind)
#ECD765
Tritanopia (blue-blind)
#E4D0C1
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #d7dc5e;
/* rgb */ color: rgb(215, 220, 94);
/* oklch */ color: oklch(86.6% 0.148 111.2);
Tailwind
colors: {
  custom: {
    50: '#e6e690',
    500: '#d7dc5e',
    950: '#000000',
  },
}
SCSS
$custom: #d7dc5e;
$custom-light: #e6e690;
$custom-dark: #000000;
JSON
{
  "hex": "#d7dc5e",
  "rgb": {
    "r": 215,
    "g": 220,
    "b": 94
  },
  "hsl": {
    "h": 62.381,
    "s": 64.286,
    "l": 61.569
  },
  "oklch": {
    "l": 0.86636,
    "c": 0.14839,
    "h": 111.2
  },
  "luminance": 0.66442
}

Semantic roles & 50–950 ramp

primary
#D7DC5E
secondary
#413DA1
accent
#19CC20
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D7DC5E

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

Preview Lab → · Contrast checker → · Palette generator →

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