#DCCB8A#DCCB8A

#DCCB8A is a very light, moderate yellow. Relative luminance 0.598; OKLCH L 84.1% C 0.086 H 95.2°. Best body text is #000000 at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#DCCB8A
RGBrgb(220, 203, 138)
HSLhsl(48, 54%, 70%)
HSVhsv(48, 37%, 86%)
CMYKcmyk(0%, 7.7%, 37.3%, 13.7%)
CIE-LABlab(81.71, -3.35, 34.59)
CIE-LCHlch(81.71, 34.76, 95.53°)
OKLaboklab(84.12% -0.0078 0.0854)
OKLCHoklch(84.12% 0.086 95.2)
XYZxyz(55.4596, 59.7642, 32.6541)
Luminance0.5976 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCCB8A #8A9BDC
analogous
#DCA28A #DCCB8A #C4DC8A
triadic
#DCCB8A #8ADCCB #CB8ADC
tetradic
#DCCB8A #8ADCA2 #8A9BDC #DC8AC4
square
#DCCB8A #8ADCA2 #8A9BDC #DC8AC4
split-complementary
#DCCB8A #8AC4DC #A28ADC
monochromatic
#B59B36 #CEB65B #DCCB8A #EAE0B9 #F8F5E7

Accessibility & contrast

On white

1.62
#DCCB8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.95
#DCCB8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCCB8A
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCCB8A#FFFFFF#000000##000000
##DCCB8A1.001.6212.9512.95
#FFFFFF1.621.0021.0021.00
#00000012.9521.001.001.00
##00000012.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C885
Deuteranopia (green-blind)
#DCCE8C
Tritanopia (blue-blind)
#E8C2BA
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #dccb8a;
/* rgb */ color: rgb(220, 203, 138);
/* oklch */ color: oklch(84.1% 0.086 95.2);
Tailwind
colors: {
  custom: {
    50: '#e8daad',
    500: '#dccb8a',
    950: '#000000',
  },
}
SCSS
$custom: #dccb8a;
$custom-light: #e8daad;
$custom-dark: #000000;
JSON
{
  "hex": "#dccb8a",
  "rgb": {
    "r": 220,
    "g": 203,
    "b": 138
  },
  "hsl": {
    "h": 47.561,
    "s": 53.947,
    "l": 70.196
  },
  "oklch": {
    "l": 0.8412,
    "c": 0.08578,
    "h": 95.2
  },
  "luminance": 0.59762
}

Semantic roles & 50–950 ramp

primary
#DCCB8A
secondary
#576AB3
accent
#45C124
background
#FEFEFD
surface
#FDFBF7
border
#D5D4D0
text
#161410
muted
#848381

Preview Lab

Preview with #DCCB8A

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

Preview Lab → · Contrast checker → · Palette generator →

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