#DCD072#DCD072

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

Color values

HEX#DCD072
RGBrgb(220, 208, 114)
HSLhsl(53, 60%, 65%)
HSVhsv(53, 48%, 86%)
CMYKcmyk(0%, 5.5%, 48.2%, 13.7%)
CIE-LABlab(82.67, -8.37, 47.83)
CIE-LCHlch(82.67, 48.56, 99.93°)
OKLaboklab(84.77% -0.0244 0.114)
OKLCHoklch(84.77% 0.117 102.1)
XYZxyz(55.1098, 61.5441, 24.8925)
Luminance0.6154 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD072 #727EDC
analogous
#DC9B72 #DCD072 #B3DC72
triadic
#DCD072 #72DCD0 #D072DC
tetradic
#DCD072 #72DC9B #727EDC #DC72B3
square
#DCD072 #72DC9B #727EDC #DC72B3
split-complementary
#DCD072 #72B3DC #9B72DC
monochromatic
#AA9B2A #D0C041 #DCD072 #E8E0A3 #F4F1D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCD072#FFFFFF#000000##000000
##DCD0721.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)
#DFCB6A
Deuteranopia (green-blind)
#E3D076
Tritanopia (blue-blind)
#EAC5BA
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #dcd072;
/* rgb */ color: rgb(220, 208, 114);
/* oklch */ color: oklch(84.8% 0.117 102.1);
Tailwind
colors: {
  custom: {
    50: '#e9de9c',
    500: '#dcd072',
    950: '#000000',
  },
}
SCSS
$custom: #dcd072;
$custom-light: #e9de9c;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd072",
  "rgb": {
    "r": 220,
    "g": 208,
    "b": 114
  },
  "hsl": {
    "h": 53.208,
    "s": 60.227,
    "l": 65.49
  },
  "oklch": {
    "l": 0.84771,
    "c": 0.1166,
    "h": 102.1
  },
  "luminance": 0.61542
}

Semantic roles & 50–950 ramp

primary
#DCD072
secondary
#4652AC
accent
#31C81E
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DCD072

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

Preview Lab → · Contrast checker → · Palette generator →

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