#D2C97E#D2C97E

#D2C97E is a very light, moderate yellow. Relative luminance 0.570; OKLCH L 82.6% C 0.096 H 102.3°. Best body text is #000000 at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#D2C97E
RGBrgb(210, 201, 126)
HSLhsl(54, 48%, 66%)
HSVhsv(54, 40%, 82%)
CMYKcmyk(0%, 4.3%, 40%, 17.6%)
CIE-LABlab(80.17, -7.61, 38.57)
CIE-LCHlch(80.17, 39.32, 101.16°)
OKLaboklab(82.64% -0.0206 0.0941)
OKLCHoklch(82.64% 0.096 102.3)
XYZxyz(51.2318, 56.9827, 28.0346)
Luminance0.5698 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C97E #7E87D2
analogous
#D29F7E #D2C97E #B1D27E
triadic
#D2C97E #7ED2C9 #C97ED2
tetradic
#D2C97E #7ED29F #7E87D2 #D27EB1
square
#D2C97E #7ED29F #7E87D2 #D27EB1
split-complementary
#D2C97E #7EB1D2 #9F7ED2
monochromatic
#9E9337 #C2B651 #D2C97E #E2DCAB #F2EFD9

Accessibility & contrast

On white

1.69
#D2C97E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.40
#D2C97E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C97E
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C97E#FFFFFF#000000##000000
##D2C97E1.001.6912.4012.40
#FFFFFF1.691.0021.0021.00
#00000012.4021.001.001.00
##00000012.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C478
Deuteranopia (green-blind)
#D9C981
Tritanopia (blue-blind)
#DEBFB6
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d2c97e;
/* rgb */ color: rgb(210, 201, 126);
/* oklch */ color: oklch(82.6% 0.096 102.3);
Tailwind
colors: {
  custom: {
    50: '#e1d9a4',
    500: '#d2c97e',
    950: '#000000',
  },
}
SCSS
$custom: #d2c97e;
$custom-light: #e1d9a4;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c97e",
  "rgb": {
    "r": 210,
    "g": 201,
    "b": 126
  },
  "hsl": {
    "h": 53.571,
    "s": 48.276,
    "l": 65.882
  },
  "oklch": {
    "l": 0.8264,
    "c": 0.09636,
    "h": 102.3
  },
  "luminance": 0.56981
}

Semantic roles & 50–950 ramp

primary
#D2C97E
secondary
#515AA3
accent
#3ABC2A
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #D2C97E

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

Preview Lab → · Contrast checker → · Palette generator →

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