#D2CE7D#D2CE7D

#D2CE7D is a very light, moderate yellow. Relative luminance 0.593; OKLCH L 83.7% C 0.103 H 106.0°. Best body text is #000000 at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#D2CE7D
RGBrgb(210, 206, 125)
HSLhsl(57, 49%, 66%)
HSVhsv(57, 40%, 82%)
CMYKcmyk(0%, 1.9%, 40.5%, 17.6%)
CIE-LABlab(81.47, -10.27, 40.73)
CIE-LCHlch(81.47, 42.01, 104.15°)
OKLaboklab(83.67% -0.0283 0.099)
OKLCHoklch(83.67% 0.103 106)
XYZxyz(52.3522, 59.3262, 28.0914)
Luminance0.5933 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CE7D #7D81D2
analogous
#D2A37D #D2CE7D #ABD27D
triadic
#D2CE7D #7DD2CE #CE7DD2
tetradic
#D2CE7D #7DD2A3 #7D81D2 #D27DAB
square
#D2CE7D #7DD2A3 #7D81D2 #D27DAB
split-complementary
#D2CE7D #7DABD2 #A37DD2
monochromatic
#9E9937 #C2BD50 #D2CE7D #E2DFAA #F1F0D8

Accessibility & contrast

On white

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

On black

12.87
#D2CE7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CE7D
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CE7D#FFFFFF#000000##000000
##D2CE7D1.001.6312.8712.87
#FFFFFF1.631.0021.0021.00
#00000012.8721.001.001.00
##00000012.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC877
Deuteranopia (green-blind)
#DDCC80
Tritanopia (blue-blind)
#DDC4BA
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d2ce7d;
/* rgb */ color: rgb(210, 206, 125);
/* oklch */ color: oklch(83.7% 0.103 106.0);
Tailwind
colors: {
  custom: {
    50: '#e1dca4',
    500: '#d2ce7d',
    950: '#000000',
  },
}
SCSS
$custom: #d2ce7d;
$custom-light: #e1dca4;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ce7d",
  "rgb": {
    "r": 210,
    "g": 206,
    "b": 125
  },
  "hsl": {
    "h": 57.176,
    "s": 48.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.83668,
    "c": 0.10296,
    "h": 106
  },
  "luminance": 0.59325
}

Semantic roles & 50–950 ramp

primary
#D2CE7D
secondary
#5054A3
accent
#31BC2A
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15150F
muted
#848480

Preview Lab

Preview with #D2CE7D

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

Preview Lab → · Contrast checker → · Palette generator →

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