#D2CD7B#D2CD7B

#D2CD7B is a very light, moderate yellow. Relative luminance 0.588; OKLCH L 83.4% C 0.104 H 105.4°. Best body text is #000000 at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#D2CD7B
RGBrgb(210, 205, 123)
HSLhsl(57, 49%, 65%)
HSVhsv(57, 41%, 82%)
CMYKcmyk(0%, 2.4%, 41.4%, 17.6%)
CIE-LABlab(81.18, -9.97, 41.37)
CIE-LCHlch(81.18, 42.55, 103.56°)
OKLaboklab(83.43% -0.0276 0.1003)
OKLCHoklch(83.43% 0.104 105.4)
XYZxyz(51.9858, 58.7956, 27.3453)
Luminance0.5879 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CD7B #7B80D2
analogous
#D2A27B #D2CD7B #ABD27B
triadic
#D2CD7B #7BD2CD #CD7BD2
tetradic
#D2CD7B #7BD2A2 #7B80D2 #D27BAB
square
#D2CD7B #7BD2A2 #7B80D2 #D27BAB
split-complementary
#D2CD7B #7BABD2 #A27BD2
monochromatic
#9D9736 #C2BC4D #D2CD7B #E2DEA9 #F1F0D6

Accessibility & contrast

On white

1.65
#D2CD7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.76
#D2CD7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CD7B
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CD7B#FFFFFF#000000##000000
##D2CD7B1.001.6512.7612.76
#FFFFFF1.651.0021.0021.00
#00000012.7621.001.001.00
##00000012.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC775
Deuteranopia (green-blind)
#DCCB7F
Tritanopia (blue-blind)
#DEC3B9
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d2cd7b;
/* rgb */ color: rgb(210, 205, 123);
/* oklch */ color: oklch(83.4% 0.104 105.4);
Tailwind
colors: {
  custom: {
    50: '#e1dca2',
    500: '#d2cd7b',
    950: '#000000',
  },
}
SCSS
$custom: #d2cd7b;
$custom-light: #e1dca2;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cd7b",
  "rgb": {
    "r": 210,
    "g": 205,
    "b": 123
  },
  "hsl": {
    "h": 56.552,
    "s": 49.153,
    "l": 65.294
  },
  "oklch": {
    "l": 0.83427,
    "c": 0.10405,
    "h": 105.4
  },
  "luminance": 0.58794
}

Semantic roles & 50–950 ramp

primary
#D2CD7B
secondary
#4F54A2
accent
#32BC29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150F
muted
#848480

Preview Lab

Preview with #D2CD7B

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

Preview Lab → · Contrast checker → · Palette generator →

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