#DCC97A#DCC97A

#DCC97A is a very light, moderate yellow. Relative luminance 0.584; OKLCH L 83.4% C 0.102 H 96.2°. Best body text is #000000 at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#DCC97A
RGBrgb(220, 201, 122)
HSLhsl(48, 58%, 67%)
HSVhsv(48, 45%, 86%)
CMYKcmyk(0%, 8.6%, 44.5%, 13.7%)
CIE-LABlab(80.96, -4.02, 41.77)
CIE-LCHlch(80.96, 41.96, 95.50°)
OKLaboklab(83.45% -0.0111 0.1011)
OKLCHoklch(83.45% 0.102 96.2)
XYZxyz(53.9161, 58.3960, 26.8401)
Luminance0.5839 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC97A #7A8DDC
analogous
#DC987A #DCC97A #BEDC7A
triadic
#DCC97A #7ADCC9 #C97ADC
tetradic
#DCC97A #7ADC98 #7A8DDC #DC7ABE
square
#DCC97A #7ADC98 #7A8DDC #DC7ABE
split-complementary
#DCC97A #7ABEDC #987ADC
monochromatic
#AE952E #CFB54A #DCC97A #E9DDAA #F6F0DB

Accessibility & contrast

On white

1.66
#DCC97A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.68
#DCC97A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC97A
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC97A#FFFFFF#000000##000000
##DCC97A1.001.6612.6812.68
#FFFFFF1.661.0021.0021.00
#00000012.6821.001.001.00
##00000012.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C574
Deuteranopia (green-blind)
#DDCC7D
Tritanopia (blue-blind)
#EABEB6
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #dcc97a;
/* rgb */ color: rgb(220, 201, 122);
/* oklch */ color: oklch(83.4% 0.102 96.2);
Tailwind
colors: {
  custom: {
    50: '#e8d9a2',
    500: '#dcc97a',
    950: '#000000',
  },
}
SCSS
$custom: #dcc97a;
$custom-light: #e8d9a2;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc97a",
  "rgb": {
    "r": 220,
    "g": 201,
    "b": 122
  },
  "hsl": {
    "h": 48.367,
    "s": 58.333,
    "l": 67.059
  },
  "oklch": {
    "l": 0.83449,
    "c": 0.10166,
    "h": 96.2
  },
  "luminance": 0.58394
}

Semantic roles & 50–950 ramp

primary
#DCC97A
secondary
#4A5EB0
accent
#40C620
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16140F
muted
#848380

Preview Lab

Preview with #DCC97A

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

Preview Lab → · Contrast checker → · Palette generator →

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