#CCC779#CCC779

#CCC779 is a light, moderate yellow. Relative luminance 0.551; OKLCH L 81.6% C 0.100 H 105.2°. Best body text is #000000 at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#CCC779
RGBrgb(204, 199, 121)
HSLhsl(56, 45%, 64%)
HSVhsv(56, 41%, 80%)
CMYKcmyk(0%, 2.5%, 40.7%, 20%)
CIE-LABlab(79.08, -9.51, 39.62)
CIE-LCHlch(79.08, 40.75, 103.50°)
OKLaboklab(81.63% -0.0262 0.0963)
OKLCHoklch(81.63% 0.1 105.2)
XYZxyz(48.7773, 55.0659, 26.1448)
Luminance0.5506 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC779 #797ECC
analogous
#CC9D79 #CCC779 #A7CC79
triadic
#CCC779 #79CCC7 #C779CC
tetradic
#CCC779 #79CC9D #797ECC #CC79A7
square
#CCC779 #79CC9D #797ECC #CC79A7
split-complementary
#CCC779 #79A7CC #9D79CC
monochromatic
#938D38 #BBB44D #CCC779 #DDDAA5 #EEECD2

Accessibility & contrast

On white

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

On black

12.01
#CCC779 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC779
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC779#FFFFFF#000000##000000
##CCC7791.001.7512.0112.01
#FFFFFF1.751.0021.0021.00
#00000012.0121.001.001.00
##00000012.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C273
Deuteranopia (green-blind)
#D6C67C
Tritanopia (blue-blind)
#D7BEB4
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #ccc779;
/* rgb */ color: rgb(204, 199, 121);
/* oklch */ color: oklch(81.6% 0.100 105.2);
Tailwind
colors: {
  custom: {
    50: '#ddd7a1',
    500: '#ccc779',
    950: '#000000',
  },
}
SCSS
$custom: #ccc779;
$custom-light: #ddd7a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc779",
  "rgb": {
    "r": 204,
    "g": 199,
    "b": 121
  },
  "hsl": {
    "h": 56.386,
    "s": 44.865,
    "l": 63.725
  },
  "oklch": {
    "l": 0.81633,
    "c": 0.09981,
    "h": 105.2
  },
  "luminance": 0.55065
}

Semantic roles & 50–950 ramp

primary
#CCC779
secondary
#505499
accent
#36B82D
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CCC779

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

Preview Lab → · Contrast checker → · Palette generator →

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