#D4C756#D4C756

#D4C756 is a light, vivid yellow. Relative luminance 0.555; OKLCH L 81.9% C 0.134 H 102.8°. Best body text is #000000 at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#D4C756
RGBrgb(212, 199, 86)
HSLhsl(54, 59%, 58%)
HSVhsv(54, 59%, 83%)
CMYKcmyk(0%, 6.1%, 59.4%, 16.9%)
CIE-LABlab(79.34, -9.33, 56.84)
CIE-LCHlch(79.34, 57.60, 99.32°)
OKLaboklab(81.87% -0.0297 0.1308)
OKLCHoklch(81.87% 0.134 102.8)
XYZxyz(49.2563, 55.5176, 16.9237)
Luminance0.5552 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C756 #5663D4
analogous
#D48856 #D4C756 #A2D456
triadic
#D4C756 #56D4C7 #C756D4
tetradic
#D4C756 #56D488 #5663D4 #D456A2
square
#D4C756 #56D488 #5663D4 #D456A2
split-complementary
#D4C756 #56A2D4 #8856D4
monochromatic
#8C8124 #BDAE30 #D4C756 #E0D787 #EDE7B8

Accessibility & contrast

On white

1.74
#D4C756 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.10
#D4C756 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C756
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C756#FFFFFF#000000##000000
##D4C7561.001.7412.1012.10
#FFFFFF1.741.0021.0021.00
#00000012.1021.001.001.00
##00000012.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C14A
Deuteranopia (green-blind)
#DCC75C
Tritanopia (blue-blind)
#E3BAAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d4c756;
/* rgb */ color: rgb(212, 199, 86);
/* oklch */ color: oklch(81.9% 0.134 102.8);
Tailwind
colors: {
  custom: {
    50: '#e4d78a',
    500: '#d4c756',
    950: '#000000',
  },
}
SCSS
$custom: #d4c756;
$custom-light: #e4d78a;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c756",
  "rgb": {
    "r": 212,
    "g": 199,
    "b": 86
  },
  "hsl": {
    "h": 53.81,
    "s": 59.434,
    "l": 58.431
  },
  "oklch": {
    "l": 0.81868,
    "c": 0.13414,
    "h": 102.8
  },
  "luminance": 0.55516
}

Semantic roles & 50–950 ramp

primary
#D4C756
secondary
#3C4592
accent
#55E345
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D4C756

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

Preview Lab → · Contrast checker → · Palette generator →

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