#D4C554#D4C554

#D4C554 is a light, vivid yellow. Relative luminance 0.546; OKLCH L 81.4% C 0.134 H 101.8°. Best body text is #000000 at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#D4C554
RGBrgb(212, 197, 84)
HSLhsl(53, 60%, 58%)
HSVhsv(53, 60%, 83%)
CMYKcmyk(0%, 7.1%, 60.4%, 16.9%)
CIE-LABlab(78.79, -8.44, 57.13)
CIE-LCHlch(78.79, 57.75, 98.41°)
OKLaboklab(81.43% -0.0274 0.1312)
OKLCHoklch(81.43% 0.134 101.8)
XYZxyz(48.7197, 54.5716, 16.3528)
Luminance0.5457 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C554 #5463D4
analogous
#D48554 #D4C554 #A3D454
triadic
#D4C554 #54D4C5 #C554D4
tetradic
#D4C554 #54D485 #5463D4 #D454A3
square
#D4C554 #54D485 #5463D4 #D454A3
split-complementary
#D4C554 #54A3D4 #8554D4
monochromatic
#8B7F23 #BCAB2F #D4C554 #E0D685 #EDE6B6

Accessibility & contrast

On white

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

On black

11.91
#D4C554 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C554
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C554#FFFFFF#000000##000000
##D4C5541.001.7611.9111.91
#FFFFFF1.761.0021.0021.00
#00000011.9121.001.001.00
##00000011.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4c554;
/* rgb */ color: rgb(212, 197, 84);
/* oklch */ color: oklch(81.4% 0.134 101.8);
Tailwind
colors: {
  custom: {
    50: '#e4d688',
    500: '#d4c554',
    950: '#000000',
  },
}
SCSS
$custom: #d4c554;
$custom-light: #e4d688;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c554",
  "rgb": {
    "r": 212,
    "g": 197,
    "b": 84
  },
  "hsl": {
    "h": 52.969,
    "s": 59.813,
    "l": 58.039
  },
  "oklch": {
    "l": 0.81429,
    "c": 0.13399,
    "h": 101.8
  },
  "luminance": 0.5457
}

Semantic roles & 50–950 ramp

primary
#D4C554
secondary
#3B4591
accent
#57E345
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D4C554

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

Preview Lab → · Contrast checker → · Palette generator →

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