#CACA58#CACA58

#CACA58 is a light, vivid yellow. Relative luminance 0.555; OKLCH L 81.7% C 0.136 H 109.1°. Best body text is #000000 at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#CACA58
RGBrgb(202, 202, 88)
HSLhsl(60, 52%, 57%)
HSVhsv(60, 56%, 79%)
CMYKcmyk(0%, 0%, 56.4%, 20.8%)
CIE-LABlab(79.33, -14.85, 55.72)
CIE-LCHlch(79.33, 57.66, 104.92°)
OKLaboklab(81.67% -0.0446 0.1289)
OKLCHoklch(81.67% 0.136 109.1)
XYZxyz(47.2404, 55.5034, 17.4554)
Luminance0.5550 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACA58 #5858CA
analogous
#CA9158 #CACA58 #91CA58
triadic
#CACA58 #58CACA #CA58CA
tetradic
#CACA58 #58CA91 #5858CA #CA5891
square
#CACA58 #58CA91 #5858CA #CA5891
split-complementary
#CACA58 #5891CA #9158CA
monochromatic
#7F7F28 #AEAE37 #CACA58 #D9D986 #E7E7B5

Accessibility & contrast

On white

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

On black

12.10
#CACA58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CACA58
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CACA58#FFFFFF#000000##000000
##CACA581.001.7412.1012.10
#FFFFFF1.741.0021.0021.00
#00000012.1021.001.001.00
##00000012.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C24C
Deuteranopia (green-blind)
#DAC65E
Tritanopia (blue-blind)
#D7BEB1
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #caca58;
/* rgb */ color: rgb(202, 202, 88);
/* oklch */ color: oklch(81.7% 0.136 109.1);
Tailwind
colors: {
  custom: {
    50: '#ddd98b',
    500: '#caca58',
    950: '#000000',
  },
}
SCSS
$custom: #caca58;
$custom-light: #ddd98b;
$custom-dark: #000000;
JSON
{
  "hex": "#caca58",
  "rgb": {
    "r": 202,
    "g": 202,
    "b": 88
  },
  "hsl": {
    "h": 60,
    "s": 51.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.81668,
    "c": 0.13636,
    "h": 109.1
  },
  "luminance": 0.55502
}

Semantic roles & 50–950 ramp

primary
#CACA58
secondary
#3F3F87
accent
#4DDB4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CACA58

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

Preview Lab → · Contrast checker → · Palette generator →

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