#D6C757#D6C757

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

Color values

HEX#D6C757
RGBrgb(214, 199, 87)
HSLhsl(53, 61%, 59%)
HSVhsv(53, 59%, 84%)
CMYKcmyk(0%, 7%, 59.3%, 16.1%)
CIE-LABlab(79.52, -8.42, 56.65)
CIE-LCHlch(79.52, 57.27, 98.46°)
OKLaboklab(82.06% -0.0271 0.1305)
OKLCHoklch(82.06% 0.133 101.7)
XYZxyz(49.8771, 55.8330, 17.1646)
Luminance0.5583 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6C757 #5766D6
analogous
#D68857 #D6C757 #A6D657
triadic
#D6C757 #57D6C7 #C757D6
tetradic
#D6C757 #57D688 #5766D6 #D657A6
square
#D6C757 #57D688 #5766D6 #D657A6
split-complementary
#D6C757 #57A6D6 #8857D6
monochromatic
#908323 #C1B02F #D6C757 #E2D788 #EEE8B9

Accessibility & contrast

On white

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

On black

12.17
#D6C757 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6C757
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6C757#FFFFFF#000000##000000
##D6C7571.001.7312.1712.17
#FFFFFF1.731.0021.0021.00
#00000012.1721.001.001.00
##00000012.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d6c757;
/* rgb */ color: rgb(214, 199, 87);
/* oklch */ color: oklch(82.1% 0.133 101.7);
Tailwind
colors: {
  custom: {
    50: '#e5d78a',
    500: '#d6c757',
    950: '#000000',
  },
}
SCSS
$custom: #d6c757;
$custom-light: #e5d78a;
$custom-dark: #000000;
JSON
{
  "hex": "#d6c757",
  "rgb": {
    "r": 214,
    "g": 199,
    "b": 87
  },
  "hsl": {
    "h": 52.913,
    "s": 60.766,
    "l": 59.02
  },
  "oklch": {
    "l": 0.82055,
    "c": 0.13326,
    "h": 101.7
  },
  "luminance": 0.55831
}

Semantic roles & 50–950 ramp

primary
#D6C757
secondary
#3C4795
accent
#57E444
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D6C757

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

Preview Lab → · Contrast checker → · Palette generator →

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