#DCD38D#DCD38D

#DCD38D is a very light, moderate yellow. Relative luminance 0.637; OKLCH L 85.8% C 0.090 H 101.8°. Best body text is #000000 at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#DCD38D
RGBrgb(220, 211, 141)
HSLhsl(53, 53%, 71%)
HSVhsv(53, 36%, 86%)
CMYKcmyk(0%, 4.1%, 35.9%, 13.7%)
CIE-LABlab(83.82, -7.11, 35.82)
CIE-LCHlch(83.82, 36.51, 101.23°)
OKLaboklab(85.81% -0.0185 0.0884)
OKLCHoklch(85.81% 0.09 101.8)
XYZxyz(57.6180, 63.7287, 34.4598)
Luminance0.6373 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD38D #8D96DC
analogous
#DCAB8D #DCD38D #BDDC8D
triadic
#DCD38D #8DDCD3 #D38DDC
tetradic
#DCD38D #8DDCAB #8D96DC #DC8DBD
square
#DCD38D #8DDCAB #8D96DC #DC8DBD
split-complementary
#DCD38D #8DBDDC #AB8DDC
monochromatic
#B7A838 #CEC15E #DCD38D #EAE5BC #F8F6E8

Accessibility & contrast

On white

1.53
#DCD38D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.75
#DCD38D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD38D
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD38D#FFFFFF#000000##000000
##DCD38D1.001.5313.7513.75
#FFFFFF1.531.0021.0021.00
#00000013.7521.001.001.00
##00000013.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFCE88
Deuteranopia (green-blind)
#E2D390
Tritanopia (blue-blind)
#E7CAC1
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #dcd38d;
/* rgb */ color: rgb(220, 211, 141);
/* oklch */ color: oklch(85.8% 0.090 101.8);
Tailwind
colors: {
  custom: {
    50: '#e8e0af',
    500: '#dcd38d',
    950: '#000000',
  },
}
SCSS
$custom: #dcd38d;
$custom-light: #e8e0af;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd38d",
  "rgb": {
    "r": 220,
    "g": 211,
    "b": 141
  },
  "hsl": {
    "h": 53.165,
    "s": 53.02,
    "l": 70.784
  },
  "oklch": {
    "l": 0.85808,
    "c": 0.09027,
    "h": 101.8
  },
  "luminance": 0.63727
}

Semantic roles & 50–950 ramp

primary
#DCD38D
secondary
#5A64B3
accent
#37C025
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DCD38D

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

Preview Lab → · Contrast checker → · Palette generator →

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