#D7C857#D7C857

#D7C857 is a very light, vivid yellow. Relative luminance 0.564; OKLCH L 82.4% C 0.134 H 101.8°. Best body text is #000000 at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#D7C857
RGBrgb(215, 200, 87)
HSLhsl(53, 62%, 59%)
HSVhsv(53, 60%, 84%)
CMYKcmyk(0%, 7%, 59.5%, 15.7%)
CIE-LABlab(79.87, -8.52, 57.06)
CIE-LCHlch(79.87, 57.69, 98.49°)
OKLaboklab(82.35% -0.0274 0.1313)
OKLCHoklch(82.35% 0.134 101.8)
XYZxyz(50.4008, 56.4457, 17.2552)
Luminance0.5644 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C857 #5766D7
analogous
#D78857 #D7C857 #A6D757
triadic
#D7C857 #57D7C8 #C857D7
tetradic
#D7C857 #57D788 #5766D7 #D757A6
square
#D7C857 #57D788 #5766D7 #D757A6
split-complementary
#D7C857 #57A6D7 #8857D7
monochromatic
#918423 #C2B12E #D7C857 #E3D888 #EFE8BA

Accessibility & contrast

On white

1.71
#D7C857 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.29
#D7C857 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C857
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C857#FFFFFF#000000##000000
##D7C8571.001.7112.2912.29
#FFFFFF1.711.0021.0021.00
#00000012.2921.001.001.00
##00000012.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C24B
Deuteranopia (green-blind)
#DDC95D
Tritanopia (blue-blind)
#E6BBB0
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d7c857;
/* rgb */ color: rgb(215, 200, 87);
/* oklch */ color: oklch(82.4% 0.134 101.8);
Tailwind
colors: {
  custom: {
    50: '#e6d88a',
    500: '#d7c857',
    950: '#000000',
  },
}
SCSS
$custom: #d7c857;
$custom-light: #e6d88a;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c857",
  "rgb": {
    "r": 215,
    "g": 200,
    "b": 87
  },
  "hsl": {
    "h": 52.969,
    "s": 61.538,
    "l": 59.216
  },
  "oklch": {
    "l": 0.82352,
    "c": 0.13416,
    "h": 101.8
  },
  "luminance": 0.56444
}

Semantic roles & 50–950 ramp

primary
#D7C857
secondary
#3C4696
accent
#56E543
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D7C857

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

Preview Lab → · Contrast checker → · Palette generator →

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