#D7DC5C#D7DC5C

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

Color values

HEX#D7DC5C
RGBrgb(215, 220, 92)
HSLhsl(62, 65%, 61%)
HSVhsv(62, 58%, 86%)
CMYKcmyk(2.3%, 0%, 58.2%, 13.7%)
CIE-LABlab(85.20, -18.18, 60.77)
CIE-LCHlch(85.20, 63.43, 106.66°)
OKLaboklab(86.62% -0.0543 0.1399)
OKLCHoklch(86.62% 0.15 111.2)
XYZxyz(55.5508, 66.4074, 20.0148)
Luminance0.6641 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7DC5C #615CDC
analogous
#DCA15C #D7DC5C #97DC5C
triadic
#D7DC5C #5CD7DC #DC5CD7
tetradic
#D7DC5C #5CDCA1 #615CDC #DC5C97
square
#D7DC5C #5CDCA1 #615CDC #DC5C97
split-complementary
#D7DC5C #5C97DC #A15CDC
monochromatic
#979C22 #C8CE2C #D7DC5C #E3E78E #F0F2C1

Accessibility & contrast

On white

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

On black

14.28
#D7DC5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7DC5C
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7DC5C#FFFFFF#000000##000000
##D7DC5C1.001.4714.2814.28
#FFFFFF1.471.0021.0021.00
#00000014.2821.001.001.00
##00000014.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7dc5c;
/* rgb */ color: rgb(215, 220, 92);
/* oklch */ color: oklch(86.6% 0.150 111.2);
Tailwind
colors: {
  custom: {
    50: '#e6e68f',
    500: '#d7dc5c',
    950: '#000000',
  },
}
SCSS
$custom: #d7dc5c;
$custom-light: #e6e68f;
$custom-dark: #000000;
JSON
{
  "hex": "#d7dc5c",
  "rgb": {
    "r": 215,
    "g": 220,
    "b": 92
  },
  "hsl": {
    "h": 62.344,
    "s": 64.646,
    "l": 61.176
  },
  "oklch": {
    "l": 0.86616,
    "c": 0.15006,
    "h": 111.2
  },
  "luminance": 0.66406
}

Semantic roles & 50–950 ramp

primary
#D7DC5C
secondary
#403CA0
accent
#19CC20
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D7DC5C

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

Preview Lab → · Contrast checker → · Palette generator →

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