#D4CC85#D4CC85

#D4CC85 is a very light, moderate yellow. Relative luminance 0.589; OKLCH L 83.5% C 0.092 H 102.6°. Best body text is #000000 at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#D4CC85
RGBrgb(212, 204, 133)
HSLhsl(54, 48%, 68%)
HSVhsv(54, 37%, 83%)
CMYKcmyk(0%, 3.8%, 37.3%, 16.9%)
CIE-LABlab(81.22, -7.58, 36.40)
CIE-LCHlch(81.22, 37.18, 101.77°)
OKLaboklab(83.55% -0.0201 0.0895)
OKLCHoklch(83.55% 0.092 102.6)
XYZxyz(52.9787, 58.8776, 30.7595)
Luminance0.5888 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CC85 #858DD4
analogous
#D4A485 #D4CC85 #B4D485
triadic
#D4CC85 #85D4CC #CC85D4
tetradic
#D4CC85 #85D4A4 #858DD4 #D485B4
square
#D4CC85 #85D4A4 #858DD4 #D485B4
split-complementary
#D4CC85 #85B4D4 #A485D4
monochromatic
#A59A3A #C4B958 #D4CC85 #E4DFB2 #F4F2E0

Accessibility & contrast

On white

1.64
#D4CC85 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.78
#D4CC85 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4CC85
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4CC85#FFFFFF#000000##000000
##D4CC851.001.6412.7812.78
#FFFFFF1.641.0021.0021.00
#00000012.7821.001.001.00
##00000012.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C780
Deuteranopia (green-blind)
#DBCC88
Tritanopia (blue-blind)
#DFC3BA
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d4cc85;
/* rgb */ color: rgb(212, 204, 133);
/* oklch */ color: oklch(83.5% 0.092 102.6);
Tailwind
colors: {
  custom: {
    50: '#e2dba9',
    500: '#d4cc85',
    950: '#000000',
  },
}
SCSS
$custom: #d4cc85;
$custom-light: #e2dba9;
$custom-dark: #000000;
JSON
{
  "hex": "#d4cc85",
  "rgb": {
    "r": 212,
    "g": 204,
    "b": 133
  },
  "hsl": {
    "h": 53.924,
    "s": 47.879,
    "l": 67.647
  },
  "oklch": {
    "l": 0.8355,
    "c": 0.09167,
    "h": 102.6
  },
  "luminance": 0.58876
}

Semantic roles & 50–950 ramp

primary
#D4CC85
secondary
#545DA9
accent
#39BB2A
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#151510
muted
#848480

Preview Lab

Preview with #D4CC85

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

Preview Lab → · Contrast checker → · Palette generator →

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