#DCC772#DCC772

#DCC772 is a very light, moderate yellow. Relative luminance 0.573; OKLCH L 82.9% C 0.108 H 95.9°. Best body text is #000000 at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#DCC772
RGBrgb(220, 199, 114)
HSLhsl(48, 60%, 65%)
HSVhsv(48, 48%, 86%)
CMYKcmyk(0%, 9.5%, 48.2%, 13.7%)
CIE-LABlab(80.34, -3.76, 44.98)
CIE-LCHlch(80.34, 45.14, 94.78°)
OKLaboklab(82.92% -0.0111 0.1077)
OKLCHoklch(82.92% 0.108 95.9)
XYZxyz(52.9775, 57.2795, 24.1818)
Luminance0.5728 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC772 #7287DC
analogous
#DC9272 #DCC772 #BCDC72
triadic
#DCC772 #72DCC7 #C772DC
tetradic
#DCC772 #72DC92 #7287DC #DC72BC
square
#DCC772 #72DC92 #7287DC #DC72BC
split-complementary
#DCC772 #72BCDC #9272DC
monochromatic
#AA902A #D0B441 #DCC772 #E8DAA3 #F4EED4

Accessibility & contrast

On white

1.69
#DCC772 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.46
#DCC772 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC772
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC772#FFFFFF#000000##000000
##DCC7721.001.6912.4612.46
#FFFFFF1.691.0021.0021.00
#00000012.4621.001.001.00
##00000012.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcc772;
/* rgb */ color: rgb(220, 199, 114);
/* oklch */ color: oklch(82.9% 0.108 95.9);
Tailwind
colors: {
  custom: {
    50: '#e9d79c',
    500: '#dcc772',
    950: '#000000',
  },
}
SCSS
$custom: #dcc772;
$custom-light: #e9d79c;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc772",
  "rgb": {
    "r": 220,
    "g": 199,
    "b": 114
  },
  "hsl": {
    "h": 48.113,
    "s": 60.227,
    "l": 65.49
  },
  "oklch": {
    "l": 0.82923,
    "c": 0.10828,
    "h": 95.9
  },
  "luminance": 0.57277
}

Semantic roles & 50–950 ramp

primary
#DCC772
secondary
#465AAC
accent
#3FC81E
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140E
muted
#85837F

Preview Lab

Preview with #DCC772

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

Preview Lab → · Contrast checker → · Palette generator →

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