#CCB978#CCB978

#CCB978 is a light, moderate yellow. Relative luminance 0.489; OKLCH L 78.7% C 0.087 H 93.7°. Best body text is #000000 at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#CCB978
RGBrgb(204, 185, 120)
HSLhsl(46, 45%, 64%)
HSVhsv(46, 41%, 80%)
CMYKcmyk(0%, 9.3%, 41.2%, 20%)
CIE-LABlab(75.38, -2.36, 35.42)
CIE-LCHlch(75.38, 35.50, 93.81°)
OKLaboklab(78.7% -0.0056 0.0867)
OKLCHoklch(78.7% 0.087 93.7)
XYZxyz(45.6420, 48.8930, 24.7987)
Luminance0.4889 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB978 #788BCC
analogous
#CC8F78 #CCB978 #B5CC78
triadic
#CCB978 #78CCB9 #B978CC
tetradic
#CCB978 #78CC8F #788BCC #CC78B5
square
#CCB978 #78CC8F #788BCC #CC78B5
split-complementary
#CCB978 #78B5CC #8F78CC
monochromatic
#927E37 #BBA24C #CCB978 #DDD0A4 #EEE7D1

Accessibility & contrast

On white

1.95
#CCB978 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.78
#CCB978 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB978
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB978#FFFFFF#000000##000000
##CCB9781.001.9510.7810.78
#FFFFFF1.951.0021.0021.00
#00000010.7821.001.001.00
##00000010.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B673
Deuteranopia (green-blind)
#CBBC7A
Tritanopia (blue-blind)
#D8B0A9
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #ccb978;
/* rgb */ color: rgb(204, 185, 120);
/* oklch */ color: oklch(78.7% 0.087 93.7);
Tailwind
colors: {
  custom: {
    50: '#ddcda0',
    500: '#ccb978',
    950: '#000000',
  },
}
SCSS
$custom: #ccb978;
$custom-light: #ddcda0;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb978",
  "rgb": {
    "r": 204,
    "g": 185,
    "b": 120
  },
  "hsl": {
    "h": 46.429,
    "s": 45.161,
    "l": 63.529
  },
  "oklch": {
    "l": 0.78703,
    "c": 0.08688,
    "h": 93.7
  },
  "luminance": 0.48891
}

Semantic roles & 50–950 ramp

primary
#CCB978
secondary
#C1C8DF
accent
#4DB82D
background
#FDFCF9
surface
#FBF9F2
border
#D4D2CC
text
#15130E
muted
#83827E

Preview Lab

Preview with #CCB978

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

Preview Lab → · Contrast checker → · Palette generator →

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