#DCC97E#DCC97E

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

Color values

HEX#DCC97E
RGBrgb(220, 201, 126)
HSLhsl(48, 57%, 68%)
HSVhsv(48, 43%, 86%)
CMYKcmyk(0%, 8.6%, 42.7%, 13.7%)
CIE-LABlab(81.01, -3.62, 39.82)
CIE-LCHlch(81.01, 39.99, 95.19°)
OKLaboklab(83.51% -0.0095 0.0969)
OKLCHoklch(83.51% 0.097 95.6)
XYZxyz(54.1691, 58.4972, 28.1723)
Luminance0.5849 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC97E #7E91DC
analogous
#DC9A7E #DCC97E #C0DC7E
triadic
#DCC97E #7EDCC9 #C97EDC
tetradic
#DCC97E #7EDC9A #7E91DC #DC7EC0
square
#DCC97E #7EDC9A #7E91DC #DC7EC0
split-complementary
#DCC97E #7EC0DC #9A7EDC
monochromatic
#B09630 #CFB54E #DCC97E #E9DDAE #F6F1DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCC97E#FFFFFF#000000##000000
##DCC97E1.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)
#D7C678
Deuteranopia (green-blind)
#DCCC81
Tritanopia (blue-blind)
#E9BFB6
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #dcc97e;
/* rgb */ color: rgb(220, 201, 126);
/* oklch */ color: oklch(83.5% 0.097 95.6);
Tailwind
colors: {
  custom: {
    50: '#e8d9a4',
    500: '#dcc97e',
    950: '#000000',
  },
}
SCSS
$custom: #dcc97e;
$custom-light: #e8d9a4;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc97e",
  "rgb": {
    "r": 220,
    "g": 201,
    "b": 126
  },
  "hsl": {
    "h": 47.872,
    "s": 57.317,
    "l": 67.843
  },
  "oklch": {
    "l": 0.83511,
    "c": 0.09736,
    "h": 95.6
  },
  "luminance": 0.58495
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DCC97E

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

Preview Lab → · Contrast checker → · Palette generator →

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