#DCD85E#DCD85E

#DCD85E is a very light, vivid yellow. Relative luminance 0.651; OKLCH L 86.2% C 0.143 H 107.3°. Best body text is #000000 at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#DCD85E
RGBrgb(220, 216, 94)
HSLhsl(58, 64%, 62%)
HSVhsv(58, 57%, 86%)
CMYKcmyk(0%, 1.8%, 57.3%, 13.7%)
CIE-LABlab(84.55, -14.03, 59.29)
CIE-LCHlch(84.55, 60.93, 103.31°)
OKLaboklab(86.2% -0.0426 0.1369)
OKLCHoklch(86.2% 0.143 107.3)
XYZxyz(56.0931, 65.1372, 20.2054)
Luminance0.6514 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD85E #5E62DC
analogous
#DC995E #DCD85E #A1DC5E
triadic
#DCD85E #5EDCD8 #D85EDC
tetradic
#DCD85E #5EDC99 #5E62DC #DC5EA1
square
#DCD85E #5EDC99 #5E62DC #DC5EA1
split-complementary
#DCD85E #5EA1DC #995EDC
monochromatic
#9D9922 #D0CA2D #DCD85E #E7E490 #F2F0C3

Accessibility & contrast

On white

1.50
#DCD85E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.03
#DCD85E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD85E
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD85E#FFFFFF#000000##000000
##DCD85E1.001.5014.0314.03
#FFFFFF1.501.0021.0021.00
#00000014.0321.001.001.00
##00000014.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D051
Deuteranopia (green-blind)
#EBD565
Tritanopia (blue-blind)
#EACBBE
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #dcd85e;
/* rgb */ color: rgb(220, 216, 94);
/* oklch */ color: oklch(86.2% 0.143 107.3);
Tailwind
colors: {
  custom: {
    50: '#e9e390',
    500: '#dcd85e',
    950: '#000000',
  },
}
SCSS
$custom: #dcd85e;
$custom-light: #e9e390;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd85e",
  "rgb": {
    "r": 220,
    "g": 216,
    "b": 94
  },
  "hsl": {
    "h": 58.095,
    "s": 64.286,
    "l": 61.569
  },
  "oklch": {
    "l": 0.862,
    "c": 0.14336,
    "h": 107.3
  },
  "luminance": 0.65136
}

Semantic roles & 50–950 ramp

primary
#DCD85E
secondary
#3D40A1
accent
#1FCC19
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #DCD85E

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

Preview Lab → · Contrast checker → · Palette generator →

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