#D4C856#D4C856

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

Color values

HEX#D4C856
RGBrgb(212, 200, 86)
HSLhsl(54, 59%, 58%)
HSVhsv(54, 59%, 83%)
CMYKcmyk(0%, 5.7%, 59.4%, 16.9%)
CIE-LABlab(79.60, -9.84, 57.14)
CIE-LCHlch(79.60, 57.98, 99.77°)
OKLaboklab(82.08% -0.0311 0.1314)
OKLCHoklch(82.08% 0.135 103.3)
XYZxyz(49.4871, 55.9793, 17.0006)
Luminance0.5598 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C856 #5662D4
analogous
#D48956 #D4C856 #A1D456
triadic
#D4C856 #56D4C8 #C856D4
tetradic
#D4C856 #56D489 #5662D4 #D456A1
square
#D4C856 #56D489 #5662D4 #D456A1
split-complementary
#D4C856 #56A1D4 #8956D4
monochromatic
#8C8224 #BDAF30 #D4C856 #E0D887 #EDE8B8

Accessibility & contrast

On white

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

On black

12.20
#D4C856 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C856
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C856#FFFFFF#000000##000000
##D4C8561.001.7212.2012.20
#FFFFFF1.721.0021.0021.00
#00000012.2021.001.001.00
##00000012.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4c856;
/* rgb */ color: rgb(212, 200, 86);
/* oklch */ color: oklch(82.1% 0.135 103.3);
Tailwind
colors: {
  custom: {
    50: '#e4d88a',
    500: '#d4c856',
    950: '#000000',
  },
}
SCSS
$custom: #d4c856;
$custom-light: #e4d88a;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c856",
  "rgb": {
    "r": 212,
    "g": 200,
    "b": 86
  },
  "hsl": {
    "h": 54.286,
    "s": 59.434,
    "l": 58.431
  },
  "oklch": {
    "l": 0.82077,
    "c": 0.13507,
    "h": 103.3
  },
  "luminance": 0.55977
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D4C856

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

Preview Lab → · Contrast checker → · Palette generator →

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