#DCC97F#DCC97F

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

Color values

HEX#DCC97F
RGBrgb(220, 201, 127)
HSLhsl(48, 57%, 68%)
HSVhsv(48, 42%, 86%)
CMYKcmyk(0%, 8.6%, 42.3%, 13.7%)
CIE-LABlab(81.03, -3.51, 39.33)
CIE-LCHlch(81.03, 39.49, 95.11°)
OKLaboklab(83.53% -0.0091 0.0958)
OKLCHoklch(83.53% 0.096 95.4)
XYZxyz(54.2339, 58.5231, 28.5138)
Luminance0.5852 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC97F #7F92DC
analogous
#DC9A7F #DCC97F #C0DC7F
triadic
#DCC97F #7FDCC9 #C97FDC
tetradic
#DCC97F #7FDC9A #7F92DC #DC7FC0
square
#DCC97F #7FDC9A #7F92DC #DC7FC0
split-complementary
#DCC97F #7FC0DC #9A7FDC
monochromatic
#B09630 #CFB54F #DCC97F #E9DDAF #F6F2DF

Accessibility & contrast

On white

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

On black

12.70
#DCC97F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC97F
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC97F#FFFFFF#000000##000000
##DCC97F1.001.6512.7012.70
#FFFFFF1.651.0021.0021.00
#00000012.7021.001.001.00
##00000012.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C679
Deuteranopia (green-blind)
#DCCC82
Tritanopia (blue-blind)
#E9BFB7
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #dcc97f;
/* rgb */ color: rgb(220, 201, 127);
/* oklch */ color: oklch(83.5% 0.096 95.4);
Tailwind
colors: {
  custom: {
    50: '#e8d9a5',
    500: '#dcc97f',
    950: '#000000',
  },
}
SCSS
$custom: #dcc97f;
$custom-light: #e8d9a5;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc97f",
  "rgb": {
    "r": 220,
    "g": 201,
    "b": 127
  },
  "hsl": {
    "h": 47.742,
    "s": 57.055,
    "l": 68.039
  },
  "oklch": {
    "l": 0.83527,
    "c": 0.09626,
    "h": 95.4
  },
  "luminance": 0.58521
}

Semantic roles & 50–950 ramp

primary
#DCC97F
secondary
#4D62B2
accent
#42C521
background
#FEFEFC
surface
#FDFBF6
border
#D5D4D0
text
#16140F
muted
#848380

Preview Lab

Preview with #DCC97F

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

Preview Lab → · Contrast checker → · Palette generator →

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