#D7CD7D#D7CD7D

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

Color values

HEX#D7CD7D
RGBrgb(215, 205, 125)
HSLhsl(53, 53%, 67%)
HSVhsv(53, 42%, 84%)
CMYKcmyk(0%, 4.7%, 41.9%, 15.7%)
CIE-LABlab(81.62, -7.77, 41.00)
CIE-LCHlch(81.62, 41.73, 100.74°)
OKLaboklab(83.88% -0.0214 0.0996)
OKLCHoklch(83.88% 0.102 102.1)
XYZxyz(53.5584, 59.5919, 28.0792)
Luminance0.5959 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CD7D #7D87D7
analogous
#D7A07D #D7CD7D #B4D77D
triadic
#D7CD7D #7DD7CD #CD7DD7
tetradic
#D7CD7D #7DD7A0 #7D87D7 #D77DB4
square
#D7CD7D #7DD7A0 #7D87D7 #D77DB4
split-complementary
#D7CD7D #7DB4D7 #A07DD7
monochromatic
#A69A33 #C9BB4E #D7CD7D #E5DFAC #F4F1DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7CD7D#FFFFFF#000000##000000
##D7CD7D1.001.6312.9212.92
#FFFFFF1.631.0021.0021.00
#00000012.9221.001.001.00
##00000012.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7cd7d;
/* rgb */ color: rgb(215, 205, 125);
/* oklch */ color: oklch(83.9% 0.102 102.1);
Tailwind
colors: {
  custom: {
    50: '#e5dca4',
    500: '#d7cd7d',
    950: '#000000',
  },
}
SCSS
$custom: #d7cd7d;
$custom-light: #e5dca4;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cd7d",
  "rgb": {
    "r": 215,
    "g": 205,
    "b": 125
  },
  "hsl": {
    "h": 53.333,
    "s": 52.941,
    "l": 66.667
  },
  "oklch": {
    "l": 0.83882,
    "c": 0.10182,
    "h": 102.1
  },
  "luminance": 0.5959
}

Semantic roles & 50–950 ramp

primary
#D7CD7D
secondary
#4E58AA
accent
#36C025
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#16150F
muted
#848480

Preview Lab

Preview with #D7CD7D

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

Preview Lab → · Contrast checker → · Palette generator →

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