#CCC079#CCC079

#CCC079 is a light, moderate yellow. Relative luminance 0.519; OKLCH L 80.2% C 0.092 H 99.8°. Best body text is #000000 at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#CCC079
RGBrgb(204, 192, 121)
HSLhsl(51, 45%, 64%)
HSVhsv(51, 41%, 80%)
CMYKcmyk(0%, 5.9%, 40.7%, 20%)
CIE-LABlab(77.23, -5.90, 37.27)
CIE-LCHlch(77.23, 37.74, 99.00°)
OKLaboklab(80.17% -0.0158 0.091)
OKLCHoklch(80.17% 0.092 99.8)
XYZxyz(47.2036, 51.9185, 25.6202)
Luminance0.5192 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC079 #7985CC
analogous
#CC9679 #CCC079 #AECC79
triadic
#CCC079 #79CCC0 #C079CC
tetradic
#CCC079 #79CC96 #7985CC #CC79AE
square
#CCC079 #79CC96 #7985CC #CC79AE
split-complementary
#CCC079 #79AECC #9679CC
monochromatic
#938638 #BBAB4D #CCC079 #DDD5A5 #EEEAD2

Accessibility & contrast

On white

1.84
#CCC079 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.38
#CCC079 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC079
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC079#FFFFFF#000000##000000
##CCC0791.001.8411.3811.38
#FFFFFF1.841.0021.0021.00
#00000011.3821.001.001.00
##00000011.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDBC74
Deuteranopia (green-blind)
#D0C17C
Tritanopia (blue-blind)
#D8B7AE
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #ccc079;
/* rgb */ color: rgb(204, 192, 121);
/* oklch */ color: oklch(80.2% 0.092 99.8);
Tailwind
colors: {
  custom: {
    50: '#ddd2a0',
    500: '#ccc079',
    950: '#000000',
  },
}
SCSS
$custom: #ccc079;
$custom-light: #ddd2a0;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc079",
  "rgb": {
    "r": 204,
    "g": 192,
    "b": 121
  },
  "hsl": {
    "h": 51.325,
    "s": 44.865,
    "l": 63.725
  },
  "oklch": {
    "l": 0.80168,
    "c": 0.09233,
    "h": 99.8
  },
  "luminance": 0.51917
}

Semantic roles & 50–950 ramp

primary
#CCC079
secondary
#505B99
accent
#42B82D
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CCC079

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

Preview Lab → · Contrast checker → · Palette generator →

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