#D7CC5E#D7CC5E

#D7CC5E is a very light, vivid yellow. Relative luminance 0.584; OKLCH L 83.3% C 0.132 H 103.6°. Best body text is #000000 at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#D7CC5E
RGBrgb(215, 204, 94)
HSLhsl(55, 60%, 61%)
HSVhsv(55, 56%, 84%)
CMYKcmyk(0%, 5.1%, 56.3%, 15.7%)
CIE-LABlab(80.98, -10.04, 55.16)
CIE-LCHlch(80.98, 56.07, 100.32°)
OKLaboklab(83.26% -0.031 0.1281)
OKLCHoklch(83.26% 0.132 103.6)
XYZxyz(51.6393, 58.4427, 19.1479)
Luminance0.5844 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CC5E #5E69D7
analogous
#D78F5E #D7CC5E #A6D75E
triadic
#D7CC5E #5ED7CC #CC5ED7
tetradic
#D7CC5E #5ED78F #5E69D7 #D75EA6
square
#D7CC5E #5ED78F #5E69D7 #D75EA6
split-complementary
#D7CC5E #5EA6D7 #8F5ED7
monochromatic
#958B25 #C6B931 #D7CC5E #E3DC8F #EFEBC0

Accessibility & contrast

On white

1.66
#D7CC5E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.69
#D7CC5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CC5E
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CC5E#FFFFFF#000000##000000
##D7CC5E1.001.6612.6912.69
#FFFFFF1.661.0021.0021.00
#00000012.6921.001.001.00
##00000012.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC653
Deuteranopia (green-blind)
#E0CC64
Tritanopia (blue-blind)
#E5C0B4
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d7cc5e;
/* rgb */ color: rgb(215, 204, 94);
/* oklch */ color: oklch(83.3% 0.132 103.6);
Tailwind
colors: {
  custom: {
    50: '#e6db8f',
    500: '#d7cc5e',
    950: '#000000',
  },
}
SCSS
$custom: #d7cc5e;
$custom-light: #e6db8f;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cc5e",
  "rgb": {
    "r": 215,
    "g": 204,
    "b": 94
  },
  "hsl": {
    "h": 54.545,
    "s": 60.199,
    "l": 60.588
  },
  "oklch": {
    "l": 0.83261,
    "c": 0.13183,
    "h": 103.6
  },
  "luminance": 0.58441
}

Semantic roles & 50–950 ramp

primary
#D7CC5E
secondary
#3F479A
accent
#2DC81E
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D7CC5E

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

Preview Lab → · Contrast checker → · Palette generator →

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