#DCDC92#DCDC92

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

Color values

HEX#DCDC92
RGBrgb(220, 220, 146)
HSLhsl(60, 51%, 72%)
HSVhsv(60, 34%, 86%)
CMYKcmyk(0%, 0%, 33.6%, 13.7%)
CIE-LABlab(86.25, -11.09, 36.43)
CIE-LCHlch(86.25, 38.08, 106.93°)
OKLaboklab(87.75% -0.0296 0.09)
OKLCHoklch(87.75% 0.095 108.2)
XYZxyz(60.2972, 68.4784, 37.2298)
Luminance0.6848 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCDC92 #9292DC
analogous
#DCB792 #DCDC92 #B7DC92
triadic
#DCDC92 #92DCDC #DC92DC
tetradic
#DCDC92 #92DCB7 #9292DC #DC92B7
square
#DCDC92 #92DCB7 #9292DC #DC92B7
split-complementary
#DCDC92 #92B7DC #B792DC
monochromatic
#B8B83B #CDCD64 #DCDC92 #EBEBC0 #F8F8E8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCDC92#FFFFFF#000000##000000
##DCDC921.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)
#E8D68D
Deuteranopia (green-blind)
#E9D995
Tritanopia (blue-blind)
#E6D3C9
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #dcdc92;
/* rgb */ color: rgb(220, 220, 146);
/* oklch */ color: oklch(87.8% 0.095 108.2);
Tailwind
colors: {
  custom: {
    50: '#e8e6b2',
    500: '#dcdc92',
    950: '#000000',
  },
}
SCSS
$custom: #dcdc92;
$custom-light: #e8e6b2;
$custom-dark: #000000;
JSON
{
  "hex": "#dcdc92",
  "rgb": {
    "r": 220,
    "g": 220,
    "b": 146
  },
  "hsl": {
    "h": 60,
    "s": 51.389,
    "l": 71.765
  },
  "oklch": {
    "l": 0.87753,
    "c": 0.09471,
    "h": 108.2
  },
  "luminance": 0.68477
}

Semantic roles & 50–950 ramp

primary
#DCDC92
secondary
#5F5FB4
accent
#27BF27
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161611
muted
#848481

Preview Lab

Preview with #DCDC92

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

Preview Lab → · Contrast checker → · Palette generator →

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