#D5C757#D5C757

#D5C757 is a light, vivid yellow. Relative luminance 0.557; OKLCH L 82.0% C 0.133 H 102.2°. Best body text is #000000 at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#D5C757
RGBrgb(213, 199, 87)
HSLhsl(53, 60%, 59%)
HSVhsv(53, 59%, 84%)
CMYKcmyk(0%, 6.6%, 59.2%, 16.5%)
CIE-LABlab(79.43, -8.84, 56.53)
CIE-LCHlch(79.43, 57.21, 98.89°)
OKLaboklab(81.97% -0.0282 0.1303)
OKLCHoklch(81.97% 0.133 102.2)
XYZxyz(49.5861, 55.6830, 17.1509)
Luminance0.5568 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C757 #5765D5
analogous
#D58857 #D5C757 #A4D557
triadic
#D5C757 #57D5C7 #C757D5
tetradic
#D5C757 #57D588 #5765D5 #D557A4
square
#D5C757 #57D588 #5765D5 #D557A4
split-complementary
#D5C757 #57A4D5 #8857D5
monochromatic
#8E8224 #BFAF30 #D5C757 #E1D788 #EDE8B9

Accessibility & contrast

On white

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

On black

12.14
#D5C757 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C757
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C757#FFFFFF#000000##000000
##D5C7571.001.7312.1412.14
#FFFFFF1.731.0021.0021.00
#00000012.1421.001.001.00
##00000012.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5c757;
/* rgb */ color: rgb(213, 199, 87);
/* oklch */ color: oklch(82.0% 0.133 102.2);
Tailwind
colors: {
  custom: {
    50: '#e5d78a',
    500: '#d5c757',
    950: '#000000',
  },
}
SCSS
$custom: #d5c757;
$custom-light: #e5d78a;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c757",
  "rgb": {
    "r": 213,
    "g": 199,
    "b": 87
  },
  "hsl": {
    "h": 53.333,
    "s": 60,
    "l": 58.824
  },
  "oklch": {
    "l": 0.81966,
    "c": 0.13327,
    "h": 102.2
  },
  "luminance": 0.55681
}

Semantic roles & 50–950 ramp

primary
#D5C757
secondary
#3C4694
accent
#56E345
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D5C757

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

Preview Lab → · Contrast checker → · Palette generator →

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