#D7C757#D7C757

#D7C757 is a very light, vivid yellow. Relative luminance 0.560; OKLCH L 82.1% C 0.133 H 101.2°. Best body text is #000000 at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#D7C757
RGBrgb(215, 199, 87)
HSLhsl(53, 62%, 59%)
HSVhsv(53, 60%, 84%)
CMYKcmyk(0%, 7.4%, 59.5%, 15.7%)
CIE-LABlab(79.60, -8.01, 56.77)
CIE-LCHlch(79.60, 57.33, 98.03°)
OKLaboklab(82.14% -0.026 0.1307)
OKLCHoklch(82.14% 0.133 101.2)
XYZxyz(50.1699, 55.9840, 17.1783)
Luminance0.5598 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C757 #5767D7
analogous
#D78757 #D7C757 #A7D757
triadic
#D7C757 #57D7C7 #C757D7
tetradic
#D7C757 #57D787 #5767D7 #D757A7
square
#D7C757 #57D787 #5767D7 #D757A7
split-complementary
#D7C757 #57A7D7 #8757D7
monochromatic
#918323 #C2B02E #D7C757 #E3D788 #EFE8BA

Accessibility & contrast

On white

1.72
#D7C757 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.20
#D7C757 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C757
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C757#FFFFFF#000000##000000
##D7C7571.001.7212.2012.20
#FFFFFF1.721.0021.0021.00
#00000012.2021.001.001.00
##00000012.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C14B
Deuteranopia (green-blind)
#DDC85D
Tritanopia (blue-blind)
#E6BAAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d7c757;
/* rgb */ color: rgb(215, 199, 87);
/* oklch */ color: oklch(82.1% 0.133 101.2);
Tailwind
colors: {
  custom: {
    50: '#e6d78a',
    500: '#d7c757',
    950: '#000000',
  },
}
SCSS
$custom: #d7c757;
$custom-light: #e6d78a;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c757",
  "rgb": {
    "r": 215,
    "g": 199,
    "b": 87
  },
  "hsl": {
    "h": 52.5,
    "s": 61.538,
    "l": 59.216
  },
  "oklch": {
    "l": 0.82144,
    "c": 0.13326,
    "h": 101.2
  },
  "luminance": 0.55982
}

Semantic roles & 50–950 ramp

primary
#D7C757
secondary
#3C4796
accent
#57E543
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D7C757

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

Preview Lab → · Contrast checker → · Palette generator →

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