#DCD84F#DCD84F

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

Color values

HEX#DCD84F
RGBrgb(220, 216, 79)
HSLhsl(58, 67%, 59%)
HSVhsv(58, 64%, 86%)
CMYKcmyk(0%, 1.8%, 64.1%, 13.7%)
CIE-LABlab(84.43, -15.01, 65.46)
CIE-LCHlch(84.43, 67.16, 102.91°)
OKLaboklab(86.06% -0.047 0.1479)
OKLCHoklch(86.06% 0.155 107.6)
XYZxyz(55.4843, 64.8936, 16.9986)
Luminance0.6489 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD84F #4F53DC
analogous
#DC914F #DCD84F #99DC4F
triadic
#DCD84F #4FDCD8 #D84FDC
tetradic
#DCD84F #4FDC91 #4F53DC #DC4F99
square
#DCD84F #4FDC91 #4F53DC #DC4F99
split-complementary
#DCD84F #4F99DC #914FDC
monochromatic
#93901D #C6C227 #DCD84F #E6E382 #F0EFB5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCD84F#FFFFFF#000000##000000
##DCD84F1.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)
#E9D03D
Deuteranopia (green-blind)
#ECD558
Tritanopia (blue-blind)
#EBCBBC
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #dcd84f;
/* rgb */ color: rgb(220, 216, 79);
/* oklch */ color: oklch(86.1% 0.155 107.6);
Tailwind
colors: {
  custom: {
    50: '#eae387',
    500: '#dcd84f',
    950: '#000000',
  },
}
SCSS
$custom: #dcd84f;
$custom-light: #eae387;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd84f",
  "rgb": {
    "r": 220,
    "g": 216,
    "b": 79
  },
  "hsl": {
    "h": 58.298,
    "s": 66.825,
    "l": 58.627
  },
  "oklch": {
    "l": 0.8606,
    "c": 0.1552,
    "h": 107.6
  },
  "luminance": 0.64892
}

Semantic roles & 50–950 ramp

primary
#DCD84F
secondary
#373A98
accent
#43EA3E
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DCD84F

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

Preview Lab → · Contrast checker → · Palette generator →

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