#DCD88B#DCD88B

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

Color values

HEX#DCD88B
RGBrgb(220, 216, 139)
HSLhsl(57, 54%, 70%)
HSVhsv(57, 37%, 86%)
CMYKcmyk(0%, 1.8%, 36.8%, 13.7%)
CIE-LABlab(85.09, -9.88, 38.48)
CIE-LCHlch(85.09, 39.72, 104.40°)
OKLaboklab(86.81% -0.0266 0.0944)
OKLCHoklch(86.81% 0.098 105.7)
XYZxyz(58.7320, 66.1927, 34.1037)
Luminance0.6619 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD88B #8B8FDC
analogous
#DCAF8B #DCD88B #B7DC8B
triadic
#DCD88B #8BDCD8 #D88BDC
tetradic
#DCD88B #8BDCAF #8B8FDC #DC8BB7
square
#DCD88B #8BDCAF #8B8FDC #DC8BB7
split-complementary
#DCD88B #8BB7DC #AF8BDC
monochromatic
#B6AF37 #CEC85C #DCD88B #EAE8BA #F8F7E7

Accessibility & contrast

On white

1.47
#DCD88B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.24
#DCD88B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD88B
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD88B#FFFFFF#000000##000000
##DCD88B1.001.4714.2414.24
#FFFFFF1.471.0021.0021.00
#00000014.2421.001.001.00
##00000014.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D285
Deuteranopia (green-blind)
#E6D68E
Tritanopia (blue-blind)
#E7CFC5
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #dcd88b;
/* rgb */ color: rgb(220, 216, 139);
/* oklch */ color: oklch(86.8% 0.098 105.7);
Tailwind
colors: {
  custom: {
    50: '#e8e3ae',
    500: '#dcd88b',
    950: '#000000',
  },
}
SCSS
$custom: #dcd88b;
$custom-light: #e8e3ae;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd88b",
  "rgb": {
    "r": 220,
    "g": 216,
    "b": 139
  },
  "hsl": {
    "h": 57.037,
    "s": 53.642,
    "l": 70.392
  },
  "oklch": {
    "l": 0.86805,
    "c": 0.09809,
    "h": 105.7
  },
  "luminance": 0.66191
}

Semantic roles & 50–950 ramp

primary
#DCD88B
secondary
#585DB3
accent
#2CC124
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DCD88B

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

Preview Lab → · Contrast checker → · Palette generator →

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