#DCDC5A#DCDC5A

#DCDC5A is a very light, vivid yellow. Relative luminance 0.671; OKLCH L 87.0% C 0.151 H 109.2°. Best body text is #000000 at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#DCDC5A
RGBrgb(220, 220, 90)
HSLhsl(60, 65%, 61%)
HSVhsv(60, 59%, 86%)
CMYKcmyk(0%, 0%, 59.1%, 13.7%)
CIE-LABlab(85.58, -16.29, 62.15)
CIE-LCHlch(85.58, 64.24, 104.69°)
OKLaboklab(87% -0.0495 0.1424)
OKLCHoklch(87% 0.151 109.2)
XYZxyz(56.9555, 67.1418, 19.6303)
Luminance0.6714 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCDC5A #5A5ADC
analogous
#DC9B5A #DCDC5A #9BDC5A
triadic
#DCDC5A #5ADCDC #DC5ADC
tetradic
#DCDC5A #5ADC9B #5A5ADC #DC5A9B
square
#DCDC5A #5ADC9B #5A5ADC #DC5A9B
split-complementary
#DCDC5A #5A9BDC #9B5ADC
monochromatic
#9B9B21 #CDCD2C #DCDC5A #E7E78C #F1F1BF

Accessibility & contrast

On white

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

On black

14.43
#DCDC5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCDC5A
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCDC5A#FFFFFF#000000##000000
##DCDC5A1.001.4614.4314.43
#FFFFFF1.461.0021.0021.00
#00000014.4321.001.001.00
##00000014.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD34B
Deuteranopia (green-blind)
#EED862
Tritanopia (blue-blind)
#EACFC0
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #dcdc5a;
/* rgb */ color: rgb(220, 220, 90);
/* oklch */ color: oklch(87.0% 0.151 109.2);
Tailwind
colors: {
  custom: {
    50: '#eae68e',
    500: '#dcdc5a',
    950: '#000000',
  },
}
SCSS
$custom: #dcdc5a;
$custom-light: #eae68e;
$custom-dark: #000000;
JSON
{
  "hex": "#dcdc5a",
  "rgb": {
    "r": 220,
    "g": 220,
    "b": 90
  },
  "hsl": {
    "h": 60,
    "s": 65,
    "l": 60.784
  },
  "oklch": {
    "l": 0.87002,
    "c": 0.15079,
    "h": 109.2
  },
  "luminance": 0.6714
}

Semantic roles & 50–950 ramp

primary
#DCDC5A
secondary
#3B3B9F
accent
#19CD19
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #DCDC5A

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

Preview Lab → · Contrast checker → · Palette generator →

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