#D4C558#D4C558

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

Color values

HEX#D4C558
RGBrgb(212, 197, 88)
HSLhsl(53, 59%, 59%)
HSVhsv(53, 58%, 83%)
CMYKcmyk(0%, 7.1%, 58.5%, 16.9%)
CIE-LABlab(78.83, -8.16, 55.38)
CIE-LCHlch(78.83, 55.98, 98.38°)
OKLaboklab(81.47% -0.0261 0.128)
OKLCHoklch(81.47% 0.131 101.5)
XYZxyz(48.8809, 54.6360, 17.2016)
Luminance0.5463 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C558 #5867D4
analogous
#D48758 #D4C558 #A5D458
triadic
#D4C558 #58D4C5 #C558D4
tetradic
#D4C558 #58D487 #5867D4 #D458A5
square
#D4C558 #58D487 #5867D4 #D458A5
split-complementary
#D4C558 #58A5D4 #8758D4
monochromatic
#8D8124 #BEAD31 #D4C558 #E1D689 #EDE7B9

Accessibility & contrast

On white

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

On black

11.93
#D4C558 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C558
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C558#FFFFFF#000000##000000
##D4C5581.001.7611.9311.93
#FFFFFF1.761.0021.0021.00
#00000011.9321.001.001.00
##00000011.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C04D
Deuteranopia (green-blind)
#DAC65E
Tritanopia (blue-blind)
#E3B9AD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d4c558;
/* rgb */ color: rgb(212, 197, 88);
/* oklch */ color: oklch(81.5% 0.131 101.5);
Tailwind
colors: {
  custom: {
    50: '#e4d68b',
    500: '#d4c558',
    950: '#000000',
  },
}
SCSS
$custom: #d4c558;
$custom-light: #e4d68b;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c558",
  "rgb": {
    "r": 212,
    "g": 197,
    "b": 88
  },
  "hsl": {
    "h": 52.742,
    "s": 59.048,
    "l": 58.824
  },
  "oklch": {
    "l": 0.81471,
    "c": 0.13059,
    "h": 101.5
  },
  "luminance": 0.54634
}

Semantic roles & 50–950 ramp

primary
#D4C558
secondary
#3D4793
accent
#59E246
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D4C558

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

Preview Lab → · Contrast checker → · Palette generator →

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