#DCDC93#DCDC93

#DCDC93 is a very light, moderate yellow. Relative luminance 0.685; OKLCH L 87.8% C 0.094 H 108.2°. Best body text is #000000 at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#DCDC93
RGBrgb(220, 220, 147)
HSLhsl(60, 51%, 72%)
HSVhsv(60, 33%, 86%)
CMYKcmyk(0%, 0%, 33.2%, 13.7%)
CIE-LABlab(86.26, -10.97, 35.94)
CIE-LCHlch(86.26, 37.58, 106.97°)
OKLaboklab(87.77% -0.0292 0.0889)
OKLCHoklch(87.77% 0.094 108.2)
XYZxyz(60.3754, 68.5097, 37.6413)
Luminance0.6851 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCDC93 #9393DC
analogous
#DCB893 #DCDC93 #B8DC93
triadic
#DCDC93 #93DCDC #DC93DC
tetradic
#DCDC93 #93DCB8 #9393DC #DC93B8
square
#DCDC93 #93DCB8 #9393DC #DC93B8
split-complementary
#DCDC93 #93B8DC #B893DC
monochromatic
#B9B93C #CDCD65 #DCDC93 #EBEBC1 #F8F8E8

Accessibility & contrast

On white

1.43
#DCDC93 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.70
#DCDC93 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCDC93
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCDC93#FFFFFF#000000##000000
##DCDC931.001.4314.7014.70
#FFFFFF1.431.0021.0021.00
#00000014.7021.001.001.00
##00000014.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D68E
Deuteranopia (green-blind)
#E9D996
Tritanopia (blue-blind)
#E6D3C9
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #dcdc93;
/* rgb */ color: rgb(220, 220, 147);
/* oklch */ color: oklch(87.8% 0.094 108.2);
Tailwind
colors: {
  custom: {
    50: '#e8e6b3',
    500: '#dcdc93',
    950: '#000000',
  },
}
SCSS
$custom: #dcdc93;
$custom-light: #e8e6b3;
$custom-dark: #000000;
JSON
{
  "hex": "#dcdc93",
  "rgb": {
    "r": 220,
    "g": 220,
    "b": 147
  },
  "hsl": {
    "h": 60,
    "s": 51.049,
    "l": 71.961
  },
  "oklch": {
    "l": 0.8777,
    "c": 0.09354,
    "h": 108.2
  },
  "luminance": 0.68509
}

Semantic roles & 50–950 ramp

primary
#DCDC93
secondary
#6060B4
accent
#27BE27
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161611
muted
#848481

Preview Lab

Preview with #DCDC93

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

Preview Lab → · Contrast checker → · Palette generator →

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