#D4CD92#D4CD92

#D4CD92 is a very light, moderate yellow. Relative luminance 0.597; OKLCH L 84.0% C 0.077 H 102.2°. Best body text is #000000 at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#D4CD92
RGBrgb(212, 205, 146)
HSLhsl(54, 43%, 70%)
HSVhsv(54, 31%, 83%)
CMYKcmyk(0%, 3.3%, 31.1%, 16.9%)
CIE-LABlab(81.69, -6.54, 30.32)
CIE-LCHlch(81.69, 31.01, 102.18°)
OKLaboklab(83.99% -0.0163 0.0757)
OKLCHoklch(83.99% 0.077 102.2)
XYZxyz(54.1715, 59.7362, 35.8651)
Luminance0.5974 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CD92 #9299D4
analogous
#D4AC92 #D4CD92 #BAD492
triadic
#D4CD92 #92D4CD #CD92D4
tetradic
#D4CD92 #92D4AC #9299D4 #D492BA
square
#D4CD92 #92D4AC #9299D4 #D492BA
split-complementary
#D4CD92 #92BAD4 #AC92D4
monochromatic
#A99E43 #C3B966 #D4CD92 #E5E1BE #F6F5E9

Accessibility & contrast

On white

1.62
#D4CD92 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.95
#D4CD92 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4CD92
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4CD92#FFFFFF#000000##000000
##D4CD921.001.6212.9512.95
#FFFFFF1.621.0021.0021.00
#00000012.9521.001.001.00
##00000012.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C98E
Deuteranopia (green-blind)
#DACD94
Tritanopia (blue-blind)
#DEC5BE
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d4cd92;
/* rgb */ color: rgb(212, 205, 146);
/* oklch */ color: oklch(84.0% 0.077 102.2);
Tailwind
colors: {
  custom: {
    50: '#e2dcb2',
    500: '#d4cd92',
    950: '#000000',
  },
}
SCSS
$custom: #d4cd92;
$custom-light: #e2dcb2;
$custom-dark: #000000;
JSON
{
  "hex": "#d4cd92",
  "rgb": {
    "r": 212,
    "g": 205,
    "b": 146
  },
  "hsl": {
    "h": 53.636,
    "s": 43.421,
    "l": 70.196
  },
  "oklch": {
    "l": 0.8399,
    "c": 0.07742,
    "h": 102.2
  },
  "luminance": 0.59735
}

Semantic roles & 50–950 ramp

primary
#D4CD92
secondary
#6068AA
accent
#3DB72F
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151511
muted
#848481

Preview Lab

Preview with #D4CD92

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

Preview Lab → · Contrast checker → · Palette generator →

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