#D7CD4C#D7CD4C

#D7CD4C is a very light, vivid yellow. Relative luminance 0.586; OKLCH L 83.3% C 0.147 H 104.9°. Best body text is #000000 at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#D7CD4C
RGBrgb(215, 205, 76)
HSLhsl(56, 63%, 57%)
HSVhsv(56, 65%, 84%)
CMYKcmyk(0%, 4.7%, 64.7%, 15.7%)
CIE-LABlab(81.09, -11.76, 63.06)
CIE-LCHlch(81.09, 64.15, 100.56°)
OKLaboklab(83.29% -0.0379 0.1425)
OKLCHoklch(83.29% 0.147 104.9)
XYZxyz(51.1621, 58.6334, 15.4585)
Luminance0.5863 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CD4C #4C56D7
analogous
#D7874C #D7CD4C #9CD74C
triadic
#D7CD4C #4CD7CD #CD4CD7
tetradic
#D7CD4C #4CD787 #4C56D7 #D74C9C
square
#D7CD4C #4CD787 #4C56D7 #D74C9C
split-complementary
#D7CD4C #4C9CD7 #874CD7
monochromatic
#8A821F #BCB12A #D7CD4C #E2DB7E #EDE9B0

Accessibility & contrast

On white

1.65
#D7CD4C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.73
#D7CD4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CD4C
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CD4C#FFFFFF#000000##000000
##D7CD4C1.001.6512.7312.73
#FFFFFF1.651.0021.0021.00
#00000012.7321.001.001.00
##00000012.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC63B
Deuteranopia (green-blind)
#E2CC54
Tritanopia (blue-blind)
#E6C0B2
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d7cd4c;
/* rgb */ color: rgb(215, 205, 76);
/* oklch */ color: oklch(83.3% 0.147 104.9);
Tailwind
colors: {
  custom: {
    50: '#e7dc84',
    500: '#d7cd4c',
    950: '#000000',
  },
}
SCSS
$custom: #d7cd4c;
$custom-light: #e7dc84;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cd4c",
  "rgb": {
    "r": 215,
    "g": 205,
    "b": 76
  },
  "hsl": {
    "h": 55.683,
    "s": 63.47,
    "l": 57.059
  },
  "oklch": {
    "l": 0.83294,
    "c": 0.14746,
    "h": 104.9
  },
  "luminance": 0.58632
}

Semantic roles & 50–950 ramp

primary
#D7CD4C
secondary
#373E90
accent
#4DE641
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D7CD4C

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

Preview Lab → · Contrast checker → · Palette generator →

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