#DCD073#DCD073

#DCD073 is a very light, moderate yellow. Relative luminance 0.616; OKLCH L 84.8% C 0.116 H 102.0°. Best body text is #000000 at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#DCD073
RGBrgb(220, 208, 115)
HSLhsl(53, 60%, 66%)
HSVhsv(53, 48%, 86%)
CMYKcmyk(0%, 5.5%, 47.7%, 13.7%)
CIE-LABlab(82.68, -8.28, 47.36)
CIE-LCHlch(82.68, 48.08, 99.92°)
OKLaboklab(84.79% -0.024 0.1131)
OKLCHoklch(84.79% 0.116 102)
XYZxyz(55.1670, 61.5670, 25.1940)
Luminance0.6157 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD073 #737FDC
analogous
#DC9B73 #DCD073 #B3DC73
triadic
#DCD073 #73DCD0 #D073DC
tetradic
#DCD073 #73DC9B #737FDC #DC73B3
square
#DCD073 #73DC9B #737FDC #DC73B3
split-complementary
#DCD073 #73B3DC #9B73DC
monochromatic
#AA9C2B #D0C042 #DCD073 #E8E0A4 #F4F1D5

Accessibility & contrast

On white

1.58
#DCD073 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.31
#DCD073 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD073
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD073#FFFFFF#000000##000000
##DCD0731.001.5813.3113.31
#FFFFFF1.581.0021.0021.00
#00000013.3121.001.001.00
##00000013.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFCB6B
Deuteranopia (green-blind)
#E3D077
Tritanopia (blue-blind)
#EAC5BA
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #dcd073;
/* rgb */ color: rgb(220, 208, 115);
/* oklch */ color: oklch(84.8% 0.116 102.0);
Tailwind
colors: {
  custom: {
    50: '#e9de9d',
    500: '#dcd073',
    950: '#000000',
  },
}
SCSS
$custom: #dcd073;
$custom-light: #e9de9d;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd073",
  "rgb": {
    "r": 220,
    "g": 208,
    "b": 115
  },
  "hsl": {
    "h": 53.143,
    "s": 60,
    "l": 65.686
  },
  "oklch": {
    "l": 0.84785,
    "c": 0.11557,
    "h": 102
  },
  "luminance": 0.61565
}

Semantic roles & 50–950 ramp

primary
#DCD073
secondary
#4752AD
accent
#31C81E
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DCD073

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

Preview Lab → · Contrast checker → · Palette generator →

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