#D7DC7D#D7DC7D

#D7DC7D is a very light, moderate yellow. Relative luminance 0.671; OKLCH L 87.0% C 0.119 H 111.3°. Best body text is #000000 at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#D7DC7D
RGBrgb(215, 220, 125)
HSLhsl(63, 58%, 68%)
HSVhsv(63, 43%, 86%)
CMYKcmyk(2.3%, 0%, 43.2%, 13.7%)
CIE-LABlab(85.56, -15.33, 45.94)
CIE-LCHlch(85.56, 48.43, 108.46°)
OKLaboklab(87.02% -0.043 0.1107)
OKLCHoklch(87.02% 0.119 111.3)
XYZxyz(57.3200, 67.1152, 29.3330)
Luminance0.6711 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7DC7D #827DDC
analogous
#DCB27D #D7DC7D #A7DC7D
triadic
#D7DC7D #7DD7DC #DC7DD7
tetradic
#D7DC7D #7DDCB2 #827DDC #DC7DA7
square
#D7DC7D #7DDCB2 #827DDC #DC7DA7
split-complementary
#D7DC7D #7DA7DC #B27DDC
monochromatic
#A9AF2F #C8CF4D #D7DC7D #E6E9AD #F5F6DD

Accessibility & contrast

On white

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

On black

14.42
#D7DC7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7DC7D
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7DC7D#FFFFFF#000000##000000
##D7DC7D1.001.4614.4214.42
#FFFFFF1.461.0021.0021.00
#00000014.4221.001.001.00
##00000014.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D475
Deuteranopia (green-blind)
#EAD782
Tritanopia (blue-blind)
#E2D2C5
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #d7dc7d;
/* rgb */ color: rgb(215, 220, 125);
/* oklch */ color: oklch(87.0% 0.119 111.3);
Tailwind
colors: {
  custom: {
    50: '#e5e6a4',
    500: '#d7dc7d',
    950: '#000000',
  },
}
SCSS
$custom: #d7dc7d;
$custom-light: #e5e6a4;
$custom-dark: #000000;
JSON
{
  "hex": "#d7dc7d",
  "rgb": {
    "r": 215,
    "g": 220,
    "b": 125
  },
  "hsl": {
    "h": 63.158,
    "s": 57.576,
    "l": 67.647
  },
  "oklch": {
    "l": 0.87018,
    "c": 0.11873,
    "h": 111.3
  },
  "luminance": 0.67114
}

Semantic roles & 50–950 ramp

primary
#D7DC7D
secondary
#514CB2
accent
#20C529
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#16160F
muted
#848480

Preview Lab

Preview with #D7DC7D

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

Preview Lab → · Contrast checker → · Palette generator →

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