#D7DC6B#D7DC6B

#D7DC6B is a very light, vivid yellow. Relative luminance 0.667; OKLCH L 86.8% C 0.137 H 111.2°. Best body text is #000000 at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#D7DC6B
RGBrgb(215, 220, 107)
HSLhsl(63, 62%, 64%)
HSVhsv(63, 51%, 86%)
CMYKcmyk(2.3%, 0%, 51.4%, 13.7%)
CIE-LABlab(85.35, -17.01, 54.24)
CIE-LCHlch(85.35, 56.84, 107.41°)
OKLaboklab(86.78% -0.0495 0.1275)
OKLCHoklch(86.78% 0.137 111.2)
XYZxyz(56.2726, 66.6962, 23.8164)
Luminance0.6670 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7DC6B #706BDC
analogous
#DCA96B #D7DC6B #9FDC6B
triadic
#D7DC6B #6BD7DC #DC6BD7
tetradic
#D7DC6B #6BDCA9 #706BDC #DC6B9F
square
#D7DC6B #6BDCA9 #706BDC #DC6B9F
split-complementary
#D7DC6B #6B9FDC #A96BDC
monochromatic
#A0A527 #CAD03A #D7DC6B #E4E89C #F2F3CE

Accessibility & contrast

On white

1.46
#D7DC6B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.34
#D7DC6B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7DC6B
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7DC6B#FFFFFF#000000##000000
##D7DC6B1.001.4614.3414.34
#FFFFFF1.461.0021.0021.00
#00000014.3421.001.001.00
##00000014.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD460
Deuteranopia (green-blind)
#EBD771
Tritanopia (blue-blind)
#E3D1C3
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #d7dc6b;
/* rgb */ color: rgb(215, 220, 107);
/* oklch */ color: oklch(86.8% 0.137 111.2);
Tailwind
colors: {
  custom: {
    50: '#e5e698',
    500: '#d7dc6b',
    950: '#000000',
  },
}
SCSS
$custom: #d7dc6b;
$custom-light: #e5e698;
$custom-dark: #000000;
JSON
{
  "hex": "#d7dc6b",
  "rgb": {
    "r": 215,
    "g": 220,
    "b": 107
  },
  "hsl": {
    "h": 62.655,
    "s": 61.749,
    "l": 64.118
  },
  "oklch": {
    "l": 0.8678,
    "c": 0.13677,
    "h": 111.2
  },
  "luminance": 0.66695
}

Semantic roles & 50–950 ramp

primary
#D7DC6B
secondary
#4743A8
accent
#1CC924
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D7DC6B

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

Preview Lab → · Contrast checker → · Palette generator →

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