#CACA4C#CACA4C

#CACA4C is a light, vivid yellow. Relative luminance 0.553; OKLCH L 81.6% C 0.146 H 109.2°. Best body text is #000000 at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#CACA4C
RGBrgb(202, 202, 76)
HSLhsl(60, 54%, 55%)
HSVhsv(60, 62%, 79%)
CMYKcmyk(0%, 0%, 62.4%, 20.8%)
CIE-LABlab(79.23, -15.68, 60.77)
CIE-LCHlch(79.23, 62.76, 104.46°)
OKLaboklab(81.55% -0.0482 0.138)
OKLCHoklch(81.55% 0.146 109.2)
XYZxyz(46.7836, 55.3207, 15.0496)
Luminance0.5532 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACA4C #4C4CCA
analogous
#CA8B4C #CACA4C #8BCA4C
triadic
#CACA4C #4CCACA #CA4CCA
tetradic
#CACA4C #4CCA8B #4C4CCA #CA4C8B
square
#CACA4C #4CCA8B #4C4CCA #CA4C8B
split-complementary
#CACA4C #4C8BCA #8B4CCA
monochromatic
#787824 #A7A732 #CACA4C #D8D87B #E6E6AA

Accessibility & contrast

On white

1.74
#CACA4C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.06
#CACA4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CACA4C
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CACA4C#FFFFFF#000000##000000
##CACA4C1.001.7412.0612.06
#FFFFFF1.741.0021.0021.00
#00000012.0621.001.001.00
##00000012.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C23C
Deuteranopia (green-blind)
#DBC654
Tritanopia (blue-blind)
#D8BEB0
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #caca4c;
/* rgb */ color: rgb(202, 202, 76);
/* oklch */ color: oklch(81.6% 0.146 109.2);
Tailwind
colors: {
  custom: {
    50: '#ddd984',
    500: '#caca4c',
    950: '#000000',
  },
}
SCSS
$custom: #caca4c;
$custom-light: #ddd984;
$custom-dark: #000000;
JSON
{
  "hex": "#caca4c",
  "rgb": {
    "r": 202,
    "g": 202,
    "b": 76
  },
  "hsl": {
    "h": 60,
    "s": 54.31,
    "l": 54.51
  },
  "oklch": {
    "l": 0.81551,
    "c": 0.14619,
    "h": 109.2
  },
  "luminance": 0.55319
}

Semantic roles & 50–950 ramp

primary
#CACA4C
secondary
#3A3A80
accent
#4ADE4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CACA4C

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

Preview Lab → · Contrast checker → · Palette generator →

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