#D8CD92#D8CD92

#D8CD92 is a very light, moderate yellow. Relative luminance 0.603; OKLCH L 84.3% C 0.078 H 98.9°. Best body text is #000000 at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#D8CD92
RGBrgb(216, 205, 146)
HSLhsl(51, 47%, 71%)
HSVhsv(51, 32%, 85%)
CMYKcmyk(0%, 5.1%, 32.4%, 15.3%)
CIE-LABlab(82.02, -5.00, 30.81)
CIE-LCHlch(82.02, 31.21, 99.21°)
OKLaboklab(84.33% -0.012 0.0768)
OKLCHoklch(84.33% 0.078 98.9)
XYZxyz(55.3391, 60.3383, 35.9199)
Luminance0.6034 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CD92 #929DD8
analogous
#D8AA92 #D8CD92 #C0D892
triadic
#D8CD92 #92D8CD #CD92D8
tetradic
#D8CD92 #92D8AA #929DD8 #D892C0
square
#D8CD92 #92D8AA #929DD8 #D892C0
split-complementary
#D8CD92 #92C0D8 #AA92D8
monochromatic
#B09F3F #C8B865 #D8CD92 #E8E2BF #F7F5E8

Accessibility & contrast

On white

1.61
#D8CD92 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.07
#D8CD92 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CD92
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CD92#FFFFFF#000000##000000
##D8CD921.001.6113.0713.07
#FFFFFF1.611.0021.0021.00
#00000013.0721.001.001.00
##00000013.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C98E
Deuteranopia (green-blind)
#DCCE94
Tritanopia (blue-blind)
#E2C5BE
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d8cd92;
/* rgb */ color: rgb(216, 205, 146);
/* oklch */ color: oklch(84.3% 0.078 98.9);
Tailwind
colors: {
  custom: {
    50: '#e5dcb2',
    500: '#d8cd92',
    950: '#000000',
  },
}
SCSS
$custom: #d8cd92;
$custom-light: #e5dcb2;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cd92",
  "rgb": {
    "r": 216,
    "g": 205,
    "b": 146
  },
  "hsl": {
    "h": 50.571,
    "s": 47.297,
    "l": 70.98
  },
  "oklch": {
    "l": 0.84328,
    "c": 0.07776,
    "h": 98.9
  },
  "luminance": 0.60337
}

Semantic roles & 50–950 ramp

primary
#D8CD92
secondary
#5F6CAF
accent
#42BB2B
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#161511
muted
#848481

Preview Lab

Preview with #D8CD92

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

Preview Lab → · Contrast checker → · Palette generator →

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