#DCC98E#DCC98E

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

Color values

HEX#DCC98E
RGBrgb(220, 201, 142)
HSLhsl(45, 53%, 71%)
HSVhsv(45, 35%, 86%)
CMYKcmyk(0%, 8.6%, 35.5%, 13.7%)
CIE-LABlab(81.26, -1.85, 31.94)
CIE-LCHlch(81.26, 31.99, 93.32°)
OKLaboklab(83.79% -0.0032 0.0794)
OKLCHoklch(83.79% 0.079 92.3)
XYZxyz(55.2853, 58.9437, 34.0510)
Luminance0.5894 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC98E #8EA1DC
analogous
#DCA28E #DCC98E #C8DC8E
triadic
#DCC98E #8EDCC9 #C98EDC
tetradic
#DCC98E #8EDCA2 #8EA1DC #DC8EC8
square
#DCC98E #8EDCA2 #8EA1DC #DC8EC8
split-complementary
#DCC98E #8EC8DC #A28EDC
monochromatic
#B79839 #CEB35F #DCC98E #EADFBD #F8F4E8

Accessibility & contrast

On white

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

On black

12.79
#DCC98E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC98E
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC98E#FFFFFF#000000##000000
##DCC98E1.001.6412.7912.79
#FFFFFF1.641.0021.0021.00
#00000012.7921.001.001.00
##00000012.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcc98e;
/* rgb */ color: rgb(220, 201, 142);
/* oklch */ color: oklch(83.8% 0.079 92.3);
Tailwind
colors: {
  custom: {
    50: '#e8d9af',
    500: '#dcc98e',
    950: '#000000',
  },
}
SCSS
$custom: #dcc98e;
$custom-light: #e8d9af;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc98e",
  "rgb": {
    "r": 220,
    "g": 201,
    "b": 142
  },
  "hsl": {
    "h": 45.385,
    "s": 52.703,
    "l": 70.98
  },
  "oklch": {
    "l": 0.83786,
    "c": 0.07942,
    "h": 92.3
  },
  "luminance": 0.58942
}

Semantic roles & 50–950 ramp

primary
#DCC98E
secondary
#5B70B3
accent
#4BC025
background
#FEFEFD
surface
#FDFBF7
border
#D5D4D0
text
#161410
muted
#848381

Preview Lab

Preview with #DCC98E

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

Preview Lab → · Contrast checker → · Palette generator →

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