#CCCB79#CCCB79

#CCCB79 is a very light, moderate yellow. Relative luminance 0.569; OKLCH L 82.5% C 0.104 H 107.9°. Best body text is #000000 at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#CCCB79
RGBrgb(204, 203, 121)
HSLhsl(59, 45%, 64%)
HSVhsv(59, 41%, 80%)
CMYKcmyk(0%, 0.5%, 40.7%, 20%)
CIE-LABlab(80.14, -11.55, 40.96)
CIE-LCHlch(80.14, 42.56, 105.75°)
OKLaboklab(82.48% -0.032 0.0993)
OKLCHoklch(82.48% 0.104 107.9)
XYZxyz(49.7097, 56.9308, 26.4556)
Luminance0.5693 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCB79 #797ACC
analogous
#CCA179 #CCCB79 #A3CC79
triadic
#CCCB79 #79CCCB #CB79CC
tetradic
#CCCB79 #79CCA1 #797ACC #CC79A3
square
#CCCB79 #79CCA1 #797ACC #CC79A3
split-complementary
#CCCB79 #79A3CC #A179CC
monochromatic
#939238 #BBBA4D #CCCB79 #DDDCA5 #EEEDD2

Accessibility & contrast

On white

1.70
#CCCB79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.39
#CCCB79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCB79
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCB79#FFFFFF#000000##000000
##CCCB791.001.7012.3912.39
#FFFFFF1.701.0021.0021.00
#00000012.3921.001.001.00
##00000012.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C573
Deuteranopia (green-blind)
#D9C87D
Tritanopia (blue-blind)
#D7C2B7
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cccb79;
/* rgb */ color: rgb(204, 203, 121);
/* oklch */ color: oklch(82.5% 0.104 107.9);
Tailwind
colors: {
  custom: {
    50: '#dddaa1',
    500: '#cccb79',
    950: '#000000',
  },
}
SCSS
$custom: #cccb79;
$custom-light: #dddaa1;
$custom-dark: #000000;
JSON
{
  "hex": "#cccb79",
  "rgb": {
    "r": 204,
    "g": 203,
    "b": 121
  },
  "hsl": {
    "h": 59.277,
    "s": 44.865,
    "l": 63.725
  },
  "oklch": {
    "l": 0.82476,
    "c": 0.10438,
    "h": 107.9
  },
  "luminance": 0.5693
}

Semantic roles & 50–950 ramp

primary
#CCCB79
secondary
#505199
accent
#2FB82D
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CCCB79

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

Preview Lab → · Contrast checker → · Palette generator →

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