#D7C057#D7C057

#D7C057 is a light, vivid yellow. Relative luminance 0.528; OKLCH L 80.7% C 0.127 H 97.1°. Best body text is #000000 at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#D7C057
RGBrgb(215, 192, 87)
HSLhsl(49, 62%, 59%)
HSVhsv(49, 60%, 84%)
CMYKcmyk(0%, 10.7%, 59.5%, 15.7%)
CIE-LABlab(77.78, -4.40, 54.73)
CIE-LCHlch(77.78, 54.91, 94.60°)
OKLaboklab(80.7% -0.0156 0.1264)
OKLCHoklch(80.7% 0.127 97.1)
XYZxyz(48.5962, 52.8367, 16.6537)
Luminance0.5283 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C057 #576ED7
analogous
#D78057 #D7C057 #AED757
triadic
#D7C057 #57D7C0 #C057D7
tetradic
#D7C057 #57D780 #576ED7 #D757AE
square
#D7C057 #57D780 #576ED7 #D757AE
split-complementary
#D7C057 #57AED7 #8057D7
monochromatic
#917D23 #C2A82E #D7C057 #E3D388 #EFE5BA

Accessibility & contrast

On white

1.82
#D7C057 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.57
#D7C057 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C057
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C057#FFFFFF#000000##000000
##D7C0571.001.8211.5711.57
#FFFFFF1.821.0021.0021.00
#00000011.5721.001.001.00
##00000011.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BC4C
Deuteranopia (green-blind)
#D7C45C
Tritanopia (blue-blind)
#E7B3A9
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d7c057;
/* rgb */ color: rgb(215, 192, 87);
/* oklch */ color: oklch(80.7% 0.127 97.1);
Tailwind
colors: {
  custom: {
    50: '#e6d28a',
    500: '#d7c057',
    950: '#000000',
  },
}
SCSS
$custom: #d7c057;
$custom-light: #e6d28a;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c057",
  "rgb": {
    "r": 215,
    "g": 192,
    "b": 87
  },
  "hsl": {
    "h": 49.219,
    "s": 61.538,
    "l": 59.216
  },
  "oklch": {
    "l": 0.80696,
    "c": 0.12732,
    "h": 97.1
  },
  "luminance": 0.52834
}

Semantic roles & 50–950 ramp

primary
#D7C057
secondary
#3C4C96
accent
#60E543
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D7C057

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

Preview Lab → · Contrast checker → · Palette generator →

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