#DCDC5E#DCDC5E

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

Color values

HEX#DCDC5E
RGBrgb(220, 220, 94)
HSLhsl(60, 64%, 62%)
HSVhsv(60, 57%, 86%)
CMYKcmyk(0%, 0%, 57.3%, 13.7%)
CIE-LABlab(85.61, -16.01, 60.47)
CIE-LCHlch(85.61, 62.55, 104.83°)
OKLaboklab(87.04% -0.0483 0.1394)
OKLCHoklch(87.04% 0.148 109.1)
XYZxyz(57.1304, 67.2117, 20.5512)
Luminance0.6721 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCDC5E #5E5EDC
analogous
#DC9D5E #DCDC5E #9DDC5E
triadic
#DCDC5E #5EDCDC #DC5EDC
tetradic
#DCDC5E #5EDC9D #5E5EDC #DC5E9D
square
#DCDC5E #5EDC9D #5E5EDC #DC5E9D
split-complementary
#DCDC5E #5E9DDC #9D5EDC
monochromatic
#9D9D22 #D0D02D #DCDC5E #E7E790 #F2F2C3

Accessibility & contrast

On white

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

On black

14.44
#DCDC5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCDC5E
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCDC5E#FFFFFF#000000##000000
##DCDC5E1.001.4514.4414.44
#FFFFFF1.451.0021.0021.00
#00000014.4421.001.001.00
##00000014.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcdc5e;
/* rgb */ color: rgb(220, 220, 94);
/* oklch */ color: oklch(87.0% 0.147 109.1);
Tailwind
colors: {
  custom: {
    50: '#eae690',
    500: '#dcdc5e',
    950: '#000000',
  },
}
SCSS
$custom: #dcdc5e;
$custom-light: #eae690;
$custom-dark: #000000;
JSON
{
  "hex": "#dcdc5e",
  "rgb": {
    "r": 220,
    "g": 220,
    "b": 94
  },
  "hsl": {
    "h": 60,
    "s": 64.286,
    "l": 61.569
  },
  "oklch": {
    "l": 0.87042,
    "c": 0.1475,
    "h": 109.1
  },
  "luminance": 0.6721
}

Semantic roles & 50–950 ramp

primary
#DCDC5E
secondary
#3D3DA1
accent
#19CC19
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #DCDC5E

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

Preview Lab → · Contrast checker → · Palette generator →

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