#D7CD51#D7CD51

#D7CD51 is a very light, vivid yellow. Relative luminance 0.587; OKLCH L 83.3% C 0.144 H 104.7°. Best body text is #000000 at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#D7CD51
RGBrgb(215, 205, 81)
HSLhsl(56, 63%, 58%)
HSVhsv(56, 62%, 84%)
CMYKcmyk(0%, 4.7%, 62.3%, 15.7%)
CIE-LABlab(81.13, -11.45, 61.03)
CIE-LCHlch(81.13, 62.10, 100.63°)
OKLaboklab(83.34% -0.0365 0.139)
OKLCHoklch(83.34% 0.144 104.7)
XYZxyz(51.3427, 58.7056, 16.4098)
Luminance0.5870 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CD51 #515BD7
analogous
#D78A51 #D7CD51 #9ED751
triadic
#D7CD51 #51D7CD #CD51D7
tetradic
#D7CD51 #51D78A #515BD7 #D7519E
square
#D7CD51 #51D78A #515BD7 #D7519E
split-complementary
#D7CD51 #519ED7 #8A51D7
monochromatic
#8D8520 #BFB42C #D7CD51 #E2DB83 #EEEAB5

Accessibility & contrast

On white

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

On black

12.74
#D7CD51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CD51
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CD51#FFFFFF#000000##000000
##D7CD511.001.6512.7412.74
#FFFFFF1.651.0021.0021.00
#00000012.7421.001.001.00
##00000012.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC642
Deuteranopia (green-blind)
#E1CC58
Tritanopia (blue-blind)
#E6C0B3
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d7cd51;
/* rgb */ color: rgb(215, 205, 81);
/* oklch */ color: oklch(83.3% 0.144 104.7);
Tailwind
colors: {
  custom: {
    50: '#e6dc87',
    500: '#d7cd51',
    950: '#000000',
  },
}
SCSS
$custom: #d7cd51;
$custom-light: #e6dc87;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cd51",
  "rgb": {
    "r": 215,
    "g": 205,
    "b": 81
  },
  "hsl": {
    "h": 55.522,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.83338,
    "c": 0.14366,
    "h": 104.7
  },
  "luminance": 0.58704
}

Semantic roles & 50–950 ramp

primary
#D7CD51
secondary
#394093
accent
#4EE642
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D7CD51

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

Preview Lab → · Contrast checker → · Palette generator →

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