#DCC168#DCC168

#DCC168 is a light, moderate yellow. Relative luminance 0.544; OKLCH L 81.6% C 0.113 H 92.9°. Best body text is #000000 at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#DCC168
RGBrgb(220, 193, 104)
HSLhsl(46, 62%, 64%)
HSVhsv(46, 53%, 86%)
CMYKcmyk(0%, 12.3%, 52.7%, 13.7%)
CIE-LABlab(78.67, -1.53, 47.86)
CIE-LCHlch(78.67, 47.89, 91.83°)
OKLaboklab(81.57% -0.0057 0.1133)
OKLCHoklch(81.57% 0.113 92.9)
XYZxyz(51.0858, 54.3574, 20.8952)
Luminance0.5435 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC168 #6883DC
analogous
#DC8768 #DCC168 #BDDC68
triadic
#DCC168 #68DCC1 #C168DC
tetradic
#DCC168 #68DC87 #6883DC #DC68BD
square
#DCC168 #68DC87 #6883DC #DC68BD
split-complementary
#DCC168 #68BDDC #8768DC
monochromatic
#A48626 #D0AD36 #DCC168 #E8D59A #F3EACB

Accessibility & contrast

On white

1.77
#DCC168 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.87
#DCC168 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC168
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC168#FFFFFF#000000##000000
##DCC1681.001.7711.8711.87
#FFFFFF1.771.0021.0021.00
#00000011.8721.001.001.00
##00000011.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BE60
Deuteranopia (green-blind)
#D9C66C
Tritanopia (blue-blind)
#EBB5AC
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #dcc168;
/* rgb */ color: rgb(220, 193, 104);
/* oklch */ color: oklch(81.6% 0.113 92.9);
Tailwind
colors: {
  custom: {
    50: '#e9d395',
    500: '#dcc168',
    950: '#000000',
  },
}
SCSS
$custom: #dcc168;
$custom-light: #e9d395;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc168",
  "rgb": {
    "r": 220,
    "g": 193,
    "b": 104
  },
  "hsl": {
    "h": 46.034,
    "s": 62.366,
    "l": 63.529
  },
  "oklch": {
    "l": 0.81566,
    "c": 0.11339,
    "h": 92.9
  },
  "luminance": 0.54355
}

Semantic roles & 50–950 ramp

primary
#DCC168
secondary
#4159A7
accent
#44CA1B
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F

Preview Lab

Preview with #DCC168

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

Preview Lab → · Contrast checker → · Palette generator →

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