#D6C657#D6C657

#D6C657 is a light, vivid yellow. Relative luminance 0.554; OKLCH L 81.8% C 0.132 H 101.2°. Best body text is #000000 at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#D6C657
RGBrgb(214, 198, 87)
HSLhsl(52, 61%, 59%)
HSVhsv(52, 59%, 84%)
CMYKcmyk(0%, 7.5%, 59.3%, 16.1%)
CIE-LABlab(79.26, -7.91, 56.36)
CIE-LCHlch(79.26, 56.91, 97.99°)
OKLaboklab(81.85% -0.0256 0.1299)
OKLCHoklch(81.85% 0.132 101.2)
XYZxyz(49.6478, 55.3744, 17.0881)
Luminance0.5537 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6C657 #5767D6
analogous
#D68757 #D6C657 #A7D657
triadic
#D6C657 #57D6C6 #C657D6
tetradic
#D6C657 #57D687 #5767D6 #D657A7
square
#D6C657 #57D687 #5767D6 #D657A7
split-complementary
#D6C657 #57A7D6 #8757D6
monochromatic
#908223 #C1AE2F #D6C657 #E2D788 #EEE7B9

Accessibility & contrast

On white

1.74
#D6C657 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.07
#D6C657 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6C657
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6C657#FFFFFF#000000##000000
##D6C6571.001.7412.0712.07
#FFFFFF1.741.0021.0021.00
#00000012.0721.001.001.00
##00000012.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C14B
Deuteranopia (green-blind)
#DBC75D
Tritanopia (blue-blind)
#E5B9AE
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d6c657;
/* rgb */ color: rgb(214, 198, 87);
/* oklch */ color: oklch(81.8% 0.132 101.2);
Tailwind
colors: {
  custom: {
    50: '#e5d78a',
    500: '#d6c657',
    950: '#000000',
  },
}
SCSS
$custom: #d6c657;
$custom-light: #e5d78a;
$custom-dark: #000000;
JSON
{
  "hex": "#d6c657",
  "rgb": {
    "r": 214,
    "g": 198,
    "b": 87
  },
  "hsl": {
    "h": 52.441,
    "s": 60.766,
    "l": 59.02
  },
  "oklch": {
    "l": 0.81847,
    "c": 0.13237,
    "h": 101.2
  },
  "luminance": 0.55372
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D6C657

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

Preview Lab → · Contrast checker → · Palette generator →

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