#DCD174#DCD174

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

Color values

HEX#DCD174
RGBrgb(220, 209, 116)
HSLhsl(54, 60%, 66%)
HSVhsv(54, 47%, 86%)
CMYKcmyk(0%, 5%, 47.3%, 13.7%)
CIE-LABlab(82.96, -8.69, 47.20)
CIE-LCHlch(82.96, 48.00, 100.44°)
OKLaboklab(85.01% -0.0251 0.1128)
OKLCHoklch(85.01% 0.116 102.5)
XYZxyz(55.4695, 62.0793, 25.5802)
Luminance0.6208 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD174 #747FDC
analogous
#DC9D74 #DCD174 #B3DC74
triadic
#DCD174 #74DCD1 #D174DC
tetradic
#DCD174 #74DC9D #747FDC #DC74B3
square
#DCD174 #74DC9D #747FDC #DC74B3
split-complementary
#DCD174 #74B3DC #9D74DC
monochromatic
#AB9D2B #D0C143 #DCD174 #E8E1A5 #F5F1D6

Accessibility & contrast

On white

1.57
#DCD174 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCD174#FFFFFF#000000##000000
##DCD1741.001.5713.4213.42
#FFFFFF1.571.0021.0021.00
#00000013.4221.001.001.00
##00000013.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcd174;
/* rgb */ color: rgb(220, 209, 116);
/* oklch */ color: oklch(85.0% 0.116 102.5);
Tailwind
colors: {
  custom: {
    50: '#e9de9e',
    500: '#dcd174',
    950: '#000000',
  },
}
SCSS
$custom: #dcd174;
$custom-light: #e9de9e;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd174",
  "rgb": {
    "r": 220,
    "g": 209,
    "b": 116
  },
  "hsl": {
    "h": 53.654,
    "s": 59.77,
    "l": 65.882
  },
  "oklch": {
    "l": 0.85005,
    "c": 0.11555,
    "h": 102.5
  },
  "luminance": 0.62078
}

Semantic roles & 50–950 ramp

primary
#DCD174
secondary
#4752AD
accent
#30C71E
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DCD174

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

Preview Lab → · Contrast checker → · Palette generator →

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