#CACA3E#CACA3E

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

Color values

HEX#CACA3E
RGBrgb(202, 202, 62)
HSLhsl(60, 57%, 52%)
HSVhsv(60, 69%, 79%)
CMYKcmyk(0%, 0%, 69.3%, 20.8%)
CIE-LABlab(79.13, -16.47, 66.14)
CIE-LCHlch(79.13, 68.16, 103.98°)
OKLaboklab(81.44% -0.0518 0.1471)
OKLCHoklch(81.44% 0.156 109.4)
XYZxyz(46.3488, 55.1468, 12.7594)
Luminance0.5514 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACA3E #3E3ECA
analogous
#CA843E #CACA3E #84CA3E
triadic
#CACA3E #3ECACA #CA3ECA
tetradic
#CACA3E #3ECA84 #3E3ECA #CA3E84
square
#CACA3E #3ECA84 #3E3ECA #CA3E84
split-complementary
#CACA3E #3E84CA #843ECA
monochromatic
#6F6F1F #9F9F2C #CACA3E #D7D76E #E4E49E

Accessibility & contrast

On white

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

On black

12.03
#CACA3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CACA3E
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CACA3E#FFFFFF#000000##000000
##CACA3E1.001.7512.0312.03
#FFFFFF1.751.0021.0021.00
#00000012.0321.001.001.00
##00000012.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #caca3e;
/* rgb */ color: rgb(202, 202, 62);
/* oklch */ color: oklch(81.4% 0.156 109.4);
Tailwind
colors: {
  custom: {
    50: '#ded97c',
    500: '#caca3e',
    950: '#000000',
  },
}
SCSS
$custom: #caca3e;
$custom-light: #ded97c;
$custom-dark: #000000;
JSON
{
  "hex": "#caca3e",
  "rgb": {
    "r": 202,
    "g": 202,
    "b": 62
  },
  "hsl": {
    "h": 60,
    "s": 56.911,
    "l": 51.765
  },
  "oklch": {
    "l": 0.81439,
    "c": 0.15599,
    "h": 109.4
  },
  "luminance": 0.55145
}

Semantic roles & 50–950 ramp

primary
#CACA3E
secondary
#343478
accent
#48E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CACA3E

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

Preview Lab → · Contrast checker → · Palette generator →

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