#DCD38F#DCD38F

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

Color values

HEX#DCD38F
RGBrgb(220, 211, 143)
HSLhsl(53, 52%, 71%)
HSVhsv(53, 35%, 86%)
CMYKcmyk(0%, 4.1%, 35%, 13.7%)
CIE-LABlab(83.86, -6.88, 34.84)
CIE-LCHlch(83.86, 35.51, 101.17°)
OKLaboklab(85.84% -0.0177 0.0862)
OKLCHoklch(85.84% 0.088 101.6)
XYZxyz(57.7682, 63.7888, 35.2506)
Luminance0.6379 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD38F #8F98DC
analogous
#DCAC8F #DCD38F #BEDC8F
triadic
#DCD38F #8FDCD3 #D38FDC
tetradic
#DCD38F #8FDCAC #8F98DC #DC8FBE
square
#DCD38F #8FDCAC #8F98DC #DC8FBE
split-complementary
#DCD38F #8FBEDC #AC8FDC
monochromatic
#B7A939 #CDC160 #DCD38F #EBE5BE #F8F6E8

Accessibility & contrast

On white

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

On black

13.76
#DCD38F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD38F
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD38F#FFFFFF#000000##000000
##DCD38F1.001.5313.7613.76
#FFFFFF1.531.0021.0021.00
#00000013.7621.001.001.00
##00000013.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFCF8A
Deuteranopia (green-blind)
#E2D392
Tritanopia (blue-blind)
#E7CAC2
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #dcd38f;
/* rgb */ color: rgb(220, 211, 143);
/* oklch */ color: oklch(85.8% 0.088 101.6);
Tailwind
colors: {
  custom: {
    50: '#e8e0b0',
    500: '#dcd38f',
    950: '#000000',
  },
}
SCSS
$custom: #dcd38f;
$custom-light: #e8e0b0;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd38f",
  "rgb": {
    "r": 220,
    "g": 211,
    "b": 143
  },
  "hsl": {
    "h": 52.987,
    "s": 52.381,
    "l": 71.176
  },
  "oklch": {
    "l": 0.85843,
    "c": 0.08796,
    "h": 101.6
  },
  "luminance": 0.63787
}

Semantic roles & 50–950 ramp

primary
#DCD38F
secondary
#5C66B3
accent
#38C026
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DCD38F

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

Preview Lab → · Contrast checker → · Palette generator →

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