#D7CD4D#D7CD4D

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

Color values

HEX#D7CD4D
RGBrgb(215, 205, 77)
HSLhsl(56, 63%, 57%)
HSVhsv(56, 64%, 84%)
CMYKcmyk(0%, 4.7%, 64.2%, 15.7%)
CIE-LABlab(81.10, -11.70, 62.66)
CIE-LCHlch(81.10, 63.74, 100.58°)
OKLaboklab(83.3% -0.0376 0.1418)
OKLCHoklch(83.3% 0.147 104.8)
XYZxyz(51.1971, 58.6474, 15.6430)
Luminance0.5865 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CD4D #4D57D7
analogous
#D7884D #D7CD4D #9CD74D
triadic
#D7CD4D #4DD7CD #CD4DD7
tetradic
#D7CD4D #4DD788 #4D57D7 #D74D9C
square
#D7CD4D #4DD788 #4D57D7 #D74D9C
split-complementary
#D7CD4D #4D9CD7 #884DD7
monochromatic
#8A831F #BCB22A #D7CD4D #E2DB7F #EDE9B1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7CD4D#FFFFFF#000000##000000
##D7CD4D1.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)
#DEC63D
Deuteranopia (green-blind)
#E2CC55
Tritanopia (blue-blind)
#E6C0B2
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d7cd4d;
/* rgb */ color: rgb(215, 205, 77);
/* oklch */ color: oklch(83.3% 0.147 104.8);
Tailwind
colors: {
  custom: {
    50: '#e7dc85',
    500: '#d7cd4d',
    950: '#000000',
  },
}
SCSS
$custom: #d7cd4d;
$custom-light: #e7dc85;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cd4d",
  "rgb": {
    "r": 215,
    "g": 205,
    "b": 77
  },
  "hsl": {
    "h": 55.652,
    "s": 63.303,
    "l": 57.255
  },
  "oklch": {
    "l": 0.83302,
    "c": 0.14671,
    "h": 104.8
  },
  "luminance": 0.58646
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D7CD4D

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

Preview Lab → · Contrast checker → · Palette generator →

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