#CACC71#CACC71

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

Color values

HEX#CACC71
RGBrgb(202, 204, 113)
HSLhsl(61, 47%, 62%)
HSVhsv(61, 45%, 80%)
CMYKcmyk(1%, 0%, 44.6%, 20%)
CIE-LABlab(80.14, -13.68, 44.90)
CIE-LCHlch(80.14, 46.94, 106.94°)
OKLaboklab(82.41% -0.0387 0.1077)
OKLCHoklch(82.41% 0.114 109.8)
XYZxyz(48.9315, 56.9355, 24.0316)
Luminance0.5694 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACC71 #7371CC
analogous
#CCA171 #CACC71 #9CCC71
triadic
#CACC71 #71CACC #CC71CA
tetradic
#CACC71 #71CCA1 #7371CC #CC719C
square
#CACC71 #71CCA1 #7371CC #CC719C
split-complementary
#CACC71 #719CCC #A171CC
monochromatic
#8D8F33 #B9BC44 #CACC71 #DBDC9E #ECECCB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CACC71#FFFFFF#000000##000000
##CACC711.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)
#D9C569
Deuteranopia (green-blind)
#DAC875
Tritanopia (blue-blind)
#D5C2B6
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cacc71;
/* rgb */ color: rgb(202, 204, 113);
/* oklch */ color: oklch(82.4% 0.114 109.8);
Tailwind
colors: {
  custom: {
    50: '#dcdb9b',
    500: '#cacc71',
    950: '#000000',
  },
}
SCSS
$custom: #cacc71;
$custom-light: #dcdb9b;
$custom-dark: #000000;
JSON
{
  "hex": "#cacc71",
  "rgb": {
    "r": 202,
    "g": 204,
    "b": 113
  },
  "hsl": {
    "h": 61.319,
    "s": 47.15,
    "l": 62.157
  },
  "oklch": {
    "l": 0.82405,
    "c": 0.11443,
    "h": 109.8
  },
  "luminance": 0.56935
}

Semantic roles & 50–950 ramp

primary
#CACC71
secondary
#4D4B96
accent
#2BBA2E
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CACC71

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

Preview Lab → · Contrast checker → · Palette generator →

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