#DCD38B#DCD38B

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

Color values

HEX#DCD38B
RGBrgb(220, 211, 139)
HSLhsl(53, 54%, 70%)
HSVhsv(53, 37%, 86%)
CMYKcmyk(0%, 4.1%, 36.8%, 13.7%)
CIE-LABlab(83.79, -7.34, 36.79)
CIE-LCHlch(83.79, 37.52, 101.28°)
OKLaboklab(85.77% -0.0193 0.0906)
OKLCHoklch(85.77% 0.093 102)
XYZxyz(57.4705, 63.6697, 33.6832)
Luminance0.6367 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD38B #8B94DC
analogous
#DCAA8B #DCD38B #BDDC8B
triadic
#DCD38B #8BDCD3 #D38BDC
tetradic
#DCD38B #8BDCAA #8B94DC #DC8BBD
square
#DCD38B #8BDCAA #8B94DC #DC8BBD
split-complementary
#DCD38B #8BBDDC #AA8BDC
monochromatic
#B6A837 #CEC15C #DCD38B #EAE5BA #F8F6E7

Accessibility & contrast

On white

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

On black

13.73
#DCD38B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD38B
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD38B#FFFFFF#000000##000000
##DCD38B1.001.5313.7313.73
#FFFFFF1.531.0021.0021.00
#00000013.7321.001.001.00
##00000013.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcd38b;
/* rgb */ color: rgb(220, 211, 139);
/* oklch */ color: oklch(85.8% 0.093 102.0);
Tailwind
colors: {
  custom: {
    50: '#e8e0ad',
    500: '#dcd38b',
    950: '#000000',
  },
}
SCSS
$custom: #dcd38b;
$custom-light: #e8e0ad;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd38b",
  "rgb": {
    "r": 220,
    "g": 211,
    "b": 139
  },
  "hsl": {
    "h": 53.333,
    "s": 53.642,
    "l": 70.392
  },
  "oklch": {
    "l": 0.85773,
    "c": 0.09258,
    "h": 102
  },
  "luminance": 0.63668
}

Semantic roles & 50–950 ramp

primary
#DCD38B
secondary
#5862B3
accent
#36C124
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DCD38B

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

Preview Lab → · Contrast checker → · Palette generator →

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