#CCC770#CCC770

#CCC770 is a light, moderate yellow. Relative luminance 0.549; OKLCH L 81.5% C 0.110 H 105.7°. Best body text is #000000 at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#CCC770
RGBrgb(204, 199, 112)
HSLhsl(57, 47%, 62%)
HSVhsv(57, 45%, 80%)
CMYKcmyk(0%, 2.5%, 45.1%, 20%)
CIE-LABlab(78.96, -10.44, 43.97)
CIE-LCHlch(78.96, 45.19, 103.35°)
OKLaboklab(81.5% -0.0296 0.1055)
OKLCHoklch(81.5% 0.11 105.7)
XYZxyz(48.2509, 54.8553, 23.3725)
Luminance0.5485 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC770 #7075CC
analogous
#CC9970 #CCC770 #A3CC70
triadic
#CCC770 #70CCC7 #C770CC
tetradic
#CCC770 #70CC99 #7075CC #CC70A3
square
#CCC770 #70CC99 #7075CC #CC70A3
split-complementary
#CCC770 #70A3CC #9970CC
monochromatic
#8F8A33 #BCB543 #CCC770 #DCD99D #ECEACA

Accessibility & contrast

On white

1.75
#CCC770 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.97
#CCC770 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC770
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC770#FFFFFF#000000##000000
##CCC7701.001.7511.9711.97
#FFFFFF1.751.0021.0021.00
#00000011.9721.001.001.00
##00000011.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C169
Deuteranopia (green-blind)
#D7C574
Tritanopia (blue-blind)
#D8BDB2
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #ccc770;
/* rgb */ color: rgb(204, 199, 112);
/* oklch */ color: oklch(81.5% 0.110 105.7);
Tailwind
colors: {
  custom: {
    50: '#ddd79b',
    500: '#ccc770',
    950: '#000000',
  },
}
SCSS
$custom: #ccc770;
$custom-light: #ddd79b;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc770",
  "rgb": {
    "r": 204,
    "g": 199,
    "b": 112
  },
  "hsl": {
    "h": 56.739,
    "s": 47.423,
    "l": 61.961
  },
  "oklch": {
    "l": 0.81497,
    "c": 0.1096,
    "h": 105.7
  },
  "luminance": 0.54854
}

Semantic roles & 50–950 ramp

primary
#CCC770
secondary
#4B4F95
accent
#33BB2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CCC770

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

Preview Lab → · Contrast checker → · Palette generator →

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