#CACA3C#CACA3C

#CACA3C is a light, vivid yellow. Relative luminance 0.551; OKLCH L 81.4% C 0.157 H 109.4°. Best body text is #000000 at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#CACA3C
RGBrgb(202, 202, 60)
HSLhsl(60, 57%, 51%)
HSVhsv(60, 70%, 79%)
CMYKcmyk(0%, 0%, 70.3%, 20.8%)
CIE-LABlab(79.11, -16.57, 66.85)
CIE-LCHlch(79.11, 68.87, 103.92°)
OKLaboklab(81.43% -0.0523 0.1483)
OKLCHoklch(81.43% 0.157 109.4)
XYZxyz(46.2949, 55.1252, 12.4757)
Luminance0.5512 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACA3C #3C3CCA
analogous
#CA833C #CACA3C #83CA3C
triadic
#CACA3C #3CCACA #CA3CCA
tetradic
#CACA3C #3CCA83 #3C3CCA #CA3C83
square
#CACA3C #3CCA83 #3C3CCA #CA3C83
split-complementary
#CACA3C #3C83CA #833CCA
monochromatic
#6E6E1E #9E9E2B #CACA3C #D7D76C #E4E49C

Accessibility & contrast

On white

1.75
#CACA3C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.02
#CACA3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CACA3C
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CACA3C#FFFFFF#000000##000000
##CACA3C1.001.7512.0212.02
#FFFFFF1.751.0021.0021.00
#00000012.0221.001.001.00
##00000012.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC223
Deuteranopia (green-blind)
#DCC647
Tritanopia (blue-blind)
#D8BDAE
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #caca3c;
/* rgb */ color: rgb(202, 202, 60);
/* oklch */ color: oklch(81.4% 0.157 109.4);
Tailwind
colors: {
  custom: {
    50: '#ded97b',
    500: '#caca3c',
    950: '#000000',
  },
}
SCSS
$custom: #caca3c;
$custom-light: #ded97b;
$custom-dark: #000000;
JSON
{
  "hex": "#caca3c",
  "rgb": {
    "r": 202,
    "g": 202,
    "b": 60
  },
  "hsl": {
    "h": 60,
    "s": 57.258,
    "l": 51.373
  },
  "oklch": {
    "l": 0.81425,
    "c": 0.15723,
    "h": 109.4
  },
  "luminance": 0.55124
}

Semantic roles & 50–950 ramp

primary
#CACA3C
secondary
#333377
accent
#47E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CACA3C

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

Preview Lab → · Contrast checker → · Palette generator →

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