#DCD88E#DCD88E

#DCD88E is a very light, moderate yellow. Relative luminance 0.663; OKLCH L 86.9% C 0.095 H 105.6°. Best body text is #000000 at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#DCD88E
RGBrgb(220, 216, 142)
HSLhsl(57, 53%, 71%)
HSVhsv(57, 35%, 86%)
CMYKcmyk(0%, 1.8%, 35.5%, 13.7%)
CIE-LABlab(85.14, -9.54, 37.02)
CIE-LCHlch(85.14, 38.23, 104.45°)
OKLaboklab(86.86% -0.0254 0.0912)
OKLCHoklch(86.86% 0.095 105.6)
XYZxyz(58.9543, 66.2816, 35.2740)
Luminance0.6628 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD88E #8E92DC
analogous
#DCB18E #DCD88E #B9DC8E
triadic
#DCD88E #8EDCD8 #D88EDC
tetradic
#DCD88E #8EDCB1 #8E92DC #DC8EB9
square
#DCD88E #8EDCB1 #8E92DC #DC8EB9
split-complementary
#DCD88E #8EB9DC #B18EDC
monochromatic
#B7B039 #CEC85F #DCD88E #EAE8BD #F8F7E8

Accessibility & contrast

On white

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

On black

14.26
#DCD88E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD88E
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD88E#FFFFFF#000000##000000
##DCD88E1.001.4714.2614.26
#FFFFFF1.471.0021.0021.00
#00000014.2621.001.001.00
##00000014.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcd88e;
/* rgb */ color: rgb(220, 216, 142);
/* oklch */ color: oklch(86.9% 0.095 105.6);
Tailwind
colors: {
  custom: {
    50: '#e8e3b0',
    500: '#dcd88e',
    950: '#000000',
  },
}
SCSS
$custom: #dcd88e;
$custom-light: #e8e3b0;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd88e",
  "rgb": {
    "r": 220,
    "g": 216,
    "b": 142
  },
  "hsl": {
    "h": 56.923,
    "s": 52.703,
    "l": 70.98
  },
  "oklch": {
    "l": 0.86855,
    "c": 0.09466,
    "h": 105.6
  },
  "luminance": 0.6628
}

Semantic roles & 50–950 ramp

primary
#DCD88E
secondary
#5B5FB3
accent
#2DC025
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DCD88E

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

Preview Lab → · Contrast checker → · Palette generator →

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