#D7CD5E#D7CD5E

#D7CD5E is a very light, vivid yellow. Relative luminance 0.589; OKLCH L 83.5% C 0.133 H 104.1°. Best body text is #000000 at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#D7CD5E
RGBrgb(215, 205, 94)
HSLhsl(55, 60%, 61%)
HSVhsv(55, 56%, 84%)
CMYKcmyk(0%, 4.7%, 56.3%, 15.7%)
CIE-LABlab(81.25, -10.55, 55.46)
CIE-LCHlch(81.25, 56.46, 100.77°)
OKLaboklab(83.47% -0.0325 0.1288)
OKLCHoklch(83.47% 0.133 104.1)
XYZxyz(51.8777, 58.9196, 19.2274)
Luminance0.5892 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CD5E #5E68D7
analogous
#D7905E #D7CD5E #A5D75E
triadic
#D7CD5E #5ED7CD #CD5ED7
tetradic
#D7CD5E #5ED790 #5E68D7 #D75EA5
square
#D7CD5E #5ED790 #5E68D7 #D75EA5
split-complementary
#D7CD5E #5EA5D7 #905ED7
monochromatic
#958C25 #C6BA31 #D7CD5E #E3DC8F #EFEBC0

Accessibility & contrast

On white

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

On black

12.78
#D7CD5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CD5E
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CD5E#FFFFFF#000000##000000
##D7CD5E1.001.6412.7812.78
#FFFFFF1.641.0021.0021.00
#00000012.7821.001.001.00
##00000012.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC753
Deuteranopia (green-blind)
#E1CC64
Tritanopia (blue-blind)
#E5C1B5
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d7cd5e;
/* rgb */ color: rgb(215, 205, 94);
/* oklch */ color: oklch(83.5% 0.133 104.1);
Tailwind
colors: {
  custom: {
    50: '#e6dc8f',
    500: '#d7cd5e',
    950: '#000000',
  },
}
SCSS
$custom: #d7cd5e;
$custom-light: #e6dc8f;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cd5e",
  "rgb": {
    "r": 215,
    "g": 205,
    "b": 94
  },
  "hsl": {
    "h": 55.041,
    "s": 60.199,
    "l": 60.588
  },
  "oklch": {
    "l": 0.8347,
    "c": 0.1328,
    "h": 104.1
  },
  "luminance": 0.58918
}

Semantic roles & 50–950 ramp

primary
#D7CD5E
secondary
#3F469A
accent
#2CC81E
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D7CD5E

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

Preview Lab → · Contrast checker → · Palette generator →

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