#DCC97D#DCC97D

#DCC97D is a very light, moderate yellow. Relative luminance 0.585; OKLCH L 83.5% C 0.098 H 95.8°. Best body text is #000000 at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#DCC97D
RGBrgb(220, 201, 125)
HSLhsl(48, 58%, 68%)
HSVhsv(48, 43%, 86%)
CMYKcmyk(0%, 8.6%, 43.2%, 13.7%)
CIE-LABlab(81.00, -3.72, 40.31)
CIE-LCHlch(81.00, 40.48, 95.27°)
OKLaboklab(83.5% -0.0099 0.0979)
OKLCHoklch(83.5% 0.098 95.8)
XYZxyz(54.1049, 58.4715, 27.8342)
Luminance0.5847 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC97D #7D90DC
analogous
#DC997D #DCC97D #BFDC7D
triadic
#DCC97D #7DDCC9 #C97DDC
tetradic
#DCC97D #7DDC99 #7D90DC #DC7DBF
square
#DCC97D #7DDC99 #7D90DC #DC7DBF
split-complementary
#DCC97D #7DBFDC #997DDC
monochromatic
#AF962F #CFB54D #DCC97D #E9DDAD #F6F1DD

Accessibility & contrast

On white

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

On black

12.69
#DCC97D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC97D
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC97D#FFFFFF#000000##000000
##DCC97D1.001.6512.6912.69
#FFFFFF1.651.0021.0021.00
#00000012.6921.001.001.00
##00000012.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C677
Deuteranopia (green-blind)
#DCCC80
Tritanopia (blue-blind)
#E9BEB6
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #dcc97d;
/* rgb */ color: rgb(220, 201, 125);
/* oklch */ color: oklch(83.5% 0.098 95.8);
Tailwind
colors: {
  custom: {
    50: '#e8d9a4',
    500: '#dcc97d',
    950: '#000000',
  },
}
SCSS
$custom: #dcc97d;
$custom-light: #e8d9a4;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc97d",
  "rgb": {
    "r": 220,
    "g": 201,
    "b": 125
  },
  "hsl": {
    "h": 48,
    "s": 57.576,
    "l": 67.647
  },
  "oklch": {
    "l": 0.83496,
    "c": 0.09844,
    "h": 95.8
  },
  "luminance": 0.5847
}

Semantic roles & 50–950 ramp

primary
#DCC97D
secondary
#4C60B2
accent
#41C520
background
#FEFEFC
surface
#FDFBF6
border
#D5D4D0
text
#16140F
muted
#848380

Preview Lab

Preview with #DCC97D

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

Preview Lab → · Contrast checker → · Palette generator →

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