#D4CA54#D4CA54

#D4CA54 is a very light, vivid yellow. Relative luminance 0.569; OKLCH L 82.5% C 0.139 H 104.5°. Best body text is #000000 at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#D4CA54
RGBrgb(212, 202, 84)
HSLhsl(55, 60%, 58%)
HSVhsv(55, 60%, 83%)
CMYKcmyk(0%, 4.7%, 60.4%, 16.9%)
CIE-LABlab(80.11, -10.99, 58.57)
CIE-LCHlch(80.11, 59.59, 100.63°)
OKLaboklab(82.48% -0.0346 0.1342)
OKLCHoklch(82.48% 0.139 104.5)
XYZxyz(49.8739, 56.8800, 16.7376)
Luminance0.5688 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CA54 #545ED4
analogous
#D48A54 #D4CA54 #9ED454
triadic
#D4CA54 #54D4CA #CA54D4
tetradic
#D4CA54 #54D48A #545ED4 #D4549E
square
#D4CA54 #54D48A #545ED4 #D4549E
split-complementary
#D4CA54 #549ED4 #8A54D4
monochromatic
#8B8323 #BCB12F #D4CA54 #E0D985 #EDE8B6

Accessibility & contrast

On white

1.70
#D4CA54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.38
#D4CA54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4CA54
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4CA54#FFFFFF#000000##000000
##D4CA541.001.7012.3812.38
#FFFFFF1.701.0021.0021.00
#00000012.3821.001.001.00
##00000012.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC347
Deuteranopia (green-blind)
#DEC95B
Tritanopia (blue-blind)
#E3BDB1
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d4ca54;
/* rgb */ color: rgb(212, 202, 84);
/* oklch */ color: oklch(82.5% 0.139 104.5);
Tailwind
colors: {
  custom: {
    50: '#e4d989',
    500: '#d4ca54',
    950: '#000000',
  },
}
SCSS
$custom: #d4ca54;
$custom-light: #e4d989;
$custom-dark: #000000;
JSON
{
  "hex": "#d4ca54",
  "rgb": {
    "r": 212,
    "g": 202,
    "b": 84
  },
  "hsl": {
    "h": 55.313,
    "s": 59.813,
    "l": 58.039
  },
  "oklch": {
    "l": 0.82477,
    "c": 0.13863,
    "h": 104.5
  },
  "luminance": 0.56878
}

Semantic roles & 50–950 ramp

primary
#D4CA54
secondary
#3B4291
accent
#51E345
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D4CA54

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

Preview Lab → · Contrast checker → · Palette generator →

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