#DCC672#DCC672

#DCC672 is a very light, moderate yellow. Relative luminance 0.568; OKLCH L 82.7% C 0.107 H 95.1°. Best body text is #000000 at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#DCC672
RGBrgb(220, 198, 114)
HSLhsl(48, 60%, 65%)
HSVhsv(48, 48%, 86%)
CMYKcmyk(0%, 10%, 48.2%, 13.7%)
CIE-LABlab(80.08, -3.24, 44.66)
CIE-LCHlch(80.08, 44.78, 94.15°)
OKLaboklab(82.72% -0.0096 0.107)
OKLCHoklch(82.72% 0.107 95.1)
XYZxyz(52.7482, 56.8208, 24.1053)
Luminance0.5682 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC672 #7288DC
analogous
#DC9172 #DCC672 #BDDC72
triadic
#DCC672 #72DCC6 #C672DC
tetradic
#DCC672 #72DC91 #7288DC #DC72BD
square
#DCC672 #72DC91 #7288DC #DC72BD
split-complementary
#DCC672 #72BDDC #9172DC
monochromatic
#AA8F2A #D0B241 #DCC672 #E8DAA3 #F4EED4

Accessibility & contrast

On white

1.70
#DCC672 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.36
#DCC672 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC672
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC672#FFFFFF#000000##000000
##DCC6721.001.7012.3612.36
#FFFFFF1.701.0021.0021.00
#00000012.3621.001.001.00
##00000012.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C36B
Deuteranopia (green-blind)
#DBCA75
Tritanopia (blue-blind)
#EABBB2
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #dcc672;
/* rgb */ color: rgb(220, 198, 114);
/* oklch */ color: oklch(82.7% 0.107 95.1);
Tailwind
colors: {
  custom: {
    50: '#e9d79c',
    500: '#dcc672',
    950: '#000000',
  },
}
SCSS
$custom: #dcc672;
$custom-light: #e9d79c;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc672",
  "rgb": {
    "r": 220,
    "g": 198,
    "b": 114
  },
  "hsl": {
    "h": 47.547,
    "s": 60.227,
    "l": 65.49
  },
  "oklch": {
    "l": 0.82719,
    "c": 0.10744,
    "h": 95.1
  },
  "luminance": 0.56819
}

Semantic roles & 50–950 ramp

primary
#DCC672
secondary
#465BAC
accent
#41C81E
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140E
muted
#85837F

Preview Lab

Preview with #DCC672

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

Preview Lab → · Contrast checker → · Palette generator →

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