#DCD86A#DCD86A

#DCD86A is a very light, vivid yellow. Relative luminance 0.654; OKLCH L 86.3% C 0.133 H 107.0°. Best body text is #000000 at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#DCD86A
RGBrgb(220, 216, 106)
HSLhsl(58, 62%, 64%)
HSVhsv(58, 52%, 86%)
CMYKcmyk(0%, 1.8%, 51.8%, 13.7%)
CIE-LABlab(84.67, -13.10, 54.01)
CIE-LCHlch(84.67, 55.57, 103.63°)
OKLaboklab(86.33% -0.0387 0.1268)
OKLCHoklch(86.33% 0.133 107)
XYZxyz(56.6741, 65.3696, 23.2650)
Luminance0.6537 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD86A #6A6EDC
analogous
#DC9F6A #DCD86A #A7DC6A
triadic
#DCD86A #6ADCD8 #D86ADC
tetradic
#DCD86A #6ADC9F #6A6EDC #DC6AA7
square
#DCD86A #6ADC9F #6A6EDC #DC6AA7
split-complementary
#DCD86A #6AA7DC #9F6ADC
monochromatic
#A5A027 #D0CB38 #DCD86A #E8E59C #F3F2CD

Accessibility & contrast

On white

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

On black

14.07
#DCD86A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD86A
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD86A#FFFFFF#000000##000000
##DCD86A1.001.4914.0714.07
#FFFFFF1.491.0021.0021.00
#00000014.0721.001.001.00
##00000014.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D160
Deuteranopia (green-blind)
#EAD670
Tritanopia (blue-blind)
#EACCBF
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #dcd86a;
/* rgb */ color: rgb(220, 216, 106);
/* oklch */ color: oklch(86.3% 0.133 107.0);
Tailwind
colors: {
  custom: {
    50: '#e9e397',
    500: '#dcd86a',
    950: '#000000',
  },
}
SCSS
$custom: #dcd86a;
$custom-light: #e9e397;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd86a",
  "rgb": {
    "r": 220,
    "g": 216,
    "b": 106
  },
  "hsl": {
    "h": 57.895,
    "s": 61.957,
    "l": 63.922
  },
  "oklch": {
    "l": 0.86334,
    "c": 0.13261,
    "h": 107
  },
  "luminance": 0.65368
}

Semantic roles & 50–950 ramp

primary
#DCD86A
secondary
#4246A8
accent
#22CA1C
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DCD86A

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

Preview Lab → · Contrast checker → · Palette generator →

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