#DCD58A#DCD58A

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

Color values

HEX#DCD58A
RGBrgb(220, 213, 138)
HSLhsl(55, 54%, 70%)
HSVhsv(55, 37%, 86%)
CMYKcmyk(0%, 3.2%, 37.3%, 13.7%)
CIE-LABlab(84.30, -8.47, 37.95)
CIE-LCHlch(84.30, 38.89, 102.58°)
OKLaboklab(86.17% -0.0226 0.0932)
OKLCHoklch(86.17% 0.096 103.6)
XYZxyz(57.8978, 64.6405, 33.4668)
Luminance0.6464 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD58A #8A91DC
analogous
#DCAC8A #DCD58A #BADC8A
triadic
#DCD58A #8ADCD5 #D58ADC
tetradic
#DCD58A #8ADCAC #8A91DC #DC8ABA
square
#DCD58A #8ADCAC #8A91DC #DC8ABA
split-complementary
#DCD58A #8ABADC #AC8ADC
monochromatic
#B5AA36 #CEC45B #DCD58A #EAE6B9 #F8F7E7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCD58A#FFFFFF#000000##000000
##DCD58A1.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)
#E2D084
Deuteranopia (green-blind)
#E4D48D
Tritanopia (blue-blind)
#E7CCC2
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #dcd58a;
/* rgb */ color: rgb(220, 213, 138);
/* oklch */ color: oklch(86.2% 0.096 103.6);
Tailwind
colors: {
  custom: {
    50: '#e8e1ad',
    500: '#dcd58a',
    950: '#000000',
  },
}
SCSS
$custom: #dcd58a;
$custom-light: #e8e1ad;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd58a",
  "rgb": {
    "r": 220,
    "g": 213,
    "b": 138
  },
  "hsl": {
    "h": 54.878,
    "s": 53.947,
    "l": 70.196
  },
  "oklch": {
    "l": 0.86168,
    "c": 0.09589,
    "h": 103.6
  },
  "luminance": 0.64639
}

Semantic roles & 50–950 ramp

primary
#DCD58A
secondary
#575FB3
accent
#32C124
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DCD58A

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

Preview Lab → · Contrast checker → · Palette generator →

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