#DCDC3B#DCDC3B

#DCDC3B is a very light, vivid yellow. Relative luminance 0.667; OKLCH L 86.8% C 0.172 H 109.5°. Best body text is #000000 at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#DCDC3B
RGBrgb(220, 220, 59)
HSLhsl(60, 70%, 55%)
HSVhsv(60, 73%, 86%)
CMYKcmyk(0%, 0%, 73.2%, 13.7%)
CIE-LABlab(85.36, -17.99, 73.65)
CIE-LCHlch(85.36, 75.81, 103.73°)
OKLaboklab(86.76% -0.0573 0.1619)
OKLCHoklch(86.76% 0.172 109.5)
XYZxyz(55.8999, 66.7195, 14.0704)
Luminance0.6672 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCDC3B #3B3BDC
analogous
#DC8C3B #DCDC3B #8CDC3B
triadic
#DCDC3B #3BDCDC #DC3BDC
tetradic
#DCDC3B #3BDC8C #3B3BDC #DC3B8C
square
#DCDC3B #3BDC8C #3B3BDC #DC3B8C
split-complementary
#DCDC3B #3B8CDC #8C3BDC
monochromatic
#858518 #B9B921 #DCDC3B #E5E56F #EFEFA3

Accessibility & contrast

On white

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

On black

14.34
#DCDC3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCDC3B
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCDC3B#FFFFFF#000000##000000
##DCDC3B1.001.4614.3414.34
#FFFFFF1.461.0021.0021.00
#00000014.3421.001.001.00
##00000014.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED317
Deuteranopia (green-blind)
#F0D848
Tritanopia (blue-blind)
#ECCEBD
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #dcdc3b;
/* rgb */ color: rgb(220, 220, 59);
/* oklch */ color: oklch(86.8% 0.172 109.5);
Tailwind
colors: {
  custom: {
    50: '#ebe67d',
    500: '#dcdc3b',
    950: '#000000',
  },
}
SCSS
$custom: #dcdc3b;
$custom-light: #ebe67d;
$custom-dark: #000000;
JSON
{
  "hex": "#dcdc3b",
  "rgb": {
    "r": 220,
    "g": 220,
    "b": 59
  },
  "hsl": {
    "h": 60,
    "s": 69.697,
    "l": 54.706
  },
  "oklch": {
    "l": 0.86764,
    "c": 0.17172,
    "h": 109.5
  },
  "luminance": 0.66718
}

Semantic roles & 50–950 ramp

primary
#DCDC3B
secondary
#30308B
accent
#3BED3B
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150A
muted
#85847D

Preview Lab

Preview with #DCDC3B

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

Preview Lab → · Contrast checker → · Palette generator →

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