#D5C657#D5C657

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

Color values

HEX#D5C657
RGBrgb(213, 198, 87)
HSLhsl(53, 60%, 59%)
HSVhsv(53, 59%, 84%)
CMYKcmyk(0%, 7%, 59.2%, 16.5%)
CIE-LABlab(79.17, -8.33, 56.24)
CIE-LCHlch(79.17, 56.85, 98.42°)
OKLaboklab(81.76% -0.0268 0.1296)
OKLCHoklch(81.76% 0.132 101.7)
XYZxyz(49.3568, 55.2243, 17.0745)
Luminance0.5522 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C657 #5766D5
analogous
#D58757 #D5C657 #A5D557
triadic
#D5C657 #57D5C6 #C657D5
tetradic
#D5C657 #57D587 #5766D5 #D557A5
square
#D5C657 #57D587 #5766D5 #D557A5
split-complementary
#D5C657 #57A5D5 #8757D5
monochromatic
#8E8124 #BFAE30 #D5C657 #E1D788 #EDE7B9

Accessibility & contrast

On white

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

On black

12.04
#D5C657 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C657
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C657#FFFFFF#000000##000000
##D5C6571.001.7412.0412.04
#FFFFFF1.741.0021.0021.00
#00000012.0421.001.001.00
##00000012.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5c657;
/* rgb */ color: rgb(213, 198, 87);
/* oklch */ color: oklch(81.8% 0.132 101.7);
Tailwind
colors: {
  custom: {
    50: '#e5d78a',
    500: '#d5c657',
    950: '#000000',
  },
}
SCSS
$custom: #d5c657;
$custom-light: #e5d78a;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c657",
  "rgb": {
    "r": 213,
    "g": 198,
    "b": 87
  },
  "hsl": {
    "h": 52.857,
    "s": 60,
    "l": 58.824
  },
  "oklch": {
    "l": 0.81758,
    "c": 0.13235,
    "h": 101.7
  },
  "luminance": 0.55222
}

Semantic roles & 50–950 ramp

primary
#D5C657
secondary
#3C4794
accent
#58E345
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D5C657

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

Preview Lab → · Contrast checker → · Palette generator →

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