#D4C557#D4C557

#D4C557 is a light, vivid yellow. Relative luminance 0.546; OKLCH L 81.5% C 0.131 H 101.6°. Best body text is #000000 at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#D4C557
RGBrgb(212, 197, 87)
HSLhsl(53, 59%, 59%)
HSVhsv(53, 59%, 83%)
CMYKcmyk(0%, 7.1%, 59%, 16.9%)
CIE-LABlab(78.82, -8.23, 55.82)
CIE-LCHlch(78.82, 56.43, 98.39°)
OKLaboklab(81.46% -0.0264 0.1288)
OKLCHoklch(81.46% 0.131 101.6)
XYZxyz(48.8397, 54.6196, 16.9850)
Luminance0.5462 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C557 #5766D4
analogous
#D48657 #D4C557 #A4D457
triadic
#D4C557 #57D4C5 #C557D4
tetradic
#D4C557 #57D486 #5766D4 #D457A4
square
#D4C557 #57D486 #5766D4 #D457A4
split-complementary
#D4C557 #57A4D4 #8657D4
monochromatic
#8D8024 #BDAC30 #D4C557 #E0D688 #EDE7B8

Accessibility & contrast

On white

1.76
#D4C557 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.92
#D4C557 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C557
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C557#FFFFFF#000000##000000
##D4C5571.001.7611.9211.92
#FFFFFF1.761.0021.0021.00
#00000011.9221.001.001.00
##00000011.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF4B
Deuteranopia (green-blind)
#DAC65D
Tritanopia (blue-blind)
#E3B8AD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d4c557;
/* rgb */ color: rgb(212, 197, 87);
/* oklch */ color: oklch(81.5% 0.131 101.6);
Tailwind
colors: {
  custom: {
    50: '#e4d68a',
    500: '#d4c557',
    950: '#000000',
  },
}
SCSS
$custom: #d4c557;
$custom-light: #e4d68a;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c557",
  "rgb": {
    "r": 212,
    "g": 197,
    "b": 87
  },
  "hsl": {
    "h": 52.8,
    "s": 59.242,
    "l": 58.627
  },
  "oklch": {
    "l": 0.8146,
    "c": 0.13145,
    "h": 101.6
  },
  "luminance": 0.54618
}

Semantic roles & 50–950 ramp

primary
#D4C557
secondary
#3D4793
accent
#58E245
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D4C557

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

Preview Lab → · Contrast checker → · Palette generator →

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