#D2CD92#D2CD92

#D2CD92 is a very light, moderate yellow. Relative luminance 0.594; OKLCH L 83.8% C 0.077 H 103.8°. Best body text is #000000 at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#D2CD92
RGBrgb(210, 205, 146)
HSLhsl(55, 42%, 70%)
HSVhsv(55, 30%, 82%)
CMYKcmyk(0%, 2.4%, 30.5%, 17.6%)
CIE-LABlab(81.53, -7.32, 30.07)
CIE-LCHlch(81.53, 30.95, 103.67°)
OKLaboklab(83.82% -0.0185 0.0751)
OKLCHoklch(83.82% 0.077 103.8)
XYZxyz(53.5984, 59.4407, 35.8383)
Luminance0.5944 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CD92 #9297D2
analogous
#D2AD92 #D2CD92 #B7D292
triadic
#D2CD92 #92D2CD #CD92D2
tetradic
#D2CD92 #92D2AD #9297D2 #D292B7
square
#D2CD92 #92D2AD #9297D2 #D292B7
split-complementary
#D2CD92 #92B7D2 #AD92D2
monochromatic
#A59E44 #C0B967 #D2CD92 #E4E1BD #F6F5E9

Accessibility & contrast

On white

1.63
#D2CD92 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.89
#D2CD92 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CD92
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CD92#FFFFFF#000000##000000
##D2CD921.001.6312.8912.89
#FFFFFF1.631.0021.0021.00
#00000012.8921.001.001.00
##00000012.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C98E
Deuteranopia (green-blind)
#D9CC94
Tritanopia (blue-blind)
#DBC5BE
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d2cd92;
/* rgb */ color: rgb(210, 205, 146);
/* oklch */ color: oklch(83.8% 0.077 103.8);
Tailwind
colors: {
  custom: {
    50: '#e0dcb2',
    500: '#d2cd92',
    950: '#000000',
  },
}
SCSS
$custom: #d2cd92;
$custom-light: #e0dcb2;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cd92",
  "rgb": {
    "r": 210,
    "g": 205,
    "b": 146
  },
  "hsl": {
    "h": 55.313,
    "s": 41.558,
    "l": 69.804
  },
  "oklch": {
    "l": 0.83823,
    "c": 0.07735,
    "h": 103.8
  },
  "luminance": 0.5944
}

Semantic roles & 50–950 ramp

primary
#D2CD92
secondary
#6066A8
accent
#3BB531
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151511
muted
#848481

Preview Lab

Preview with #D2CD92

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

Preview Lab → · Contrast checker → · Palette generator →

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