#D7CD6A#D7CD6A

#D7CD6A is a very light, vivid yellow. Relative luminance 0.592; OKLCH L 83.6% C 0.122 H 103.5°. Best body text is #000000 at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#D7CD6A
RGBrgb(215, 205, 106)
HSLhsl(54, 58%, 63%)
HSVhsv(54, 51%, 84%)
CMYKcmyk(0%, 4.7%, 50.7%, 15.7%)
CIE-LABlab(81.38, -9.58, 50.02)
CIE-LCHlch(81.38, 50.93, 100.84°)
OKLaboklab(83.61% -0.0284 0.1182)
OKLCHoklch(83.61% 0.122 103.5)
XYZxyz(52.4586, 59.1520, 22.2870)
Luminance0.5915 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CD6A #6A74D7
analogous
#D7966A #D7CD6A #ABD76A
triadic
#D7CD6A #6AD7CD #CD6AD7
tetradic
#D7CD6A #6AD796 #6A74D7 #D76AAB
square
#D7CD6A #6AD796 #6A74D7 #D76AAB
split-complementary
#D7CD6A #6AABD7 #966AD7
monochromatic
#9D922A #CABD3A #D7CD6A #E4DD9A #F1EDCA

Accessibility & contrast

On white

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

On black

12.83
#D7CD6A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CD6A
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CD6A#FFFFFF#000000##000000
##D7CD6A1.001.6412.8312.83
#FFFFFF1.641.0021.0021.00
#00000012.8321.001.001.00
##00000012.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC761
Deuteranopia (green-blind)
#E0CD6F
Tritanopia (blue-blind)
#E5C1B6
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d7cd6a;
/* rgb */ color: rgb(215, 205, 106);
/* oklch */ color: oklch(83.6% 0.122 103.5);
Tailwind
colors: {
  custom: {
    50: '#e5dc97',
    500: '#d7cd6a',
    950: '#000000',
  },
}
SCSS
$custom: #d7cd6a;
$custom-light: #e5dc97;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cd6a",
  "rgb": {
    "r": 215,
    "g": 205,
    "b": 106
  },
  "hsl": {
    "h": 54.495,
    "s": 57.672,
    "l": 62.941
  },
  "oklch": {
    "l": 0.83612,
    "c": 0.12159,
    "h": 103.5
  },
  "luminance": 0.5915
}

Semantic roles & 50–950 ramp

primary
#D7CD6A
secondary
#444DA1
accent
#2FC520
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D7CD6A

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

Preview Lab → · Contrast checker → · Palette generator →

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