#D7CC7D#D7CC7D

#D7CC7D is a very light, moderate yellow. Relative luminance 0.591; OKLCH L 83.7% C 0.101 H 101.4°. Best body text is #000000 at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#D7CC7D
RGBrgb(215, 204, 125)
HSLhsl(53, 53%, 67%)
HSVhsv(53, 42%, 84%)
CMYKcmyk(0%, 5.1%, 41.9%, 15.7%)
CIE-LABlab(81.35, -7.26, 40.67)
CIE-LCHlch(81.35, 41.31, 100.12°)
OKLaboklab(83.68% -0.0199 0.0988)
OKLCHoklch(83.68% 0.101 101.4)
XYZxyz(53.3200, 59.1150, 27.9997)
Luminance0.5911 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CC7D #7D88D7
analogous
#D79F7D #D7CC7D #B5D77D
triadic
#D7CC7D #7DD7CC #CC7DD7
tetradic
#D7CC7D #7DD79F #7D88D7 #D77DB5
square
#D7CC7D #7DD79F #7D88D7 #D77DB5
split-complementary
#D7CC7D #7DB5D7 #9F7DD7
monochromatic
#A69833 #C9BA4E #D7CC7D #E5DEAC #F4F1DB

Accessibility & contrast

On white

1.64
#D7CC7D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.82
#D7CC7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CC7D
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CC7D#FFFFFF#000000##000000
##D7CC7D1.001.6412.8212.82
#FFFFFF1.641.0021.0021.00
#00000012.8221.001.001.00
##00000012.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C777
Deuteranopia (green-blind)
#DDCC80
Tritanopia (blue-blind)
#E3C2B9
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d7cc7d;
/* rgb */ color: rgb(215, 204, 125);
/* oklch */ color: oklch(83.7% 0.101 101.4);
Tailwind
colors: {
  custom: {
    50: '#e5dba4',
    500: '#d7cc7d',
    950: '#000000',
  },
}
SCSS
$custom: #d7cc7d;
$custom-light: #e5dba4;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cc7d",
  "rgb": {
    "r": 215,
    "g": 204,
    "b": 125
  },
  "hsl": {
    "h": 52.667,
    "s": 52.941,
    "l": 66.667
  },
  "oklch": {
    "l": 0.83675,
    "c": 0.10078,
    "h": 101.4
  },
  "luminance": 0.59113
}

Semantic roles & 50–950 ramp

primary
#D7CC7D
secondary
#4E59AA
accent
#38C025
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#16150F
muted
#848480

Preview Lab

Preview with #D7CC7D

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

Preview Lab → · Contrast checker → · Palette generator →

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