#DCDC4E#DCDC4E

#DCDC4E is a very light, vivid yellow. Relative luminance 0.670; OKLCH L 86.9% C 0.160 H 109.3°. Best body text is #000000 at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#DCDC4E
RGBrgb(220, 220, 78)
HSLhsl(60, 67%, 58%)
HSVhsv(60, 65%, 86%)
CMYKcmyk(0%, 0%, 64.5%, 13.7%)
CIE-LABlab(85.48, -17.04, 66.95)
CIE-LCHlch(85.48, 69.08, 104.28°)
OKLaboklab(86.9% -0.0529 0.1509)
OKLCHoklch(86.9% 0.16 109.3)
XYZxyz(56.4854, 66.9537, 17.1541)
Luminance0.6695 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCDC4E #4E4EDC
analogous
#DC954E #DCDC4E #95DC4E
triadic
#DCDC4E #4EDCDC #DC4EDC
tetradic
#DCDC4E #4EDC95 #4E4EDC #DC4E95
square
#DCDC4E #4EDC95 #4E4EDC #DC4E95
split-complementary
#DCDC4E #4E95DC #954EDC
monochromatic
#93931D #C6C627 #DCDC4E #E6E681 #F0F0B4

Accessibility & contrast

On white

1.46
#DCDC4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.39
#DCDC4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCDC4E
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCDC4E#FFFFFF#000000##000000
##DCDC4E1.001.4614.3914.39
#FFFFFF1.461.0021.0021.00
#00000014.3921.001.001.00
##00000014.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD33A
Deuteranopia (green-blind)
#EFD857
Tritanopia (blue-blind)
#EBCFBF
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #dcdc4e;
/* rgb */ color: rgb(220, 220, 78);
/* oklch */ color: oklch(86.9% 0.160 109.3);
Tailwind
colors: {
  custom: {
    50: '#eae687',
    500: '#dcdc4e',
    950: '#000000',
  },
}
SCSS
$custom: #dcdc4e;
$custom-light: #eae687;
$custom-dark: #000000;
JSON
{
  "hex": "#dcdc4e",
  "rgb": {
    "r": 220,
    "g": 220,
    "b": 78
  },
  "hsl": {
    "h": 60,
    "s": 66.981,
    "l": 58.431
  },
  "oklch": {
    "l": 0.86896,
    "c": 0.15987,
    "h": 109.3
  },
  "luminance": 0.66952
}

Semantic roles & 50–950 ramp

primary
#DCDC4E
secondary
#373797
accent
#3EEA3E
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DCDC4E

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

Preview Lab → · Contrast checker → · Palette generator →

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