#CCCA79#CCCA79

#CCCA79 is a very light, moderate yellow. Relative luminance 0.565; OKLCH L 82.3% C 0.103 H 107.2°. Best body text is #000000 at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#CCCA79
RGBrgb(204, 202, 121)
HSLhsl(59, 45%, 64%)
HSVhsv(59, 41%, 80%)
CMYKcmyk(0%, 1%, 40.7%, 20%)
CIE-LABlab(79.87, -11.05, 40.62)
CIE-LCHlch(79.87, 42.10, 105.21°)
OKLaboklab(82.27% -0.0306 0.0986)
OKLCHoklch(82.27% 0.103 107.2)
XYZxyz(49.4744, 56.4600, 26.3771)
Luminance0.5646 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCA79 #797BCC
analogous
#CCA079 #CCCA79 #A4CC79
triadic
#CCCA79 #79CCCA #CA79CC
tetradic
#CCCA79 #79CCA0 #797BCC #CC79A4
square
#CCCA79 #79CCA0 #797BCC #CC79A4
split-complementary
#CCCA79 #79A4CC #A079CC
monochromatic
#939138 #BBB84D #CCCA79 #DDDCA5 #EEEDD2

Accessibility & contrast

On white

1.71
#CCCA79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.29
#CCCA79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCA79
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCA79#FFFFFF#000000##000000
##CCCA791.001.7112.2912.29
#FFFFFF1.711.0021.0021.00
#00000012.2921.001.001.00
##00000012.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C473
Deuteranopia (green-blind)
#D8C87D
Tritanopia (blue-blind)
#D7C1B6
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #ccca79;
/* rgb */ color: rgb(204, 202, 121);
/* oklch */ color: oklch(82.3% 0.103 107.2);
Tailwind
colors: {
  custom: {
    50: '#dddaa1',
    500: '#ccca79',
    950: '#000000',
  },
}
SCSS
$custom: #ccca79;
$custom-light: #dddaa1;
$custom-dark: #000000;
JSON
{
  "hex": "#ccca79",
  "rgb": {
    "r": 204,
    "g": 202,
    "b": 121
  },
  "hsl": {
    "h": 58.554,
    "s": 44.865,
    "l": 63.725
  },
  "oklch": {
    "l": 0.82265,
    "c": 0.10321,
    "h": 107.2
  },
  "luminance": 0.56459
}

Semantic roles & 50–950 ramp

primary
#CCCA79
secondary
#505299
accent
#31B82D
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CCCA79

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

Preview Lab → · Contrast checker → · Palette generator →

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