#DCC968#DCC968

#DCC968 is a very light, moderate yellow. Relative luminance 0.580; OKLCH L 83.2% C 0.120 H 98.5°. Best body text is #000000 at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#DCC968
RGBrgb(220, 201, 104)
HSLhsl(50, 62%, 64%)
HSVhsv(50, 53%, 86%)
CMYKcmyk(0%, 8.6%, 52.7%, 13.7%)
CIE-LABlab(80.73, -5.66, 50.32)
CIE-LCHlch(80.73, 50.63, 96.42°)
OKLaboklab(83.2% -0.0176 0.1186)
OKLCHoklch(83.2% 0.12 98.5)
XYZxyz(52.9023, 57.9905, 21.5007)
Luminance0.5799 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC968 #687BDC
analogous
#DC8F68 #DCC968 #B5DC68
triadic
#DCC968 #68DCC9 #C968DC
tetradic
#DCC968 #68DC8F #687BDC #DC68B5
square
#DCC968 #68DC8F #687BDC #DC68B5
split-complementary
#DCC968 #68B5DC #8F68DC
monochromatic
#A48F26 #D0B736 #DCC968 #E8DB9A #F3EDCB

Accessibility & contrast

On white

1.67
#DCC968 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.60
#DCC968 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC968
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC968#FFFFFF#000000##000000
##DCC9681.001.6712.6012.60
#FFFFFF1.671.0021.0021.00
#00000012.6021.001.001.00
##00000012.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C45F
Deuteranopia (green-blind)
#DECB6C
Tritanopia (blue-blind)
#EBBDB3
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #dcc968;
/* rgb */ color: rgb(220, 201, 104);
/* oklch */ color: oklch(83.2% 0.120 98.5);
Tailwind
colors: {
  custom: {
    50: '#e9d995',
    500: '#dcc968',
    950: '#000000',
  },
}
SCSS
$custom: #dcc968;
$custom-light: #e9d995;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc968",
  "rgb": {
    "r": 220,
    "g": 201,
    "b": 104
  },
  "hsl": {
    "h": 50.172,
    "s": 62.366,
    "l": 63.529
  },
  "oklch": {
    "l": 0.83198,
    "c": 0.11991,
    "h": 98.5
  },
  "luminance": 0.57988
}

Semantic roles & 50–950 ramp

primary
#DCC968
secondary
#4152A7
accent
#38CA1B
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F

Preview Lab

Preview with #DCC968

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

Preview Lab → · Contrast checker → · Palette generator →

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