#DCDC38#DCDC38

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

Color values

HEX#DCDC38
RGBrgb(220, 220, 56)
HSLhsl(60, 70%, 54%)
HSVhsv(60, 75%, 86%)
CMYKcmyk(0%, 0%, 74.5%, 13.7%)
CIE-LABlab(85.35, -18.11, 74.58)
CIE-LCHlch(85.35, 76.75, 103.65°)
OKLaboklab(86.75% -0.0579 0.1633)
OKLCHoklch(86.75% 0.173 109.5)
XYZxyz(55.8243, 66.6893, 13.6723)
Luminance0.6669 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCDC38 #3838DC
analogous
#DC8A38 #DCDC38 #8ADC38
triadic
#DCDC38 #38DCDC #DC38DC
tetradic
#DCDC38 #38DC8A #3838DC #DC388A
square
#DCDC38 #38DC8A #3838DC #DC388A
split-complementary
#DCDC38 #388ADC #8A38DC
monochromatic
#838317 #B7B720 #DCDC38 #E5E56C #EEEEA0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCDC38#FFFFFF#000000##000000
##DCDC381.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)
#EED30E
Deuteranopia (green-blind)
#F0D846
Tritanopia (blue-blind)
#ECCEBD
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #dcdc38;
/* rgb */ color: rgb(220, 220, 56);
/* oklch */ color: oklch(86.7% 0.173 109.5);
Tailwind
colors: {
  custom: {
    50: '#ebe67b',
    500: '#dcdc38',
    950: '#000000',
  },
}
SCSS
$custom: #dcdc38;
$custom-light: #ebe67b;
$custom-dark: #000000;
JSON
{
  "hex": "#dcdc38",
  "rgb": {
    "r": 220,
    "g": 220,
    "b": 56
  },
  "hsl": {
    "h": 60,
    "s": 70.085,
    "l": 54.118
  },
  "oklch": {
    "l": 0.86747,
    "c": 0.1733,
    "h": 109.5
  },
  "luminance": 0.66688
}

Semantic roles & 50–950 ramp

primary
#DCDC38
secondary
#2F2F89
accent
#3BED3B
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150A
muted
#85847D

Preview Lab

Preview with #DCDC38

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

Preview Lab → · Contrast checker → · Palette generator →

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