#D7DC5B#D7DC5B

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

Color values

HEX#D7DC5B
RGBrgb(215, 220, 91)
HSLhsl(62, 65%, 61%)
HSVhsv(62, 59%, 86%)
CMYKcmyk(2.3%, 0%, 58.6%, 13.7%)
CIE-LABlab(85.19, -18.25, 61.19)
CIE-LCHlch(85.19, 63.86, 106.61°)
OKLaboklab(86.61% -0.0546 0.1406)
OKLCHoklch(86.61% 0.151 111.2)
XYZxyz(55.5073, 66.3901, 19.7861)
Luminance0.6639 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7DC5B #605BDC
analogous
#DCA05B #D7DC5B #96DC5B
triadic
#D7DC5B #5BD7DC #DC5BD7
tetradic
#D7DC5B #5BDCA0 #605BDC #DC5B96
square
#D7DC5B #5BDCA0 #605BDC #DC5B96
split-complementary
#D7DC5B #5B96DC #A05BDC
monochromatic
#979B21 #C8CE2C #D7DC5B #E3E78D #F0F2C0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7DC5B#FFFFFF#000000##000000
##D7DC5B1.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)
#ECD34C
Deuteranopia (green-blind)
#ECD763
Tritanopia (blue-blind)
#E4D0C0
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #d7dc5b;
/* rgb */ color: rgb(215, 220, 91);
/* oklch */ color: oklch(86.6% 0.151 111.2);
Tailwind
colors: {
  custom: {
    50: '#e6e68e',
    500: '#d7dc5b',
    950: '#000000',
  },
}
SCSS
$custom: #d7dc5b;
$custom-light: #e6e68e;
$custom-dark: #000000;
JSON
{
  "hex": "#d7dc5b",
  "rgb": {
    "r": 215,
    "g": 220,
    "b": 91
  },
  "hsl": {
    "h": 62.326,
    "s": 64.824,
    "l": 60.98
  },
  "oklch": {
    "l": 0.86606,
    "c": 0.15088,
    "h": 111.2
  },
  "luminance": 0.66389
}

Semantic roles & 50–950 ramp

primary
#D7DC5B
secondary
#403C9F
accent
#19CD20
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D7DC5B

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

Preview Lab → · Contrast checker → · Palette generator →

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