#D7CD57#D7CD57

#D7CD57 is a very light, vivid yellow. Relative luminance 0.588; OKLCH L 83.4% C 0.139 H 104.5°. Best body text is #000000 at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#D7CD57
RGBrgb(215, 205, 87)
HSLhsl(55, 62%, 59%)
HSVhsv(55, 60%, 84%)
CMYKcmyk(0%, 4.7%, 59.5%, 15.7%)
CIE-LABlab(81.18, -11.06, 58.51)
CIE-LCHlch(81.18, 59.54, 100.70°)
OKLaboklab(83.4% -0.0347 0.1344)
OKLCHoklch(83.4% 0.139 104.5)
XYZxyz(51.5777, 58.7996, 17.6475)
Luminance0.5880 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CD57 #5761D7
analogous
#D78D57 #D7CD57 #A1D757
triadic
#D7CD57 #57D7CD #CD57D7
tetradic
#D7CD57 #57D78D #5761D7 #D757A1
square
#D7CD57 #57D78D #5761D7 #D757A1
split-complementary
#D7CD57 #57A1D7 #8D57D7
monochromatic
#918823 #C2B72E #D7CD57 #E3DC88 #EFEABA

Accessibility & contrast

On white

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

On black

12.76
#D7CD57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CD57
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CD57#FFFFFF#000000##000000
##D7CD571.001.6512.7612.76
#FFFFFF1.651.0021.0021.00
#00000012.7621.001.001.00
##00000012.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC64A
Deuteranopia (green-blind)
#E1CC5D
Tritanopia (blue-blind)
#E6C0B4
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d7cd57;
/* rgb */ color: rgb(215, 205, 87);
/* oklch */ color: oklch(83.4% 0.139 104.5);
Tailwind
colors: {
  custom: {
    50: '#e6dc8b',
    500: '#d7cd57',
    950: '#000000',
  },
}
SCSS
$custom: #d7cd57;
$custom-light: #e6dc8b;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cd57",
  "rgb": {
    "r": 215,
    "g": 205,
    "b": 87
  },
  "hsl": {
    "h": 55.313,
    "s": 61.538,
    "l": 59.216
  },
  "oklch": {
    "l": 0.83396,
    "c": 0.13882,
    "h": 104.5
  },
  "luminance": 0.58798
}

Semantic roles & 50–950 ramp

primary
#D7CD57
secondary
#3C4396
accent
#50E543
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D7CD57

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

Preview Lab → · Contrast checker → · Palette generator →

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