#DCD372#DCD372

#DCD372 is a very light, moderate yellow. Relative luminance 0.630; OKLCH L 85.4% C 0.120 H 103.9°. Best body text is #000000 at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#DCD372
RGBrgb(220, 211, 114)
HSLhsl(55, 60%, 65%)
HSVhsv(55, 48%, 86%)
CMYKcmyk(0%, 4.1%, 48.2%, 13.7%)
CIE-LABlab(83.45, -9.89, 48.78)
CIE-LCHlch(83.45, 49.77, 101.46°)
OKLaboklab(85.39% -0.0287 0.1161)
OKLCHoklch(85.39% 0.12 103.9)
XYZxyz(55.8482, 63.0208, 25.1387)
Luminance0.6302 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD372 #727BDC
analogous
#DC9E72 #DCD372 #B0DC72
triadic
#DCD372 #72DCD3 #D372DC
tetradic
#DCD372 #72DC9E #727BDC #DC72B0
square
#DCD372 #72DC9E #727BDC #DC72B0
split-complementary
#DCD372 #72B0DC #9E72DC
monochromatic
#AA9F2A #D0C441 #DCD372 #E8E2A3 #F4F2D4

Accessibility & contrast

On white

1.54
#DCD372 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.60
#DCD372 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD372
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD372#FFFFFF#000000##000000
##DCD3721.001.5413.6013.60
#FFFFFF1.541.0021.0021.00
#00000013.6021.001.001.00
##00000013.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CD6A
Deuteranopia (green-blind)
#E5D276
Tritanopia (blue-blind)
#E9C8BC
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #dcd372;
/* rgb */ color: rgb(220, 211, 114);
/* oklch */ color: oklch(85.4% 0.120 103.9);
Tailwind
colors: {
  custom: {
    50: '#e9e09c',
    500: '#dcd372',
    950: '#000000',
  },
}
SCSS
$custom: #dcd372;
$custom-light: #e9e09c;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd372",
  "rgb": {
    "r": 220,
    "g": 211,
    "b": 114
  },
  "hsl": {
    "h": 54.906,
    "s": 60.227,
    "l": 65.49
  },
  "oklch": {
    "l": 0.85393,
    "c": 0.11961,
    "h": 103.9
  },
  "luminance": 0.63019
}

Semantic roles & 50–950 ramp

primary
#DCD372
secondary
#464FAC
accent
#2CC81E
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DCD372

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

Preview Lab → · Contrast checker → · Palette generator →

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