#D2CD90#D2CD90

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

Color values

HEX#D2CD90
RGBrgb(210, 205, 144)
HSLhsl(55, 42%, 69%)
HSVhsv(55, 31%, 82%)
CMYKcmyk(0%, 2.4%, 31.4%, 17.6%)
CIE-LABlab(81.50, -7.57, 31.06)
CIE-LCHlch(81.50, 31.97, 103.69°)
OKLaboklab(83.79% -0.0193 0.0774)
OKLCHoklch(83.79% 0.08 104)
XYZxyz(53.4441, 59.3790, 35.0261)
Luminance0.5938 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CD90 #9095D2
analogous
#D2AC90 #D2CD90 #B6D290
triadic
#D2CD90 #90D2CD #CD90D2
tetradic
#D2CD90 #90D2AC #9095D2 #D290B6
square
#D2CD90 #90D2AC #9095D2 #D290B6
split-complementary
#D2CD90 #90B6D2 #AC90D2
monochromatic
#A59D43 #C0B964 #D2CD90 #E4E1BC #F5F4E7

Accessibility & contrast

On white

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

On black

12.88
#D2CD90 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CD90
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CD90#FFFFFF#000000##000000
##D2CD901.001.6312.8812.88
#FFFFFF1.631.0021.0021.00
#00000012.8821.001.001.00
##00000012.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C98C
Deuteranopia (green-blind)
#DACC92
Tritanopia (blue-blind)
#DCC5BD
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d2cd90;
/* rgb */ color: rgb(210, 205, 144);
/* oklch */ color: oklch(83.8% 0.080 104.0);
Tailwind
colors: {
  custom: {
    50: '#e0dcb1',
    500: '#d2cd90',
    950: '#000000',
  },
}
SCSS
$custom: #d2cd90;
$custom-light: #e0dcb1;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cd90",
  "rgb": {
    "r": 210,
    "g": 205,
    "b": 144
  },
  "hsl": {
    "h": 55.455,
    "s": 42.308,
    "l": 69.412
  },
  "oklch": {
    "l": 0.83786,
    "c": 0.07978,
    "h": 104
  },
  "luminance": 0.59378
}

Semantic roles & 50–950 ramp

primary
#D2CD90
secondary
#5E64A8
accent
#3AB530
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151510
muted
#848481

Preview Lab

Preview with #D2CD90

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

Preview Lab → · Contrast checker → · Palette generator →

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