#CACC68#CACC68

#CACC68 is a very light, vivid yellow. Relative luminance 0.567; OKLCH L 82.3% C 0.124 H 109.9°. Best body text is #000000 at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#CACC68
RGBrgb(202, 204, 104)
HSLhsl(61, 50%, 60%)
HSVhsv(61, 49%, 80%)
CMYKcmyk(1%, 0%, 49%, 20%)
CIE-LABlab(80.03, -14.53, 49.12)
CIE-LCHlch(80.03, 51.23, 106.48°)
OKLaboklab(82.28% -0.042 0.1163)
OKLCHoklch(82.28% 0.124 109.9)
XYZxyz(48.4497, 56.7428, 21.4942)
Luminance0.5674 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACC68 #6A68CC
analogous
#CC9C68 #CACC68 #98CC68
triadic
#CACC68 #68CACC #CC68CA
tetradic
#CACC68 #68CC9C #6A68CC #CC6898
square
#CACC68 #68CC9C #6A68CC #CC6898
split-complementary
#CACC68 #6898CC #9C68CC
monochromatic
#898B2F #B6B83E #CACC68 #DADB96 #EAEBC3

Accessibility & contrast

On white

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

On black

12.35
#CACC68 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CACC68
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CACC68#FFFFFF#000000##000000
##CACC681.001.7012.3512.35
#FFFFFF1.701.0021.0021.00
#00000012.3521.001.001.00
##00000012.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C55F
Deuteranopia (green-blind)
#DBC86D
Tritanopia (blue-blind)
#D6C1B5
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cacc68;
/* rgb */ color: rgb(202, 204, 104);
/* oklch */ color: oklch(82.3% 0.124 109.9);
Tailwind
colors: {
  custom: {
    50: '#dcdb95',
    500: '#cacc68',
    950: '#000000',
  },
}
SCSS
$custom: #cacc68;
$custom-light: #dcdb95;
$custom-dark: #000000;
JSON
{
  "hex": "#cacc68",
  "rgb": {
    "r": 202,
    "g": 204,
    "b": 104
  },
  "hsl": {
    "h": 61.2,
    "s": 49.505,
    "l": 60.392
  },
  "oklch": {
    "l": 0.82283,
    "c": 0.12364,
    "h": 109.9
  },
  "luminance": 0.56742
}

Semantic roles & 50–950 ramp

primary
#CACC68
secondary
#484792
accent
#29BD2C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CACC68

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

Preview Lab → · Contrast checker → · Palette generator →

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