#DCD38C#DCD38C

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

Color values

HEX#DCD38C
RGBrgb(220, 211, 140)
HSLhsl(53, 53%, 71%)
HSVhsv(53, 36%, 86%)
CMYKcmyk(0%, 4.1%, 36.4%, 13.7%)
CIE-LABlab(83.81, -7.23, 36.31)
CIE-LCHlch(83.81, 37.02, 101.26°)
OKLaboklab(85.79% -0.0189 0.0895)
OKLCHoklch(85.79% 0.091 101.9)
XYZxyz(57.5439, 63.6991, 34.0697)
Luminance0.6370 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD38C #8C95DC
analogous
#DCAB8C #DCD38C #BDDC8C
triadic
#DCD38C #8CDCD3 #D38CDC
tetradic
#DCD38C #8CDCAB #8C95DC #DC8CBD
square
#DCD38C #8CDCAB #8C95DC #DC8CBD
split-complementary
#DCD38C #8CBDDC #AB8CDC
monochromatic
#B6A837 #CEC15D #DCD38C #EAE5BB #F8F6E8

Accessibility & contrast

On white

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

On black

13.74
#DCD38C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD38C
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD38C#FFFFFF#000000##000000
##DCD38C1.001.5313.7413.74
#FFFFFF1.531.0021.0021.00
#00000013.7421.001.001.00
##00000013.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcd38c;
/* rgb */ color: rgb(220, 211, 140);
/* oklch */ color: oklch(85.8% 0.091 101.9);
Tailwind
colors: {
  custom: {
    50: '#e8e0ae',
    500: '#dcd38c',
    950: '#000000',
  },
}
SCSS
$custom: #dcd38c;
$custom-light: #e8e0ae;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd38c",
  "rgb": {
    "r": 220,
    "g": 211,
    "b": 140
  },
  "hsl": {
    "h": 53.25,
    "s": 53.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.8579,
    "c": 0.09143,
    "h": 101.9
  },
  "luminance": 0.63698
}

Semantic roles & 50–950 ramp

primary
#DCD38C
secondary
#5963B3
accent
#36C125
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DCD38C

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

Preview Lab → · Contrast checker → · Palette generator →

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