#DCCC8A#DCCC8A

#DCCC8A is a very light, moderate yellow. Relative luminance 0.602; OKLCH L 84.3% C 0.087 H 96.2°. Best body text is #000000 at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#DCCC8A
RGBrgb(220, 204, 138)
HSLhsl(48, 54%, 70%)
HSVhsv(48, 37%, 86%)
CMYKcmyk(0%, 7.3%, 37.3%, 13.7%)
CIE-LABlab(81.97, -3.87, 34.93)
CIE-LCHlch(81.97, 35.14, 96.31°)
OKLaboklab(84.32% -0.0093 0.0862)
OKLCHoklch(84.32% 0.087 96.2)
XYZxyz(55.6965, 60.2380, 32.7330)
Luminance0.6024 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCCC8A #8A9ADC
analogous
#DCA38A #DCCC8A #C3DC8A
triadic
#DCCC8A #8ADCCC #CC8ADC
tetradic
#DCCC8A #8ADCA3 #8A9ADC #DC8AC3
square
#DCCC8A #8ADCA3 #8A9ADC #DC8AC3
split-complementary
#DCCC8A #8AC3DC #A38ADC
monochromatic
#B59D36 #CEB75B #DCCC8A #EAE1B9 #F8F5E7

Accessibility & contrast

On white

1.61
#DCCC8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.05
#DCCC8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCCC8A
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCCC8A#FFFFFF#000000##000000
##DCCC8A1.001.6113.0513.05
#FFFFFF1.611.0021.0021.00
#00000013.0521.001.001.00
##00000013.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C985
Deuteranopia (green-blind)
#DDCE8C
Tritanopia (blue-blind)
#E8C3BB
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #dccc8a;
/* rgb */ color: rgb(220, 204, 138);
/* oklch */ color: oklch(84.3% 0.087 96.2);
Tailwind
colors: {
  custom: {
    50: '#e8dbad',
    500: '#dccc8a',
    950: '#000000',
  },
}
SCSS
$custom: #dccc8a;
$custom-light: #e8dbad;
$custom-dark: #000000;
JSON
{
  "hex": "#dccc8a",
  "rgb": {
    "r": 220,
    "g": 204,
    "b": 138
  },
  "hsl": {
    "h": 48.293,
    "s": 53.947,
    "l": 70.196
  },
  "oklch": {
    "l": 0.84323,
    "c": 0.0867,
    "h": 96.2
  },
  "luminance": 0.60236
}

Semantic roles & 50–950 ramp

primary
#DCCC8A
secondary
#5769B3
accent
#43C124
background
#FEFEFD
surface
#FDFBF7
border
#D5D4D0
text
#161510
muted
#848481

Preview Lab

Preview with #DCCC8A

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

Preview Lab → · Contrast checker → · Palette generator →

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