#DCDC91#DCDC91

#DCDC91 is a very light, moderate yellow. Relative luminance 0.684; OKLCH L 87.7% C 0.096 H 108.2°. Best body text is #000000 at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#DCDC91
RGBrgb(220, 220, 145)
HSLhsl(60, 52%, 72%)
HSVhsv(60, 34%, 86%)
CMYKcmyk(0%, 0%, 34.1%, 13.7%)
CIE-LABlab(86.23, -11.20, 36.92)
CIE-LCHlch(86.23, 38.58, 106.88°)
OKLaboklab(87.74% -0.03 0.0911)
OKLCHoklch(87.74% 0.096 108.2)
XYZxyz(60.2198, 68.4475, 36.8219)
Luminance0.6845 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCDC91 #9191DC
analogous
#DCB791 #DCDC91 #B7DC91
triadic
#DCDC91 #91DCDC #DC91DC
tetradic
#DCDC91 #91DCB7 #9191DC #DC91B7
square
#DCDC91 #91DCB7 #9191DC #DC91B7
split-complementary
#DCDC91 #91B7DC #B791DC
monochromatic
#B8B83B #CDCD63 #DCDC91 #EBEBBF #F8F8E8

Accessibility & contrast

On white

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

On black

14.69
#DCDC91 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCDC91
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCDC91#FFFFFF#000000##000000
##DCDC911.001.4314.6914.69
#FFFFFF1.431.0021.0021.00
#00000014.6921.001.001.00
##00000014.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcdc91;
/* rgb */ color: rgb(220, 220, 145);
/* oklch */ color: oklch(87.7% 0.096 108.2);
Tailwind
colors: {
  custom: {
    50: '#e8e6b2',
    500: '#dcdc91',
    950: '#000000',
  },
}
SCSS
$custom: #dcdc91;
$custom-light: #e8e6b2;
$custom-dark: #000000;
JSON
{
  "hex": "#dcdc91",
  "rgb": {
    "r": 220,
    "g": 220,
    "b": 145
  },
  "hsl": {
    "h": 60,
    "s": 51.724,
    "l": 71.569
  },
  "oklch": {
    "l": 0.87735,
    "c": 0.09587,
    "h": 108.2
  },
  "luminance": 0.68446
}

Semantic roles & 50–950 ramp

primary
#DCDC91
secondary
#5E5EB3
accent
#26BF26
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161611
muted
#848481

Preview Lab

Preview with #DCDC91

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

Preview Lab → · Contrast checker → · Palette generator →

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