#D2C97D#D2C97D

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

Color values

HEX#D2C97D
RGBrgb(210, 201, 125)
HSLhsl(54, 49%, 66%)
HSVhsv(54, 40%, 82%)
CMYKcmyk(0%, 4.3%, 40.5%, 17.6%)
CIE-LABlab(80.16, -7.72, 39.06)
CIE-LCHlch(80.16, 39.82, 101.18°)
OKLaboklab(82.62% -0.021 0.0952)
OKLCHoklch(82.62% 0.097 102.4)
XYZxyz(51.1676, 56.9570, 27.6965)
Luminance0.5696 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C97D #7D86D2
analogous
#D29E7D #D2C97D #B0D27D
triadic
#D2C97D #7DD2C9 #C97DD2
tetradic
#D2C97D #7DD29E #7D86D2 #D27DB0
square
#D2C97D #7DD29E #7D86D2 #D27DB0
split-complementary
#D2C97D #7DB0D2 #9E7DD2
monochromatic
#9E9337 #C2B650 #D2C97D #E2DCAA #F1EFD8

Accessibility & contrast

On white

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

On black

12.39
#D2C97D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C97D
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C97D#FFFFFF#000000##000000
##D2C97D1.001.6912.3912.39
#FFFFFF1.691.0021.0021.00
#00000012.3921.001.001.00
##00000012.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2c97d;
/* rgb */ color: rgb(210, 201, 125);
/* oklch */ color: oklch(82.6% 0.097 102.4);
Tailwind
colors: {
  custom: {
    50: '#e1d9a4',
    500: '#d2c97d',
    950: '#000000',
  },
}
SCSS
$custom: #d2c97d;
$custom-light: #e1d9a4;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c97d",
  "rgb": {
    "r": 210,
    "g": 201,
    "b": 125
  },
  "hsl": {
    "h": 53.647,
    "s": 48.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.82624,
    "c": 0.09748,
    "h": 102.4
  },
  "luminance": 0.56956
}

Semantic roles & 50–950 ramp

primary
#D2C97D
secondary
#5059A3
accent
#39BC2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #D2C97D

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

Preview Lab → · Contrast checker → · Palette generator →

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