#D4C855#D4C855

#D4C855 is a very light, vivid yellow. Relative luminance 0.560; OKLCH L 82.1% C 0.136 H 103.4°. Best body text is #000000 at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#D4C855
RGBrgb(212, 200, 85)
HSLhsl(54, 60%, 58%)
HSVhsv(54, 60%, 83%)
CMYKcmyk(0%, 5.7%, 59.9%, 16.9%)
CIE-LABlab(79.59, -9.90, 57.57)
CIE-LCHlch(79.59, 58.41, 99.76°)
OKLaboklab(82.07% -0.0314 0.1322)
OKLCHoklch(82.07% 0.136 103.4)
XYZxyz(49.4471, 55.9633, 16.7899)
Luminance0.5596 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C855 #5561D4
analogous
#D48855 #D4C855 #A0D455
triadic
#D4C855 #55D4C8 #C855D4
tetradic
#D4C855 #55D488 #5561D4 #D455A0
square
#D4C855 #55D488 #5561D4 #D455A0
split-complementary
#D4C855 #55A0D4 #8855D4
monochromatic
#8B8223 #BCAF30 #D4C855 #E0D886 #EDE8B7

Accessibility & contrast

On white

1.72
#D4C855 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.19
#D4C855 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C855
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C855#FFFFFF#000000##000000
##D4C8551.001.7212.1912.19
#FFFFFF1.721.0021.0021.00
#00000012.1921.001.001.00
##00000012.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C248
Deuteranopia (green-blind)
#DCC85B
Tritanopia (blue-blind)
#E3BBAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d4c855;
/* rgb */ color: rgb(212, 200, 85);
/* oklch */ color: oklch(82.1% 0.136 103.4);
Tailwind
colors: {
  custom: {
    50: '#e4d889',
    500: '#d4c855',
    950: '#000000',
  },
}
SCSS
$custom: #d4c855;
$custom-light: #e4d889;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c855",
  "rgb": {
    "r": 212,
    "g": 200,
    "b": 85
  },
  "hsl": {
    "h": 54.331,
    "s": 59.624,
    "l": 58.235
  },
  "oklch": {
    "l": 0.82067,
    "c": 0.13591,
    "h": 103.4
  },
  "luminance": 0.55961
}

Semantic roles & 50–950 ramp

primary
#D4C855
secondary
#3C4491
accent
#54E345
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D4C855

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

Preview Lab → · Contrast checker → · Palette generator →

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