#CACA57#CACA57

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

Color values

HEX#CACA57
RGBrgb(202, 202, 87)
HSLhsl(60, 52%, 57%)
HSVhsv(60, 57%, 79%)
CMYKcmyk(0%, 0%, 56.9%, 20.8%)
CIE-LABlab(79.32, -14.92, 56.15)
CIE-LCHlch(79.32, 58.10, 104.88°)
OKLaboklab(81.66% -0.0449 0.1297)
OKLCHoklch(81.66% 0.137 109.1)
XYZxyz(47.1993, 55.4870, 17.2387)
Luminance0.5549 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACA57 #5757CA
analogous
#CA9157 #CACA57 #91CA57
triadic
#CACA57 #57CACA #CA57CA
tetradic
#CACA57 #57CA91 #5757CA #CA5791
square
#CACA57 #57CA91 #5757CA #CA5791
split-complementary
#CACA57 #5791CA #9157CA
monochromatic
#7F7F28 #ADAD37 #CACA57 #D9D986 #E7E7B4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CACA57#FFFFFF#000000##000000
##CACA571.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)
#D9C24B
Deuteranopia (green-blind)
#DAC65E
Tritanopia (blue-blind)
#D7BEB1
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #caca57;
/* rgb */ color: rgb(202, 202, 87);
/* oklch */ color: oklch(81.7% 0.137 109.1);
Tailwind
colors: {
  custom: {
    50: '#ddd98a',
    500: '#caca57',
    950: '#000000',
  },
}
SCSS
$custom: #caca57;
$custom-light: #ddd98a;
$custom-dark: #000000;
JSON
{
  "hex": "#caca57",
  "rgb": {
    "r": 202,
    "g": 202,
    "b": 87
  },
  "hsl": {
    "h": 60,
    "s": 52.036,
    "l": 56.667
  },
  "oklch": {
    "l": 0.81657,
    "c": 0.13723,
    "h": 109.1
  },
  "luminance": 0.55486
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CACA57

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

Preview Lab → · Contrast checker → · Palette generator →

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