#DCDC5F#DCDC5F

#DCDC5F is a very light, vivid yellow. Relative luminance 0.672; OKLCH L 87.1% C 0.147 H 109.1°. Best body text is #000000 at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#DCDC5F
RGBrgb(220, 220, 95)
HSLhsl(60, 64%, 62%)
HSVhsv(60, 57%, 86%)
CMYKcmyk(0%, 0%, 56.8%, 13.7%)
CIE-LABlab(85.62, -15.94, 60.04)
CIE-LCHlch(85.62, 62.12, 104.87°)
OKLaboklab(87.05% -0.048 0.1386)
OKLCHoklch(87.05% 0.147 109.1)
XYZxyz(57.1756, 67.2298, 20.7890)
Luminance0.6723 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCDC5F #5F5FDC
analogous
#DC9E5F #DCDC5F #9EDC5F
triadic
#DCDC5F #5FDCDC #DC5FDC
tetradic
#DCDC5F #5FDC9E #5F5FDC #DC5F9E
square
#DCDC5F #5FDC9E #5F5FDC #DC5F9E
split-complementary
#DCDC5F #5F9EDC #9E5FDC
monochromatic
#9E9E23 #D0D02E #DCDC5F #E7E791 #F2F2C3

Accessibility & contrast

On white

1.45
#DCDC5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.45
#DCDC5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCDC5F
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCDC5F#FFFFFF#000000##000000
##DCDC5F1.001.4514.4514.45
#FFFFFF1.451.0021.0021.00
#00000014.4521.001.001.00
##00000014.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD451
Deuteranopia (green-blind)
#EED866
Tritanopia (blue-blind)
#EACFC1
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #dcdc5f;
/* rgb */ color: rgb(220, 220, 95);
/* oklch */ color: oklch(87.1% 0.147 109.1);
Tailwind
colors: {
  custom: {
    50: '#e9e691',
    500: '#dcdc5f',
    950: '#000000',
  },
}
SCSS
$custom: #dcdc5f;
$custom-light: #e9e691;
$custom-dark: #000000;
JSON
{
  "hex": "#dcdc5f",
  "rgb": {
    "r": 220,
    "g": 220,
    "b": 95
  },
  "hsl": {
    "h": 60,
    "s": 64.103,
    "l": 61.765
  },
  "oklch": {
    "l": 0.87052,
    "c": 0.14665,
    "h": 109.1
  },
  "luminance": 0.67228
}

Semantic roles & 50–950 ramp

primary
#DCDC5F
secondary
#3E3EA2
accent
#1ACC1A
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #DCDC5F

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

Preview Lab → · Contrast checker → · Palette generator →

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