#D7CD7E#D7CD7E

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

Color values

HEX#D7CD7E
RGBrgb(215, 205, 126)
HSLhsl(53, 53%, 67%)
HSVhsv(53, 41%, 84%)
CMYKcmyk(0%, 4.7%, 41.4%, 15.7%)
CIE-LABlab(81.63, -7.67, 40.52)
CIE-LCHlch(81.63, 41.24, 100.72°)
OKLaboklab(83.9% -0.021 0.0985)
OKLCHoklch(83.9% 0.101 102)
XYZxyz(53.6226, 59.6176, 28.4173)
Luminance0.5962 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CD7E #7E88D7
analogous
#D7A17E #D7CD7E #B5D77E
triadic
#D7CD7E #7ED7CD #CD7ED7
tetradic
#D7CD7E #7ED7A1 #7E88D7 #D77EB5
square
#D7CD7E #7ED7A1 #7E88D7 #D77EB5
split-complementary
#D7CD7E #7EB5D7 #A17ED7
monochromatic
#A79A34 #C9BB4F #D7CD7E #E5DFAD #F4F1DB

Accessibility & contrast

On white

1.62
#D7CD7E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.92
#D7CD7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CD7E
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CD7E#FFFFFF#000000##000000
##D7CD7E1.001.6212.9212.92
#FFFFFF1.621.0021.0021.00
#00000012.9221.001.001.00
##00000012.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC878
Deuteranopia (green-blind)
#DECD81
Tritanopia (blue-blind)
#E3C3BA
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d7cd7e;
/* rgb */ color: rgb(215, 205, 126);
/* oklch */ color: oklch(83.9% 0.101 102.0);
Tailwind
colors: {
  custom: {
    50: '#e5dca4',
    500: '#d7cd7e',
    950: '#000000',
  },
}
SCSS
$custom: #d7cd7e;
$custom-light: #e5dca4;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cd7e",
  "rgb": {
    "r": 215,
    "g": 205,
    "b": 126
  },
  "hsl": {
    "h": 53.258,
    "s": 52.663,
    "l": 66.863
  },
  "oklch": {
    "l": 0.83897,
    "c": 0.10072,
    "h": 102
  },
  "luminance": 0.59616
}

Semantic roles & 50–950 ramp

primary
#D7CD7E
secondary
#4F59AB
accent
#37C025
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#16150F
muted
#848480

Preview Lab

Preview with #D7CD7E

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

Preview Lab → · Contrast checker → · Palette generator →

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