#DCD288#DCD288

#DCD288 is a very light, moderate yellow. Relative luminance 0.631; OKLCH L 85.5% C 0.095 H 101.5°. Best body text is #000000 at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#DCD288
RGBrgb(220, 210, 136)
HSLhsl(53, 55%, 70%)
HSVhsv(53, 38%, 86%)
CMYKcmyk(0%, 4.5%, 38.2%, 13.7%)
CIE-LABlab(83.49, -7.17, 37.92)
CIE-LCHlch(83.49, 38.59, 100.70°)
OKLaboklab(85.52% -0.019 0.093)
OKLCHoklch(85.52% 0.095 101.5)
XYZxyz(57.0067, 63.0879, 32.4620)
Luminance0.6309 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD288 #8892DC
analogous
#DCA888 #DCD288 #BCDC88
triadic
#DCD288 #88DCD2 #D288DC
tetradic
#DCD288 #88DCA8 #8892DC #DC88BC
square
#DCD288 #88DCA8 #8892DC #DC88BC
split-complementary
#DCD288 #88BCDC #A888DC
monochromatic
#B5A535 #CEC059 #DCD288 #EAE4B7 #F8F6E7

Accessibility & contrast

On white

1.54
#DCD288 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.62
#DCD288 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD288
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD288#FFFFFF#000000##000000
##DCD2881.001.5413.6213.62
#FFFFFF1.541.0021.0021.00
#00000013.6221.001.001.00
##00000013.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFCD83
Deuteranopia (green-blind)
#E2D28B
Tritanopia (blue-blind)
#E8C8BF
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #dcd288;
/* rgb */ color: rgb(220, 210, 136);
/* oklch */ color: oklch(85.5% 0.095 101.5);
Tailwind
colors: {
  custom: {
    50: '#e8dfab',
    500: '#dcd288',
    950: '#000000',
  },
}
SCSS
$custom: #dcd288;
$custom-light: #e8dfab;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd288",
  "rgb": {
    "r": 220,
    "g": 210,
    "b": 136
  },
  "hsl": {
    "h": 52.857,
    "s": 54.545,
    "l": 69.804
  },
  "oklch": {
    "l": 0.85517,
    "c": 0.09495,
    "h": 101.5
  },
  "luminance": 0.63086
}

Semantic roles & 50–950 ramp

primary
#DCD288
secondary
#5560B3
accent
#36C223
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DCD288

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

Preview Lab → · Contrast checker → · Palette generator →

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