#D7C557#D7C557

#D7C557 is a light, vivid yellow. Relative luminance 0.551; OKLCH L 81.7% C 0.132 H 100.1°. Best body text is #000000 at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#D7C557
RGBrgb(215, 197, 87)
HSLhsl(52, 62%, 59%)
HSVhsv(52, 60%, 84%)
CMYKcmyk(0%, 8.4%, 59.5%, 15.7%)
CIE-LABlab(79.08, -6.98, 56.18)
CIE-LCHlch(79.08, 56.62, 97.08°)
OKLaboklab(81.73% -0.023 0.1295)
OKLCHoklch(81.73% 0.132 100.1)
XYZxyz(49.7128, 55.0697, 17.0259)
Luminance0.5507 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C557 #5769D7
analogous
#D78557 #D7C557 #A9D757
triadic
#D7C557 #57D7C5 #C557D7
tetradic
#D7C557 #57D785 #5769D7 #D757A9
square
#D7C557 #57D785 #5769D7 #D757A9
split-complementary
#D7C557 #57A9D7 #8557D7
monochromatic
#918223 #C2AE2E #D7C557 #E3D688 #EFE7BA

Accessibility & contrast

On white

1.75
#D7C557 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.01
#D7C557 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C557
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C557#FFFFFF#000000##000000
##D7C5571.001.7512.0112.01
#FFFFFF1.751.0021.0021.00
#00000012.0121.001.001.00
##00000012.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C04B
Deuteranopia (green-blind)
#DBC75D
Tritanopia (blue-blind)
#E6B8AD
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d7c557;
/* rgb */ color: rgb(215, 197, 87);
/* oklch */ color: oklch(81.7% 0.132 100.1);
Tailwind
colors: {
  custom: {
    50: '#e6d68a',
    500: '#d7c557',
    950: '#000000',
  },
}
SCSS
$custom: #d7c557;
$custom-light: #e6d68a;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c557",
  "rgb": {
    "r": 215,
    "g": 197,
    "b": 87
  },
  "hsl": {
    "h": 51.563,
    "s": 61.538,
    "l": 59.216
  },
  "oklch": {
    "l": 0.81728,
    "c": 0.1315,
    "h": 100.1
  },
  "luminance": 0.55068
}

Semantic roles & 50–950 ramp

primary
#D7C557
secondary
#3C4996
accent
#5AE543
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D7C557

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

Preview Lab → · Contrast checker → · Palette generator →

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