#D7CD5D#D7CD5D

#D7CD5D is a very light, vivid yellow. Relative luminance 0.589; OKLCH L 83.5% C 0.134 H 104.2°. Best body text is #000000 at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#D7CD5D
RGBrgb(215, 205, 93)
HSLhsl(55, 60%, 60%)
HSVhsv(55, 57%, 84%)
CMYKcmyk(0%, 4.7%, 56.7%, 15.7%)
CIE-LABlab(81.24, -10.63, 55.90)
CIE-LCHlch(81.24, 56.90, 100.76°)
OKLaboklab(83.46% -0.0328 0.1296)
OKLCHoklch(83.46% 0.134 104.2)
XYZxyz(51.8331, 58.9018, 18.9926)
Luminance0.5890 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CD5D #5D67D7
analogous
#D7905D #D7CD5D #A4D75D
triadic
#D7CD5D #5DD7CD #CD5DD7
tetradic
#D7CD5D #5DD790 #5D67D7 #D75DA4
square
#D7CD5D #5DD790 #5D67D7 #D75DA4
split-complementary
#D7CD5D #5DA4D7 #905DD7
monochromatic
#958C25 #C6BA31 #D7CD5D #E3DC8E #EFEBBF

Accessibility & contrast

On white

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

On black

12.78
#D7CD5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CD5D
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CD5D#FFFFFF#000000##000000
##D7CD5D1.001.6412.7812.78
#FFFFFF1.641.0021.0021.00
#00000012.7821.001.001.00
##00000012.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC751
Deuteranopia (green-blind)
#E1CC63
Tritanopia (blue-blind)
#E5C1B4
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d7cd5d;
/* rgb */ color: rgb(215, 205, 93);
/* oklch */ color: oklch(83.5% 0.134 104.2);
Tailwind
colors: {
  custom: {
    50: '#e6dc8f',
    500: '#d7cd5d',
    950: '#000000',
  },
}
SCSS
$custom: #d7cd5d;
$custom-light: #e6dc8f;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cd5d",
  "rgb": {
    "r": 215,
    "g": 205,
    "b": 93
  },
  "hsl": {
    "h": 55.082,
    "s": 60.396,
    "l": 60.392
  },
  "oklch": {
    "l": 0.83459,
    "c": 0.13368,
    "h": 104.2
  },
  "luminance": 0.589
}

Semantic roles & 50–950 ramp

primary
#D7CD5D
secondary
#3E469A
accent
#2BC81D
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D7CD5D

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

Preview Lab → · Contrast checker → · Palette generator →

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