#D7CC57#D7CC57

#D7CC57 is a very light, vivid yellow. Relative luminance 0.583; OKLCH L 83.2% C 0.138 H 103.9°. Best body text is #000000 at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#D7CC57
RGBrgb(215, 204, 87)
HSLhsl(55, 62%, 59%)
HSVhsv(55, 60%, 84%)
CMYKcmyk(0%, 5.1%, 59.5%, 15.7%)
CIE-LABlab(80.92, -10.55, 58.22)
CIE-LCHlch(80.92, 59.17, 100.27°)
OKLaboklab(83.19% -0.0332 0.1338)
OKLCHoklch(83.19% 0.138 103.9)
XYZxyz(51.3393, 58.3228, 17.5681)
Luminance0.5832 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CC57 #5762D7
analogous
#D78C57 #D7CC57 #A2D757
triadic
#D7CC57 #57D7CC #CC57D7
tetradic
#D7CC57 #57D78C #5762D7 #D757A2
square
#D7CC57 #57D78C #5762D7 #D757A2
split-complementary
#D7CC57 #57A2D7 #8C57D7
monochromatic
#918823 #C2B62E #D7CC57 #E3DB88 #EFEABA

Accessibility & contrast

On white

1.66
#D7CC57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.66
#D7CC57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CC57
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CC57#FFFFFF#000000##000000
##D7CC571.001.6612.6612.66
#FFFFFF1.661.0021.0021.00
#00000012.6621.001.001.00
##00000012.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC64A
Deuteranopia (green-blind)
#E0CC5D
Tritanopia (blue-blind)
#E6BFB3
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d7cc57;
/* rgb */ color: rgb(215, 204, 87);
/* oklch */ color: oklch(83.2% 0.138 103.9);
Tailwind
colors: {
  custom: {
    50: '#e6db8b',
    500: '#d7cc57',
    950: '#000000',
  },
}
SCSS
$custom: #d7cc57;
$custom-light: #e6db8b;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cc57",
  "rgb": {
    "r": 215,
    "g": 204,
    "b": 87
  },
  "hsl": {
    "h": 54.844,
    "s": 61.538,
    "l": 59.216
  },
  "oklch": {
    "l": 0.83187,
    "c": 0.13787,
    "h": 103.9
  },
  "luminance": 0.58321
}

Semantic roles & 50–950 ramp

primary
#D7CC57
secondary
#3C4496
accent
#51E543
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D7CC57

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

Preview Lab → · Contrast checker → · Palette generator →

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