#DCC272#DCC272

#DCC272 is a light, moderate yellow. Relative luminance 0.550; OKLCH L 81.9% C 0.104 H 91.9°. Best body text is #000000 at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#DCC272
RGBrgb(220, 194, 114)
HSLhsl(45, 60%, 65%)
HSVhsv(45, 48%, 86%)
CMYKcmyk(0%, 11.8%, 48.2%, 13.7%)
CIE-LABlab(79.05, -1.17, 43.40)
CIE-LCHlch(79.05, 43.41, 91.54°)
OKLaboklab(81.91% -0.0035 0.1042)
OKLCHoklch(81.91% 0.104 91.9)
XYZxyz(51.8459, 55.0163, 23.8046)
Luminance0.5501 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC272 #728CDC
analogous
#DC8D72 #DCC272 #C1DC72
triadic
#DCC272 #72DCC2 #C272DC
tetradic
#DCC272 #72DC8D #728CDC #DC72C1
square
#DCC272 #72DC8D #728CDC #DC72C1
split-complementary
#DCC272 #72C1DC #8D72DC
monochromatic
#AA8A2A #D0AD41 #DCC272 #E8D7A3 #F4ECD4

Accessibility & contrast

On white

1.75
#DCC272 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.00
#DCC272 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC272
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC272#FFFFFF#000000##000000
##DCC2721.001.7512.0012.00
#FFFFFF1.751.0021.0021.00
#00000012.0021.001.001.00
##00000012.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BF6B
Deuteranopia (green-blind)
#D8C775
Tritanopia (blue-blind)
#EBB7AF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #dcc272;
/* rgb */ color: rgb(220, 194, 114);
/* oklch */ color: oklch(81.9% 0.104 91.9);
Tailwind
colors: {
  custom: {
    50: '#e9d49c',
    500: '#dcc272',
    950: '#000000',
  },
}
SCSS
$custom: #dcc272;
$custom-light: #e9d49c;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc272",
  "rgb": {
    "r": 220,
    "g": 194,
    "b": 114
  },
  "hsl": {
    "h": 45.283,
    "s": 60.227,
    "l": 65.49
  },
  "oklch": {
    "l": 0.81907,
    "c": 0.10424,
    "h": 91.9
  },
  "luminance": 0.55014
}

Semantic roles & 50–950 ramp

primary
#DCC272
secondary
#465FAC
accent
#47C81E
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140E
muted
#85837F

Preview Lab

Preview with #DCC272

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

Preview Lab → · Contrast checker → · Palette generator →

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