#D7C657#D7C657

#D7C657 is a light, vivid yellow. Relative luminance 0.555; OKLCH L 81.9% C 0.132 H 100.7°. Best body text is #000000 at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#D7C657
RGBrgb(215, 198, 87)
HSLhsl(52, 62%, 59%)
HSVhsv(52, 60%, 84%)
CMYKcmyk(0%, 7.9%, 59.5%, 15.7%)
CIE-LABlab(79.34, -7.49, 56.48)
CIE-LCHlch(79.34, 56.97, 97.56°)
OKLaboklab(81.94% -0.0245 0.1301)
OKLCHoklch(81.94% 0.132 100.7)
XYZxyz(49.9406, 55.5254, 17.1018)
Luminance0.5552 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C657 #5768D7
analogous
#D78657 #D7C657 #A8D757
triadic
#D7C657 #57D7C6 #C657D7
tetradic
#D7C657 #57D786 #5768D7 #D757A8
square
#D7C657 #57D786 #5768D7 #D757A8
split-complementary
#D7C657 #57A8D7 #8657D7
monochromatic
#918223 #C2AF2E #D7C657 #E3D788 #EFE8BA

Accessibility & contrast

On white

1.73
#D7C657 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.10
#D7C657 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C657
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C657#FFFFFF#000000##000000
##D7C6571.001.7312.1012.10
#FFFFFF1.731.0021.0021.00
#00000012.1021.001.001.00
##00000012.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C14B
Deuteranopia (green-blind)
#DCC85D
Tritanopia (blue-blind)
#E6B9AE
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d7c657;
/* rgb */ color: rgb(215, 198, 87);
/* oklch */ color: oklch(81.9% 0.132 100.7);
Tailwind
colors: {
  custom: {
    50: '#e6d78a',
    500: '#d7c657',
    950: '#000000',
  },
}
SCSS
$custom: #d7c657;
$custom-light: #e6d78a;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c657",
  "rgb": {
    "r": 215,
    "g": 198,
    "b": 87
  },
  "hsl": {
    "h": 52.031,
    "s": 61.538,
    "l": 59.216
  },
  "oklch": {
    "l": 0.81936,
    "c": 0.13238,
    "h": 100.7
  },
  "luminance": 0.55523
}

Semantic roles & 50–950 ramp

primary
#D7C657
secondary
#3C4896
accent
#59E543
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D7C657

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

Preview Lab → · Contrast checker → · Palette generator →

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