#DCD59D#DCD59D

#DCD59D is a very light, moderate yellow. Relative luminance 0.652; OKLCH L 86.5% C 0.073 H 101.8°. Best body text is #000000 at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#DCD59D
RGBrgb(220, 213, 157)
HSLhsl(53, 47%, 74%)
HSVhsv(53, 29%, 86%)
CMYKcmyk(0%, 3.2%, 28.6%, 13.7%)
CIE-LABlab(84.61, -6.18, 28.62)
CIE-LCHlch(84.61, 29.28, 102.18°)
OKLaboklab(86.51% -0.015 0.0719)
OKLCHoklch(86.51% 0.073 101.8)
XYZxyz(59.3956, 65.2397, 41.3554)
Luminance0.6524 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD59D #9DA4DC
analogous
#DCB69D #DCD59D #C4DC9D
triadic
#DCD59D #9DDCD5 #D59DDC
tetradic
#DCD59D #9DDCB6 #9DA4DC #DC9DC4
square
#DCD59D #9DDCB6 #9DA4DC #DC9DC4
split-complementary
#DCD59D #9DC4DC #B69DDC
monochromatic
#BCAE43 #CCC270 #DCD59D #ECE8CA #F7F5E8

Accessibility & contrast

On white

1.49
#DCD59D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.05
#DCD59D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD59D
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD59D#FFFFFF#000000##000000
##DCD59D1.001.4914.0514.05
#FFFFFF1.491.0021.0021.00
#00000014.0521.001.001.00
##00000014.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFD199
Deuteranopia (green-blind)
#E2D59F
Tritanopia (blue-blind)
#E5CDC6
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #dcd59d;
/* rgb */ color: rgb(220, 213, 157);
/* oklch */ color: oklch(86.5% 0.073 101.8);
Tailwind
colors: {
  custom: {
    50: '#e7e1ba',
    500: '#dcd59d',
    950: '#000000',
  },
}
SCSS
$custom: #dcd59d;
$custom-light: #e7e1ba;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd59d",
  "rgb": {
    "r": 220,
    "g": 213,
    "b": 157
  },
  "hsl": {
    "h": 53.333,
    "s": 47.368,
    "l": 73.922
  },
  "oklch": {
    "l": 0.86514,
    "c": 0.07343,
    "h": 101.8
  },
  "luminance": 0.65238
}

Semantic roles & 50–950 ramp

primary
#DCD59D
secondary
#6972B4
accent
#3BBB2B
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DCD59D

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

Preview Lab → · Contrast checker → · Palette generator →

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