#DCD86F#DCD86F

#DCD86F is a very light, vivid yellow. Relative luminance 0.655; OKLCH L 86.4% C 0.128 H 106.8°. Best body text is #000000 at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#DCD86F
RGBrgb(220, 216, 111)
HSLhsl(58, 61%, 65%)
HSVhsv(58, 50%, 86%)
CMYKcmyk(0%, 1.8%, 49.5%, 13.7%)
CIE-LABlab(84.73, -12.67, 51.74)
CIE-LCHlch(84.73, 53.27, 103.76°)
OKLaboklab(86.4% -0.037 0.1223)
OKLCHoklch(86.4% 0.128 106.8)
XYZxyz(56.9417, 65.4766, 24.6746)
Luminance0.6548 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD86F #6F73DC
analogous
#DCA16F #DCD86F #AADC6F
triadic
#DCD86F #6FDCD8 #D86FDC
tetradic
#DCD86F #6FDCA1 #6F73DC #DC6FAA
square
#DCD86F #6FDCA1 #6F73DC #DC6FAA
split-complementary
#DCD86F #6FAADC #A16FDC
monochromatic
#A8A329 #D0CB3E #DCD86F #E8E5A0 #F4F3D1

Accessibility & contrast

On white

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

On black

14.10
#DCD86F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD86F
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD86F#FFFFFF#000000##000000
##DCD86F1.001.4914.1014.10
#FFFFFF1.491.0021.0021.00
#00000014.1021.001.001.00
##00000014.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D165
Deuteranopia (green-blind)
#E9D674
Tritanopia (blue-blind)
#E9CCC0
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #dcd86f;
/* rgb */ color: rgb(220, 216, 111);
/* oklch */ color: oklch(86.4% 0.128 106.8);
Tailwind
colors: {
  custom: {
    50: '#e9e39b',
    500: '#dcd86f',
    950: '#000000',
  },
}
SCSS
$custom: #dcd86f;
$custom-light: #e9e39b;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd86f",
  "rgb": {
    "r": 220,
    "g": 216,
    "b": 111
  },
  "hsl": {
    "h": 57.798,
    "s": 60.894,
    "l": 64.902
  },
  "oklch": {
    "l": 0.86395,
    "c": 0.12782,
    "h": 106.8
  },
  "luminance": 0.65475
}

Semantic roles & 50–950 ramp

primary
#DCD86F
secondary
#4548AB
accent
#23C91D
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DCD86F

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

Preview Lab → · Contrast checker → · Palette generator →

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