#DCDC4A#DCDC4A

#DCDC4A is a very light, vivid yellow. Relative luminance 0.669; OKLCH L 86.9% C 0.163 H 109.4°. Best body text is #000000 at 14.38:1 contrast (WCAG AA passes).

Color values

HEX#DCDC4A
RGBrgb(220, 220, 74)
HSLhsl(60, 68%, 58%)
HSVhsv(60, 66%, 86%)
CMYKcmyk(0%, 0%, 66.4%, 13.7%)
CIE-LABlab(85.45, -17.27, 68.46)
CIE-LCHlch(85.45, 70.60, 104.16°)
OKLaboklab(86.87% -0.0539 0.1534)
OKLCHoklch(86.87% 0.163 109.4)
XYZxyz(56.3463, 66.8981, 16.4217)
Luminance0.6690 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCDC4A #4A4ADC
analogous
#DC934A #DCDC4A #93DC4A
triadic
#DCDC4A #4ADCDC #DC4ADC
tetradic
#DCDC4A #4ADC93 #4A4ADC #DC4A93
square
#DCDC4A #4ADC93 #4A4ADC #DC4A93
split-complementary
#DCDC4A #4A93DC #934ADC
monochromatic
#90901C #C3C326 #DCDC4A #E6E67D #F0F0B1

Accessibility & contrast

On white

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

On black

14.38
#DCDC4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCDC4A
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCDC4A#FFFFFF#000000##000000
##DCDC4A1.001.4614.3814.38
#FFFFFF1.461.0021.0021.00
#00000014.3821.001.001.00
##00000014.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD334
Deuteranopia (green-blind)
#EFD854
Tritanopia (blue-blind)
#EBCEBF
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #dcdc4a;
/* rgb */ color: rgb(220, 220, 74);
/* oklch */ color: oklch(86.9% 0.163 109.4);
Tailwind
colors: {
  custom: {
    50: '#eae684',
    500: '#dcdc4a',
    950: '#000000',
  },
}
SCSS
$custom: #dcdc4a;
$custom-light: #eae684;
$custom-dark: #000000;
JSON
{
  "hex": "#dcdc4a",
  "rgb": {
    "r": 220,
    "g": 220,
    "b": 74
  },
  "hsl": {
    "h": 60,
    "s": 67.593,
    "l": 57.647
  },
  "oklch": {
    "l": 0.86865,
    "c": 0.16263,
    "h": 109.4
  },
  "luminance": 0.66896
}

Semantic roles & 50–950 ramp

primary
#DCDC4A
secondary
#353595
accent
#3DEA3D
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #DCDC4A

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

Preview Lab → · Contrast checker → · Palette generator →

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