#CACC79#CACC79

#CACC79 is a very light, moderate yellow. Relative luminance 0.571; OKLCH L 82.5% C 0.106 H 109.7°. Best body text is #000000 at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#CACC79
RGBrgb(202, 204, 121)
HSLhsl(61, 45%, 64%)
HSVhsv(61, 41%, 80%)
CMYKcmyk(1%, 0%, 40.7%, 20%)
CIE-LABlab(80.25, -12.86, 41.06)
CIE-LCHlch(80.25, 43.03, 107.38°)
OKLaboklab(82.52% -0.0357 0.0996)
OKLCHoklch(82.52% 0.106 109.7)
XYZxyz(49.4019, 57.1237, 26.5090)
Luminance0.5712 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACC79 #7B79CC
analogous
#CCA479 #CACC79 #A0CC79
triadic
#CACC79 #79CACC #CC79CA
tetradic
#CACC79 #79CCA4 #7B79CC #CC79A0
square
#CACC79 #79CCA4 #7B79CC #CC79A0
split-complementary
#CACC79 #79A0CC #A479CC
monochromatic
#919338 #B8BB4D #CACC79 #DCDDA5 #EDEED2

Accessibility & contrast

On white

1.69
#CACC79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.42
#CACC79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CACC79
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CACC79#FFFFFF#000000##000000
##CACC791.001.6912.4212.42
#FFFFFF1.691.0021.0021.00
#00000012.4221.001.001.00
##00000012.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cacc79;
/* rgb */ color: rgb(202, 204, 121);
/* oklch */ color: oklch(82.5% 0.106 109.7);
Tailwind
colors: {
  custom: {
    50: '#dbdba1',
    500: '#cacc79',
    950: '#000000',
  },
}
SCSS
$custom: #cacc79;
$custom-light: #dbdba1;
$custom-dark: #000000;
JSON
{
  "hex": "#cacc79",
  "rgb": {
    "r": 202,
    "g": 204,
    "b": 121
  },
  "hsl": {
    "h": 61.446,
    "s": 44.865,
    "l": 63.725
  },
  "oklch": {
    "l": 0.82524,
    "c": 0.10579,
    "h": 109.7
  },
  "luminance": 0.57123
}

Semantic roles & 50–950 ramp

primary
#CACC79
secondary
#525099
accent
#2DB831
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CACC79

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

Preview Lab → · Contrast checker → · Palette generator →

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