#DCD85F#DCD85F

#DCD85F is a very light, vivid yellow. Relative luminance 0.652; 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#DCD85F
RGBrgb(220, 216, 95)
HSLhsl(58, 64%, 62%)
HSVhsv(58, 57%, 86%)
CMYKcmyk(0%, 1.8%, 56.8%, 13.7%)
CIE-LABlab(84.56, -13.95, 58.86)
CIE-LCHlch(84.56, 60.49, 103.34°)
OKLaboklab(86.21% -0.0423 0.1361)
OKLCHoklch(86.21% 0.143 107.3)
XYZxyz(56.1383, 65.1552, 20.4433)
Luminance0.6515 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD85F #5F63DC
analogous
#DC9A5F #DCD85F #A2DC5F
triadic
#DCD85F #5FDCD8 #D85FDC
tetradic
#DCD85F #5FDC9A #5F63DC #DC5FA2
square
#DCD85F #5FDC9A #5F63DC #DC5FA2
split-complementary
#DCD85F #5FA2DC #9A5FDC
monochromatic
#9E9A23 #D0CB2E #DCD85F #E7E491 #F2F0C3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCD85F#FFFFFF#000000##000000
##DCD85F1.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)
#E8D052
Deuteranopia (green-blind)
#EBD566
Tritanopia (blue-blind)
#EACBBE
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #dcd85f;
/* rgb */ color: rgb(220, 216, 95);
/* oklch */ color: oklch(86.2% 0.143 107.3);
Tailwind
colors: {
  custom: {
    50: '#e9e391',
    500: '#dcd85f',
    950: '#000000',
  },
}
SCSS
$custom: #dcd85f;
$custom-light: #e9e391;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd85f",
  "rgb": {
    "r": 220,
    "g": 216,
    "b": 95
  },
  "hsl": {
    "h": 58.08,
    "s": 64.103,
    "l": 61.765
  },
  "oklch": {
    "l": 0.8621,
    "c": 0.14251,
    "h": 107.3
  },
  "luminance": 0.65154
}

Semantic roles & 50–950 ramp

primary
#DCD85F
secondary
#3E41A2
accent
#1FCC1A
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #DCD85F

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

Preview Lab → · Contrast checker → · Palette generator →

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