#CCC679#CCC679

#CCC679 is a light, moderate yellow. Relative luminance 0.546; OKLCH L 81.4% C 0.099 H 104.5°. Best body text is #000000 at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#CCC679
RGBrgb(204, 198, 121)
HSLhsl(56, 45%, 64%)
HSVhsv(56, 41%, 80%)
CMYKcmyk(0%, 2.9%, 40.7%, 20%)
CIE-LABlab(78.81, -9.00, 39.28)
CIE-LCHlch(78.81, 40.30, 102.91°)
OKLaboklab(81.42% -0.0247 0.0956)
OKLCHoklch(81.42% 0.099 104.5)
XYZxyz(48.5480, 54.6072, 26.0683)
Luminance0.5461 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC679 #797FCC
analogous
#CC9C79 #CCC679 #A8CC79
triadic
#CCC679 #79CCC6 #C679CC
tetradic
#CCC679 #79CC9C #797FCC #CC79A8
square
#CCC679 #79CC9C #797FCC #CC79A8
split-complementary
#CCC679 #79A8CC #9C79CC
monochromatic
#938C38 #BBB34D #CCC679 #DDD9A5 #EEECD2

Accessibility & contrast

On white

1.76
#CCC679 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.92
#CCC679 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC679
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC679#FFFFFF#000000##000000
##CCC6791.001.7611.9211.92
#FFFFFF1.761.0021.0021.00
#00000011.9221.001.001.00
##00000011.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2C173
Deuteranopia (green-blind)
#D5C57C
Tritanopia (blue-blind)
#D7BDB3
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #ccc679;
/* rgb */ color: rgb(204, 198, 121);
/* oklch */ color: oklch(81.4% 0.099 104.5);
Tailwind
colors: {
  custom: {
    50: '#ddd7a1',
    500: '#ccc679',
    950: '#000000',
  },
}
SCSS
$custom: #ccc679;
$custom-light: #ddd7a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc679",
  "rgb": {
    "r": 204,
    "g": 198,
    "b": 121
  },
  "hsl": {
    "h": 55.663,
    "s": 44.865,
    "l": 63.725
  },
  "oklch": {
    "l": 0.81423,
    "c": 0.09869,
    "h": 104.5
  },
  "luminance": 0.54606
}

Semantic roles & 50–950 ramp

primary
#CCC679
secondary
#505599
accent
#37B82D
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CCC679

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

Preview Lab → · Contrast checker → · Palette generator →

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