#DCD88A#DCD88A

#DCD88A is a very light, moderate yellow. Relative luminance 0.662; OKLCH L 86.8% C 0.099 H 105.8°. Best body text is #000000 at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#DCD88A
RGBrgb(220, 216, 138)
HSLhsl(57, 54%, 70%)
HSVhsv(57, 37%, 86%)
CMYKcmyk(0%, 1.8%, 37.3%, 13.7%)
CIE-LABlab(85.08, -9.99, 38.96)
CIE-LCHlch(85.08, 40.22, 104.38°)
OKLaboklab(86.79% -0.0269 0.0955)
OKLCHoklch(86.79% 0.099 105.8)
XYZxyz(58.6593, 66.1637, 33.7206)
Luminance0.6616 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD88A #8A8EDC
analogous
#DCAF8A #DCD88A #B7DC8A
triadic
#DCD88A #8ADCD8 #D88ADC
tetradic
#DCD88A #8ADCAF #8A8EDC #DC8AB7
square
#DCD88A #8ADCAF #8A8EDC #DC8AB7
split-complementary
#DCD88A #8AB7DC #AF8ADC
monochromatic
#B5AF36 #CEC85B #DCD88A #EAE8B9 #F8F7E7

Accessibility & contrast

On white

1.48
#DCD88A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.23
#DCD88A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD88A
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD88A#FFFFFF#000000##000000
##DCD88A1.001.4814.2314.23
#FFFFFF1.481.0021.0021.00
#00000014.2321.001.001.00
##00000014.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D284
Deuteranopia (green-blind)
#E7D68D
Tritanopia (blue-blind)
#E7CEC5
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dcd88a;
/* rgb */ color: rgb(220, 216, 138);
/* oklch */ color: oklch(86.8% 0.099 105.8);
Tailwind
colors: {
  custom: {
    50: '#e8e3ad',
    500: '#dcd88a',
    950: '#000000',
  },
}
SCSS
$custom: #dcd88a;
$custom-light: #e8e3ad;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd88a",
  "rgb": {
    "r": 220,
    "g": 216,
    "b": 138
  },
  "hsl": {
    "h": 57.073,
    "s": 53.947,
    "l": 70.196
  },
  "oklch": {
    "l": 0.86788,
    "c": 0.09923,
    "h": 105.8
  },
  "luminance": 0.66162
}

Semantic roles & 50–950 ramp

primary
#DCD88A
secondary
#575CB3
accent
#2CC124
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DCD88A

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

Preview Lab → · Contrast checker → · Palette generator →

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