#D4C656#D4C656

#D4C656 is a light, vivid yellow. Relative luminance 0.551; OKLCH L 81.7% C 0.133 H 102.2°. Best body text is #000000 at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#D4C656
RGBrgb(212, 198, 86)
HSLhsl(53, 59%, 58%)
HSVhsv(53, 59%, 83%)
CMYKcmyk(0%, 6.6%, 59.4%, 16.9%)
CIE-LABlab(79.08, -8.82, 56.55)
CIE-LCHlch(79.08, 57.23, 98.86°)
OKLaboklab(81.66% -0.0282 0.1302)
OKLCHoklch(81.66% 0.133 102.2)
XYZxyz(49.0270, 55.0590, 16.8472)
Luminance0.5506 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C656 #5664D4
analogous
#D48756 #D4C656 #A3D456
triadic
#D4C656 #56D4C6 #C656D4
tetradic
#D4C656 #56D487 #5664D4 #D456A3
square
#D4C656 #56D487 #5664D4 #D456A3
split-complementary
#D4C656 #56A3D4 #8756D4
monochromatic
#8C8024 #BDAD30 #D4C656 #E0D687 #EDE7B8

Accessibility & contrast

On white

1.75
#D4C656 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.01
#D4C656 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C656
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C656#FFFFFF#000000##000000
##D4C6561.001.7512.0112.01
#FFFFFF1.751.0021.0021.00
#00000012.0121.001.001.00
##00000012.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C04A
Deuteranopia (green-blind)
#DBC75C
Tritanopia (blue-blind)
#E3B9AE
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d4c656;
/* rgb */ color: rgb(212, 198, 86);
/* oklch */ color: oklch(81.7% 0.133 102.2);
Tailwind
colors: {
  custom: {
    50: '#e4d78a',
    500: '#d4c656',
    950: '#000000',
  },
}
SCSS
$custom: #d4c656;
$custom-light: #e4d78a;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c656",
  "rgb": {
    "r": 212,
    "g": 198,
    "b": 86
  },
  "hsl": {
    "h": 53.333,
    "s": 59.434,
    "l": 58.431
  },
  "oklch": {
    "l": 0.81659,
    "c": 0.13321,
    "h": 102.2
  },
  "luminance": 0.55057
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D4C656

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

Preview Lab → · Contrast checker → · Palette generator →

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