#DCC56E#DCC56E

#DCC56E is a very light, moderate yellow. Relative luminance 0.563; OKLCH L 82.5% C 0.111 H 94.9°. Best body text is #000000 at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#DCC56E
RGBrgb(220, 197, 110)
HSLhsl(47, 61%, 65%)
HSVhsv(47, 50%, 86%)
CMYKcmyk(0%, 10.5%, 50%, 13.7%)
CIE-LABlab(79.77, -3.09, 46.26)
CIE-LCHlch(79.77, 46.36, 93.82°)
OKLaboklab(82.46% -0.0095 0.1102)
OKLCHoklch(82.46% 0.111 94.9)
XYZxyz(52.2977, 56.2761, 22.8564)
Luminance0.5627 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC56E #6E85DC
analogous
#DC8E6E #DCC56E #BCDC6E
triadic
#DCC56E #6EDCC5 #C56EDC
tetradic
#DCC56E #6EDC8E #6E85DC #DC6EBC
square
#DCC56E #6EDC8E #6E85DC #DC6EBC
split-complementary
#DCC56E #6EBCDC #8E6EDC
monochromatic
#A78D28 #D0B13D #DCC56E #E8D99F #F4ECD1

Accessibility & contrast

On white

1.71
#DCC56E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.25
#DCC56E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC56E
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC56E#FFFFFF#000000##000000
##DCC56E1.001.7112.2512.25
#FFFFFF1.711.0021.0021.00
#00000012.2521.001.001.00
##00000012.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C267
Deuteranopia (green-blind)
#DBC971
Tritanopia (blue-blind)
#EBB9B0
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #dcc56e;
/* rgb */ color: rgb(220, 197, 110);
/* oklch */ color: oklch(82.5% 0.111 94.9);
Tailwind
colors: {
  custom: {
    50: '#e9d699',
    500: '#dcc56e',
    950: '#000000',
  },
}
SCSS
$custom: #dcc56e;
$custom-light: #e9d699;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc56e",
  "rgb": {
    "r": 220,
    "g": 197,
    "b": 110
  },
  "hsl": {
    "h": 47.455,
    "s": 61.111,
    "l": 64.706
  },
  "oklch": {
    "l": 0.82459,
    "c": 0.11064,
    "h": 94.9
  },
  "luminance": 0.56274
}

Semantic roles & 50–950 ramp

primary
#DCC56E
secondary
#4459AA
accent
#41C91D
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140E
muted
#85837F

Preview Lab

Preview with #DCC56E

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

Preview Lab → · Contrast checker → · Palette generator →

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