#DCD58E#DCD58E

#DCD58E is a very light, moderate yellow. Relative luminance 0.648; OKLCH L 86.2% C 0.091 H 103.3°. Best body text is #000000 at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#DCD58E
RGBrgb(220, 213, 142)
HSLhsl(55, 53%, 71%)
HSVhsv(55, 35%, 86%)
CMYKcmyk(0%, 3.2%, 35.5%, 13.7%)
CIE-LABlab(84.36, -8.02, 36.00)
CIE-LCHlch(84.36, 36.88, 102.55°)
OKLaboklab(86.24% -0.021 0.0888)
OKLCHoklch(86.24% 0.091 103.3)
XYZxyz(58.1927, 64.7585, 35.0201)
Luminance0.6476 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD58E #8E95DC
analogous
#DCAE8E #DCD58E #BCDC8E
triadic
#DCD58E #8EDCD5 #D58EDC
tetradic
#DCD58E #8EDCAE #8E95DC #DC8EBC
square
#DCD58E #8EDCAE #8E95DC #DC8EBC
split-complementary
#DCD58E #8EBCDC #AE8EDC
monochromatic
#B7AC39 #CEC45F #DCD58E #EAE6BD #F8F6E8

Accessibility & contrast

On white

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

On black

13.95
#DCD58E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD58E
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD58E#FFFFFF#000000##000000
##DCD58E1.001.5113.9513.95
#FFFFFF1.511.0021.0021.00
#00000013.9521.001.001.00
##00000013.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1D089
Deuteranopia (green-blind)
#E4D491
Tritanopia (blue-blind)
#E7CCC3
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #dcd58e;
/* rgb */ color: rgb(220, 213, 142);
/* oklch */ color: oklch(86.2% 0.091 103.3);
Tailwind
colors: {
  custom: {
    50: '#e8e1b0',
    500: '#dcd58e',
    950: '#000000',
  },
}
SCSS
$custom: #dcd58e;
$custom-light: #e8e1b0;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd58e",
  "rgb": {
    "r": 220,
    "g": 213,
    "b": 142
  },
  "hsl": {
    "h": 54.615,
    "s": 52.703,
    "l": 70.98
  },
  "oklch": {
    "l": 0.86236,
    "c": 0.09128,
    "h": 103.3
  },
  "luminance": 0.64757
}

Semantic roles & 50–950 ramp

primary
#DCD58E
secondary
#5B63B3
accent
#33C025
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DCD58E

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

Preview Lab → · Contrast checker → · Palette generator →

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