#DCD772#DCD772

#DCD772 is a very light, vivid yellow. Relative luminance 0.650; OKLCH L 86.2% C 0.124 H 106.2°. Best body text is #000000 at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#DCD772
RGBrgb(220, 215, 114)
HSLhsl(57, 60%, 65%)
HSVhsv(57, 48%, 86%)
CMYKcmyk(0%, 2.3%, 48.2%, 13.7%)
CIE-LABlab(84.50, -11.91, 50.04)
CIE-LCHlch(84.50, 51.44, 103.38°)
OKLaboklab(86.23% -0.0345 0.1189)
OKLCHoklch(86.23% 0.124 106.2)
XYZxyz(56.8543, 65.0330, 25.4740)
Luminance0.6503 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD772 #7277DC
analogous
#DCA272 #DCD772 #ACDC72
triadic
#DCD772 #72DCD7 #D772DC
tetradic
#DCD772 #72DCA2 #7277DC #DC72AC
square
#DCD772 #72DCA2 #7277DC #DC72AC
split-complementary
#DCD772 #72ACDC #A272DC
monochromatic
#AAA42A #D0C941 #DCD772 #E8E5A3 #F4F3D4

Accessibility & contrast

On white

1.50
#DCD772 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.01
#DCD772 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD772
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD772#FFFFFF#000000##000000
##DCD7721.001.5014.0114.01
#FFFFFF1.501.0021.0021.00
#00000014.0121.001.001.00
##00000014.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D069
Deuteranopia (green-blind)
#E8D577
Tritanopia (blue-blind)
#E9CCC0
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #dcd772;
/* rgb */ color: rgb(220, 215, 114);
/* oklch */ color: oklch(86.2% 0.124 106.2);
Tailwind
colors: {
  custom: {
    50: '#e9e39d',
    500: '#dcd772',
    950: '#000000',
  },
}
SCSS
$custom: #dcd772;
$custom-light: #e9e39d;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd772",
  "rgb": {
    "r": 220,
    "g": 215,
    "b": 114
  },
  "hsl": {
    "h": 57.17,
    "s": 60.227,
    "l": 65.49
  },
  "oklch": {
    "l": 0.86225,
    "c": 0.12379,
    "h": 106.2
  },
  "luminance": 0.65031
}

Semantic roles & 50–950 ramp

primary
#DCD772
secondary
#464BAC
accent
#26C81E
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DCD772

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

Preview Lab → · Contrast checker → · Palette generator →

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