#D7CD7C#D7CD7C

#D7CD7C is a very light, moderate yellow. Relative luminance 0.596; OKLCH L 83.9% C 0.103 H 102.2°. Best body text is #000000 at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#D7CD7C
RGBrgb(215, 205, 124)
HSLhsl(53, 53%, 66%)
HSVhsv(53, 42%, 84%)
CMYKcmyk(0%, 4.7%, 42.3%, 15.7%)
CIE-LABlab(81.60, -7.88, 41.48)
CIE-LCHlch(81.60, 42.23, 100.75°)
OKLaboklab(83.87% -0.0217 0.1006)
OKLCHoklch(83.87% 0.103 102.2)
XYZxyz(53.4949, 59.5665, 27.7444)
Luminance0.5957 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CD7C #7C86D7
analogous
#D7A07C #D7CD7C #B4D77C
triadic
#D7CD7C #7CD7CD #CD7CD7
tetradic
#D7CD7C #7CD7A0 #7C86D7 #D77CB4
square
#D7CD7C #7CD7A0 #7C86D7 #D77CB4
split-complementary
#D7CD7C #7CB4D7 #A07CD7
monochromatic
#A69933 #C9BB4D #D7CD7C #E5DFAB #F4F1DA

Accessibility & contrast

On white

1.63
#D7CD7C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.91
#D7CD7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CD7C
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CD7C#FFFFFF#000000##000000
##D7CD7C1.001.6312.9112.91
#FFFFFF1.631.0021.0021.00
#00000012.9121.001.001.00
##00000012.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC876
Deuteranopia (green-blind)
#DECD7F
Tritanopia (blue-blind)
#E3C3B9
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d7cd7c;
/* rgb */ color: rgb(215, 205, 124);
/* oklch */ color: oklch(83.9% 0.103 102.2);
Tailwind
colors: {
  custom: {
    50: '#e5dca3',
    500: '#d7cd7c',
    950: '#000000',
  },
}
SCSS
$custom: #d7cd7c;
$custom-light: #e5dca3;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cd7c",
  "rgb": {
    "r": 215,
    "g": 205,
    "b": 124
  },
  "hsl": {
    "h": 53.407,
    "s": 53.216,
    "l": 66.471
  },
  "oklch": {
    "l": 0.83866,
    "c": 0.10291,
    "h": 102.2
  },
  "luminance": 0.59565
}

Semantic roles & 50–950 ramp

primary
#D7CD7C
secondary
#4E58AA
accent
#36C125
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16150F
muted
#848480

Preview Lab

Preview with #D7CD7C

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

Preview Lab → · Contrast checker → · Palette generator →

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