#D7CC5C#D7CC5C

#D7CC5C is a very light, vivid yellow. Relative luminance 0.584; OKLCH L 83.2% C 0.134 H 103.7°. Best body text is #000000 at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#D7CC5C
RGBrgb(215, 204, 92)
HSLhsl(55, 61%, 60%)
HSVhsv(55, 57%, 84%)
CMYKcmyk(0%, 5.1%, 57.2%, 15.7%)
CIE-LABlab(80.96, -10.19, 56.05)
CIE-LCHlch(80.96, 56.97, 100.31°)
OKLaboklab(83.24% -0.0317 0.1298)
OKLCHoklch(83.24% 0.134 103.7)
XYZxyz(51.5507, 58.4073, 18.6814)
Luminance0.5841 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CC5C #5C67D7
analogous
#D78E5C #D7CC5C #A5D75C
triadic
#D7CC5C #5CD7CC #CC5CD7
tetradic
#D7CC5C #5CD78E #5C67D7 #D75CA5
square
#D7CC5C #5CD78E #5C67D7 #D75CA5
split-complementary
#D7CC5C #5CA5D7 #8E5CD7
monochromatic
#948A24 #C5B830 #D7CC5C #E3DB8D #EFEBBE

Accessibility & contrast

On white

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

On black

12.68
#D7CC5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CC5C
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CC5C#FFFFFF#000000##000000
##D7CC5C1.001.6612.6812.68
#FFFFFF1.661.0021.0021.00
#00000012.6821.001.001.00
##00000012.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC650
Deuteranopia (green-blind)
#E0CC62
Tritanopia (blue-blind)
#E6C0B3
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d7cc5c;
/* rgb */ color: rgb(215, 204, 92);
/* oklch */ color: oklch(83.2% 0.134 103.7);
Tailwind
colors: {
  custom: {
    50: '#e6db8e',
    500: '#d7cc5c',
    950: '#000000',
  },
}
SCSS
$custom: #d7cc5c;
$custom-light: #e6db8e;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cc5c",
  "rgb": {
    "r": 215,
    "g": 204,
    "b": 92
  },
  "hsl": {
    "h": 54.634,
    "s": 60.591,
    "l": 60.196
  },
  "oklch": {
    "l": 0.83239,
    "c": 0.1336,
    "h": 103.7
  },
  "luminance": 0.58406
}

Semantic roles & 50–950 ramp

primary
#D7CC5C
secondary
#3E4699
accent
#2DC81D
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D7CC5C

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

Preview Lab → · Contrast checker → · Palette generator →

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