#DCD88D#DCD88D

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

Color values

HEX#DCD88D
RGBrgb(220, 216, 141)
HSLhsl(57, 53%, 71%)
HSVhsv(57, 36%, 86%)
CMYKcmyk(0%, 1.8%, 35.9%, 13.7%)
CIE-LABlab(85.12, -9.65, 37.51)
CIE-LCHlch(85.12, 38.73, 104.43°)
OKLaboklab(86.84% -0.0258 0.0923)
OKLCHoklch(86.84% 0.096 105.6)
XYZxyz(58.8795, 66.2517, 34.8803)
Luminance0.6625 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD88D #8D91DC
analogous
#DCB08D #DCD88D #B8DC8D
triadic
#DCD88D #8DDCD8 #D88DDC
tetradic
#DCD88D #8DDCB0 #8D91DC #DC8DB8
square
#DCD88D #8DDCB0 #8D91DC #DC8DB8
split-complementary
#DCD88D #8DB8DC #B08DDC
monochromatic
#B7B038 #CEC85E #DCD88D #EAE8BC #F8F7E8

Accessibility & contrast

On white

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

On black

14.25
#DCD88D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD88D
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD88D#FFFFFF#000000##000000
##DCD88D1.001.4714.2514.25
#FFFFFF1.471.0021.0021.00
#00000014.2521.001.001.00
##00000014.2521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcd88d;
/* rgb */ color: rgb(220, 216, 141);
/* oklch */ color: oklch(86.8% 0.096 105.6);
Tailwind
colors: {
  custom: {
    50: '#e8e3af',
    500: '#dcd88d',
    950: '#000000',
  },
}
SCSS
$custom: #dcd88d;
$custom-light: #e8e3af;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd88d",
  "rgb": {
    "r": 220,
    "g": 216,
    "b": 141
  },
  "hsl": {
    "h": 56.962,
    "s": 53.02,
    "l": 70.784
  },
  "oklch": {
    "l": 0.86838,
    "c": 0.0958,
    "h": 105.6
  },
  "luminance": 0.6625
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DCD88D

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

Preview Lab → · Contrast checker → · Palette generator →

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