#DCD59F#DCD59F

#DCD59F is a very light, moderate yellow. Relative luminance 0.653; OKLCH L 86.6% C 0.071 H 101.5°. Best body text is #000000 at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#DCD59F
RGBrgb(220, 213, 159)
HSLhsl(53, 47%, 74%)
HSVhsv(53, 28%, 86%)
CMYKcmyk(0%, 3.2%, 27.7%, 13.7%)
CIE-LABlab(84.64, -5.92, 27.63)
CIE-LCHlch(84.64, 28.26, 102.09°)
OKLaboklab(86.55% -0.0142 0.0696)
OKLCHoklch(86.55% 0.071 101.5)
XYZxyz(59.5677, 65.3085, 42.2620)
Luminance0.6531 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD59F #9FA6DC
analogous
#DCB79F #DCD59F #C5DC9F
triadic
#DCD59F #9FDCD5 #D59FDC
tetradic
#DCD59F #9FDCB7 #9FA6DC #DC9FC5
square
#DCD59F #9FDCB7 #9FA6DC #DC9FC5
split-complementary
#DCD59F #9FC5DC #B79FDC
monochromatic
#BBAE45 #CCC172 #DCD59F #ECE9CC #F7F5E9

Accessibility & contrast

On white

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

On black

14.06
#DCD59F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD59F
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD59F#FFFFFF#000000##000000
##DCD59F1.001.4914.0614.06
#FFFFFF1.491.0021.0021.00
#00000014.0621.001.001.00
##00000014.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFD19B
Deuteranopia (green-blind)
#E1D5A1
Tritanopia (blue-blind)
#E5CEC7
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #dcd59f;
/* rgb */ color: rgb(220, 213, 159);
/* oklch */ color: oklch(86.6% 0.071 101.5);
Tailwind
colors: {
  custom: {
    50: '#e7e1bb',
    500: '#dcd59f',
    950: '#000000',
  },
}
SCSS
$custom: #dcd59f;
$custom-light: #e7e1bb;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd59f",
  "rgb": {
    "r": 220,
    "g": 213,
    "b": 159
  },
  "hsl": {
    "h": 53.115,
    "s": 46.565,
    "l": 74.314
  },
  "oklch": {
    "l": 0.86553,
    "c": 0.07098,
    "h": 101.5
  },
  "luminance": 0.65307
}

Semantic roles & 50–950 ramp

primary
#DCD59F
secondary
#6B74B4
accent
#3CBA2C
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#161512
muted
#848482

Preview Lab

Preview with #DCD59F

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

Preview Lab → · Contrast checker → · Palette generator →

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