#D7CD6B#D7CD6B

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

Color values

HEX#D7CD6B
RGBrgb(215, 205, 107)
HSLhsl(54, 57%, 63%)
HSVhsv(54, 50%, 84%)
CMYKcmyk(0%, 4.7%, 50.2%, 15.7%)
CIE-LABlab(81.39, -9.50, 49.56)
CIE-LCHlch(81.39, 50.46, 100.85°)
OKLaboklab(83.63% -0.028 0.1173)
OKLCHoklch(83.63% 0.121 103.4)
XYZxyz(52.5109, 59.1729, 22.5625)
Luminance0.5917 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CD6B #6B75D7
analogous
#D7976B #D7CD6B #ABD76B
triadic
#D7CD6B #6BD7CD #CD6BD7
tetradic
#D7CD6B #6BD797 #6B75D7 #D76BAB
square
#D7CD6B #6BD797 #6B75D7 #D76BAB
split-complementary
#D7CD6B #6BABD7 #976BD7
monochromatic
#9D932A #CABD3B #D7CD6B #E4DD9B #F1EECB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7CD6B#FFFFFF#000000##000000
##D7CD6B1.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)
#DCC762
Deuteranopia (green-blind)
#DFCD70
Tritanopia (blue-blind)
#E5C2B6
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d7cd6b;
/* rgb */ color: rgb(215, 205, 107);
/* oklch */ color: oklch(83.6% 0.121 103.4);
Tailwind
colors: {
  custom: {
    50: '#e5dc98',
    500: '#d7cd6b',
    950: '#000000',
  },
}
SCSS
$custom: #d7cd6b;
$custom-light: #e5dc98;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cd6b",
  "rgb": {
    "r": 215,
    "g": 205,
    "b": 107
  },
  "hsl": {
    "h": 54.444,
    "s": 57.447,
    "l": 63.137
  },
  "oklch": {
    "l": 0.83625,
    "c": 0.1206,
    "h": 103.4
  },
  "luminance": 0.59171
}

Semantic roles & 50–950 ramp

primary
#D7CD6B
secondary
#454DA1
accent
#30C520
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D7CD6B

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

Preview Lab → · Contrast checker → · Palette generator →

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