#DCD84E#DCD84E

#DCD84E is a very light, vivid yellow. Relative luminance 0.649; OKLCH L 86.1% C 0.156 H 107.7°. Best body text is #000000 at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#DCD84E
RGBrgb(220, 216, 78)
HSLhsl(58, 67%, 58%)
HSVhsv(58, 65%, 86%)
CMYKcmyk(0%, 1.8%, 64.5%, 13.7%)
CIE-LABlab(84.42, -15.07, 65.85)
CIE-LCHlch(84.42, 67.55, 102.89°)
OKLaboklab(86.05% -0.0473 0.1486)
OKLCHoklch(86.05% 0.156 107.7)
XYZxyz(55.4481, 64.8792, 16.8084)
Luminance0.6488 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD84E #4E52DC
analogous
#DC914E #DCD84E #99DC4E
triadic
#DCD84E #4EDCD8 #D84EDC
tetradic
#DCD84E #4EDC91 #4E52DC #DC4E99
square
#DCD84E #4EDC91 #4E52DC #DC4E99
split-complementary
#DCD84E #4E99DC #914EDC
monochromatic
#938F1D #C6C127 #DCD84E #E6E381 #F0EFB4

Accessibility & contrast

On white

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

On black

13.98
#DCD84E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD84E
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD84E#FFFFFF#000000##000000
##DCD84E1.001.5013.9813.98
#FFFFFF1.501.0021.0021.00
#00000013.9821.001.001.00
##00000013.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D03B
Deuteranopia (green-blind)
#ECD557
Tritanopia (blue-blind)
#EBCBBC
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #dcd84e;
/* rgb */ color: rgb(220, 216, 78);
/* oklch */ color: oklch(86.1% 0.156 107.7);
Tailwind
colors: {
  custom: {
    50: '#eae386',
    500: '#dcd84e',
    950: '#000000',
  },
}
SCSS
$custom: #dcd84e;
$custom-light: #eae386;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd84e",
  "rgb": {
    "r": 220,
    "g": 216,
    "b": 78
  },
  "hsl": {
    "h": 58.31,
    "s": 66.981,
    "l": 58.431
  },
  "oklch": {
    "l": 0.86051,
    "c": 0.15592,
    "h": 107.7
  },
  "luminance": 0.64877
}

Semantic roles & 50–950 ramp

primary
#DCD84E
secondary
#373997
accent
#43EA3E
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DCD84E

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

Preview Lab → · Contrast checker → · Palette generator →

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