#D4C985#D4C985

#D4C985 is a very light, moderate yellow. Relative luminance 0.575; OKLCH L 82.9% C 0.088 H 100.2°. Best body text is #000000 at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#D4C985
RGBrgb(212, 201, 133)
HSLhsl(52, 48%, 68%)
HSVhsv(52, 37%, 83%)
CMYKcmyk(0%, 5.2%, 37.3%, 16.9%)
CIE-LABlab(80.44, -6.04, 35.38)
CIE-LCHlch(80.44, 35.89, 99.69°)
OKLaboklab(82.93% -0.0156 0.0871)
OKLCHoklch(82.93% 0.088 100.2)
XYZxyz(52.2725, 57.4652, 30.5241)
Luminance0.5746 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C985 #8590D4
analogous
#D4A285 #D4C985 #B7D485
triadic
#D4C985 #85D4C9 #C985D4
tetradic
#D4C985 #85D4A2 #8590D4 #D485B7
square
#D4C985 #85D4A2 #8590D4 #D485B7
split-complementary
#D4C985 #85B7D4 #A285D4
monochromatic
#A5963A #C4B558 #D4C985 #E4DDB2 #F4F1E0

Accessibility & contrast

On white

1.68
#D4C985 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.49
#D4C985 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C985
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C985#FFFFFF#000000##000000
##D4C9851.001.6812.4912.49
#FFFFFF1.681.0021.0021.00
#00000012.4921.001.001.00
##00000012.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C580
Deuteranopia (green-blind)
#D9CA88
Tritanopia (blue-blind)
#DFC0B8
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d4c985;
/* rgb */ color: rgb(212, 201, 133);
/* oklch */ color: oklch(82.9% 0.088 100.2);
Tailwind
colors: {
  custom: {
    50: '#e2d9a9',
    500: '#d4c985',
    950: '#000000',
  },
}
SCSS
$custom: #d4c985;
$custom-light: #e2d9a9;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c985",
  "rgb": {
    "r": 212,
    "g": 201,
    "b": 133
  },
  "hsl": {
    "h": 51.646,
    "s": 47.879,
    "l": 67.647
  },
  "oklch": {
    "l": 0.82929,
    "c": 0.08849,
    "h": 100.2
  },
  "luminance": 0.57464
}

Semantic roles & 50–950 ramp

primary
#D4C985
secondary
#5460A9
accent
#3FBB2A
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#151410
muted
#848380

Preview Lab

Preview with #D4C985

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

Preview Lab → · Contrast checker → · Palette generator →

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