#DCD175#DCD175

#DCD175 is a very light, moderate yellow. Relative luminance 0.621; OKLCH L 85.0% C 0.115 H 102.5°. Best body text is #000000 at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#DCD175
RGBrgb(220, 209, 117)
HSLhsl(54, 60%, 66%)
HSVhsv(54, 47%, 86%)
CMYKcmyk(0%, 5%, 46.8%, 13.7%)
CIE-LABlab(82.97, -8.60, 46.73)
CIE-LCHlch(82.97, 47.52, 100.43°)
OKLaboklab(85.02% -0.0247 0.1118)
OKLCHoklch(85.02% 0.115 102.5)
XYZxyz(55.5280, 62.1027, 25.8882)
Luminance0.6210 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD175 #7580DC
analogous
#DC9D75 #DCD175 #B3DC75
triadic
#DCD175 #75DCD1 #D175DC
tetradic
#DCD175 #75DC9D #7580DC #DC75B3
square
#DCD175 #75DC9D #7580DC #DC75B3
split-complementary
#DCD175 #75B3DC #9D75DC
monochromatic
#AB9E2B #D0C144 #DCD175 #E8E1A6 #F5F2D7

Accessibility & contrast

On white

1.56
#DCD175 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.42
#DCD175 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD175
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD175#FFFFFF#000000##000000
##DCD1751.001.5613.4213.42
#FFFFFF1.561.0021.0021.00
#00000013.4221.001.001.00
##00000013.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CC6D
Deuteranopia (green-blind)
#E3D179
Tritanopia (blue-blind)
#E9C6BB
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #dcd175;
/* rgb */ color: rgb(220, 209, 117);
/* oklch */ color: oklch(85.0% 0.115 102.5);
Tailwind
colors: {
  custom: {
    50: '#e9de9e',
    500: '#dcd175',
    950: '#000000',
  },
}
SCSS
$custom: #dcd175;
$custom-light: #e9de9e;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd175",
  "rgb": {
    "r": 220,
    "g": 209,
    "b": 117
  },
  "hsl": {
    "h": 53.592,
    "s": 59.538,
    "l": 66.078
  },
  "oklch": {
    "l": 0.85019,
    "c": 0.11452,
    "h": 102.5
  },
  "luminance": 0.62101
}

Semantic roles & 50–950 ramp

primary
#DCD175
secondary
#4852AE
accent
#30C71E
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DCD175

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

Preview Lab → · Contrast checker → · Palette generator →

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