#DCC98D#DCC98D

#DCC98D is a very light, moderate yellow. Relative luminance 0.589; OKLCH L 83.8% C 0.081 H 92.6°. Best body text is #000000 at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#DCC98D
RGBrgb(220, 201, 141)
HSLhsl(46, 53%, 71%)
HSVhsv(46, 36%, 86%)
CMYKcmyk(0%, 8.6%, 35.9%, 13.7%)
CIE-LABlab(81.24, -1.97, 32.43)
CIE-LCHlch(81.24, 32.49, 93.47°)
OKLaboklab(83.77% -0.0036 0.0805)
OKLCHoklch(83.77% 0.081 92.6)
XYZxyz(55.2105, 58.9138, 33.6573)
Luminance0.5891 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC98D #8DA0DC
analogous
#DCA18D #DCC98D #C7DC8D
triadic
#DCC98D #8DDCC9 #C98DDC
tetradic
#DCC98D #8DDCA1 #8DA0DC #DC8DC7
square
#DCC98D #8DDCA1 #8DA0DC #DC8DC7
split-complementary
#DCC98D #8DC7DC #A18DDC
monochromatic
#B79838 #CEB35E #DCC98D #EADFBC #F8F4E8

Accessibility & contrast

On white

1.64
#DCC98D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.78
#DCC98D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC98D
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC98D#FFFFFF#000000##000000
##DCC98D1.001.6412.7812.78
#FFFFFF1.641.0021.0021.00
#00000012.7821.001.001.00
##00000012.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C689
Deuteranopia (green-blind)
#DBCC8F
Tritanopia (blue-blind)
#E8C0BA
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #dcc98d;
/* rgb */ color: rgb(220, 201, 141);
/* oklch */ color: oklch(83.8% 0.081 92.6);
Tailwind
colors: {
  custom: {
    50: '#e8d9af',
    500: '#dcc98d',
    950: '#000000',
  },
}
SCSS
$custom: #dcc98d;
$custom-light: #e8d9af;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc98d",
  "rgb": {
    "r": 220,
    "g": 201,
    "b": 141
  },
  "hsl": {
    "h": 45.57,
    "s": 53.02,
    "l": 70.784
  },
  "oklch": {
    "l": 0.83768,
    "c": 0.08056,
    "h": 92.6
  },
  "luminance": 0.58912
}

Semantic roles & 50–950 ramp

primary
#DCC98D
secondary
#5A6FB3
accent
#4AC025
background
#FEFEFD
surface
#FDFBF7
border
#D5D4D0
text
#161410
muted
#848381

Preview Lab

Preview with #DCC98D

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

Preview Lab → · Contrast checker → · Palette generator →

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