#CCB778#CCB778

#CCB778 is a light, moderate yellow. Relative luminance 0.481; OKLCH L 78.3% C 0.085 H 91.7°. Best body text is #000000 at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#CCB778
RGBrgb(204, 183, 120)
HSLhsl(45, 45%, 64%)
HSVhsv(45, 41%, 80%)
CMYKcmyk(0%, 10.3%, 41.2%, 20%)
CIE-LABlab(74.86, -1.30, 34.75)
CIE-LCHlch(74.86, 34.78, 92.15°)
OKLaboklab(78.29% -0.0026 0.0852)
OKLCHoklch(78.29% 0.085 91.7)
XYZxyz(45.2266, 48.0621, 24.6602)
Luminance0.4806 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB778 #788DCC
analogous
#CC8D78 #CCB778 #B7CC78
triadic
#CCB778 #78CCB7 #B778CC
tetradic
#CCB778 #78CC8D #788DCC #CC78B7
square
#CCB778 #78CC8D #788DCC #CC78B7
split-complementary
#CCB778 #78B7CC #8D78CC
monochromatic
#927C37 #BB9F4C #CCB778 #DDCFA4 #EEE6D1

Accessibility & contrast

On white

1.98
#CCB778 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.61
#CCB778 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB778
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB778#FFFFFF#000000##000000
##CCB7781.001.9810.6110.61
#FFFFFF1.981.0021.0021.00
#00000010.6121.001.001.00
##00000010.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B573
Deuteranopia (green-blind)
#C9BB7A
Tritanopia (blue-blind)
#D8AEA7
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #ccb778;
/* rgb */ color: rgb(204, 183, 120);
/* oklch */ color: oklch(78.3% 0.085 91.7);
Tailwind
colors: {
  custom: {
    50: '#ddcca0',
    500: '#ccb778',
    950: '#000000',
  },
}
SCSS
$custom: #ccb778;
$custom-light: #ddcca0;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb778",
  "rgb": {
    "r": 204,
    "g": 183,
    "b": 120
  },
  "hsl": {
    "h": 45,
    "s": 45.161,
    "l": 63.529
  },
  "oklch": {
    "l": 0.78292,
    "c": 0.0852,
    "h": 91.7
  },
  "luminance": 0.4806
}

Semantic roles & 50–950 ramp

primary
#CCB778
secondary
#C1C8DF
accent
#50B82D
background
#FDFCF9
surface
#FBF8F2
border
#D4D1CC
text
#15130E
muted
#83827E

Preview Lab

Preview with #CCB778

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

Preview Lab → · Contrast checker → · Palette generator →

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