#D2CE87#D2CE87

#D2CE87 is a very light, moderate yellow. Relative luminance 0.596; OKLCH L 83.8% C 0.092 H 105.4°. Best body text is #000000 at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#D2CE87
RGBrgb(210, 206, 135)
HSLhsl(57, 45%, 68%)
HSVhsv(57, 36%, 82%)
CMYKcmyk(0%, 1.9%, 35.7%, 17.6%)
CIE-LABlab(81.62, -9.16, 35.85)
CIE-LCHlch(81.62, 37.00, 104.33°)
OKLaboklab(83.83% -0.0244 0.0883)
OKLCHoklch(83.83% 0.092 105.4)
XYZxyz(53.0235, 59.5947, 31.6267)
Luminance0.5959 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CE87 #878BD2
analogous
#D2A887 #D2CE87 #B0D287
triadic
#D2CE87 #87D2CE #CE87D2
tetradic
#D2CE87 #87D2A8 #878BD2 #D287B0
square
#D2CE87 #87D2A8 #878BD2 #D287B0
split-complementary
#D2CE87 #87B0D2 #A887D2
monochromatic
#A29C3D #C1BC5A #D2CE87 #E3E0B4 #F3F2E0

Accessibility & contrast

On white

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

On black

12.92
#D2CE87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CE87
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CE87#FFFFFF#000000##000000
##D2CE871.001.6312.9212.92
#FFFFFF1.631.0021.0021.00
#00000012.9221.001.001.00
##00000012.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC982
Deuteranopia (green-blind)
#DCCC8A
Tritanopia (blue-blind)
#DCC5BC
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d2ce87;
/* rgb */ color: rgb(210, 206, 135);
/* oklch */ color: oklch(83.8% 0.092 105.4);
Tailwind
colors: {
  custom: {
    50: '#e1dcab',
    500: '#d2ce87',
    950: '#000000',
  },
}
SCSS
$custom: #d2ce87;
$custom-light: #e1dcab;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ce87",
  "rgb": {
    "r": 210,
    "g": 206,
    "b": 135
  },
  "hsl": {
    "h": 56.8,
    "s": 45.455,
    "l": 67.647
  },
  "oklch": {
    "l": 0.83832,
    "c": 0.0916,
    "h": 105.4
  },
  "luminance": 0.59594
}

Semantic roles & 50–950 ramp

primary
#D2CE87
secondary
#565BA7
accent
#34B92D
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #D2CE87

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

Preview Lab → · Contrast checker → · Palette generator →

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