#DCD38E#DCD38E

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

Color values

HEX#DCD38E
RGBrgb(220, 211, 142)
HSLhsl(53, 53%, 71%)
HSVhsv(53, 35%, 86%)
CMYKcmyk(0%, 4.1%, 35.5%, 13.7%)
CIE-LABlab(83.84, -7.00, 35.33)
CIE-LCHlch(83.84, 36.01, 101.20°)
OKLaboklab(85.82% -0.0181 0.0873)
OKLCHoklch(85.82% 0.089 101.7)
XYZxyz(57.6927, 63.7586, 34.8535)
Luminance0.6376 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD38E #8E97DC
analogous
#DCAC8E #DCD38E #BEDC8E
triadic
#DCD38E #8EDCD3 #D38EDC
tetradic
#DCD38E #8EDCAC #8E97DC #DC8EBE
square
#DCD38E #8EDCAC #8E97DC #DC8EBE
split-complementary
#DCD38E #8EBEDC #AC8EDC
monochromatic
#B7A839 #CEC15F #DCD38E #EAE5BD #F8F6E8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCD38E#FFFFFF#000000##000000
##DCD38E1.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)
#DFCF89
Deuteranopia (green-blind)
#E2D391
Tritanopia (blue-blind)
#E7CAC1
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #dcd38e;
/* rgb */ color: rgb(220, 211, 142);
/* oklch */ color: oklch(85.8% 0.089 101.7);
Tailwind
colors: {
  custom: {
    50: '#e8e0b0',
    500: '#dcd38e',
    950: '#000000',
  },
}
SCSS
$custom: #dcd38e;
$custom-light: #e8e0b0;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd38e",
  "rgb": {
    "r": 220,
    "g": 211,
    "b": 142
  },
  "hsl": {
    "h": 53.077,
    "s": 52.703,
    "l": 70.98
  },
  "oklch": {
    "l": 0.85825,
    "c": 0.08911,
    "h": 101.7
  },
  "luminance": 0.63757
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DCD38E

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

Preview Lab → · Contrast checker → · Palette generator →

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