#D7CD7B#D7CD7B

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

Color values

HEX#D7CD7B
RGBrgb(215, 205, 123)
HSLhsl(53, 53%, 66%)
HSVhsv(53, 43%, 84%)
CMYKcmyk(0%, 4.7%, 42.8%, 15.7%)
CIE-LABlab(81.59, -7.98, 41.97)
CIE-LCHlch(81.59, 42.72, 100.77°)
OKLaboklab(83.85% -0.0221 0.1016)
OKLCHoklch(83.85% 0.104 102.3)
XYZxyz(53.4319, 59.5413, 27.4130)
Luminance0.5954 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CD7B #7B85D7
analogous
#D79F7B #D7CD7B #B3D77B
triadic
#D7CD7B #7BD7CD #CD7BD7
tetradic
#D7CD7B #7BD79F #7B85D7 #D77BB3
square
#D7CD7B #7BD79F #7B85D7 #D77BB3
split-complementary
#D7CD7B #7BB3D7 #9F7BD7
monochromatic
#A59932 #C9BB4C #D7CD7B #E5DFAA #F3F1D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7CD7B#FFFFFF#000000##000000
##D7CD7B1.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)
#DBC875
Deuteranopia (green-blind)
#DECD7E
Tritanopia (blue-blind)
#E3C3B9
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d7cd7b;
/* rgb */ color: rgb(215, 205, 123);
/* oklch */ color: oklch(83.9% 0.104 102.3);
Tailwind
colors: {
  custom: {
    50: '#e5dca2',
    500: '#d7cd7b',
    950: '#000000',
  },
}
SCSS
$custom: #d7cd7b;
$custom-light: #e5dca2;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cd7b",
  "rgb": {
    "r": 215,
    "g": 205,
    "b": 123
  },
  "hsl": {
    "h": 53.478,
    "s": 53.488,
    "l": 66.275
  },
  "oklch": {
    "l": 0.83851,
    "c": 0.104,
    "h": 102.3
  },
  "luminance": 0.5954
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D7CD7B

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

Preview Lab → · Contrast checker → · Palette generator →

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