#DCD58B#DCD58B

#DCD58B is a very light, moderate yellow. Relative luminance 0.647; OKLCH L 86.2% C 0.095 H 103.6°. Best body text is #000000 at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#DCD58B
RGBrgb(220, 213, 139)
HSLhsl(55, 54%, 70%)
HSVhsv(55, 37%, 86%)
CMYKcmyk(0%, 3.2%, 36.8%, 13.7%)
CIE-LABlab(84.31, -8.36, 37.47)
CIE-LCHlch(84.31, 38.39, 102.58°)
OKLaboklab(86.19% -0.0222 0.0921)
OKLCHoklch(86.19% 0.095 103.6)
XYZxyz(57.9705, 64.6696, 33.8498)
Luminance0.6467 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD58B #8B92DC
analogous
#DCAC8B #DCD58B #BADC8B
triadic
#DCD58B #8BDCD5 #D58BDC
tetradic
#DCD58B #8BDCAC #8B92DC #DC8BBA
square
#DCD58B #8BDCAC #8B92DC #DC8BBA
split-complementary
#DCD58B #8BBADC #AC8BDC
monochromatic
#B6AB37 #CEC45C #DCD58B #EAE6BA #F8F6E7

Accessibility & contrast

On white

1.51
#DCD58B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.93
#DCD58B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD58B
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD58B#FFFFFF#000000##000000
##DCD58B1.001.5113.9313.93
#FFFFFF1.511.0021.0021.00
#00000013.9321.001.001.00
##00000013.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1D086
Deuteranopia (green-blind)
#E4D48E
Tritanopia (blue-blind)
#E7CCC2
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #dcd58b;
/* rgb */ color: rgb(220, 213, 139);
/* oklch */ color: oklch(86.2% 0.095 103.6);
Tailwind
colors: {
  custom: {
    50: '#e8e1ad',
    500: '#dcd58b',
    950: '#000000',
  },
}
SCSS
$custom: #dcd58b;
$custom-light: #e8e1ad;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd58b",
  "rgb": {
    "r": 220,
    "g": 213,
    "b": 139
  },
  "hsl": {
    "h": 54.815,
    "s": 53.642,
    "l": 70.392
  },
  "oklch": {
    "l": 0.86185,
    "c": 0.09474,
    "h": 103.6
  },
  "luminance": 0.64668
}

Semantic roles & 50–950 ramp

primary
#DCD58B
secondary
#5860B3
accent
#32C124
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DCD58B

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

Preview Lab → · Contrast checker → · Palette generator →

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