#D7CC5D#D7CC5D

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

Color values

HEX#D7CC5D
RGBrgb(215, 204, 93)
HSLhsl(55, 60%, 60%)
HSVhsv(55, 57%, 84%)
CMYKcmyk(0%, 5.1%, 56.7%, 15.7%)
CIE-LABlab(80.97, -10.12, 55.61)
CIE-LCHlch(80.97, 56.52, 100.31°)
OKLaboklab(83.25% -0.0313 0.129)
OKLCHoklch(83.25% 0.133 103.7)
XYZxyz(51.5947, 58.4249, 18.9132)
Luminance0.5842 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CC5D #5D68D7
analogous
#D78F5D #D7CC5D #A5D75D
triadic
#D7CC5D #5DD7CC #CC5DD7
tetradic
#D7CC5D #5DD78F #5D68D7 #D75DA5
square
#D7CC5D #5DD78F #5D68D7 #D75DA5
split-complementary
#D7CC5D #5DA5D7 #8F5DD7
monochromatic
#958B25 #C6B831 #D7CC5D #E3DB8E #EFEBBF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7CC5D#FFFFFF#000000##000000
##D7CC5D1.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)
#DCC652
Deuteranopia (green-blind)
#E0CC63
Tritanopia (blue-blind)
#E5C0B4
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d7cc5d;
/* rgb */ color: rgb(215, 204, 93);
/* oklch */ color: oklch(83.3% 0.133 103.7);
Tailwind
colors: {
  custom: {
    50: '#e6db8e',
    500: '#d7cc5d',
    950: '#000000',
  },
}
SCSS
$custom: #d7cc5d;
$custom-light: #e6db8e;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cc5d",
  "rgb": {
    "r": 215,
    "g": 204,
    "b": 93
  },
  "hsl": {
    "h": 54.59,
    "s": 60.396,
    "l": 60.392
  },
  "oklch": {
    "l": 0.8325,
    "c": 0.13272,
    "h": 103.7
  },
  "luminance": 0.58423
}

Semantic roles & 50–950 ramp

primary
#D7CC5D
secondary
#3E479A
accent
#2DC81D
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D7CC5D

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

Preview Lab → · Contrast checker → · Palette generator →

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