#CACC58#CACC58

#CACC58 is a very light, vivid yellow. Relative luminance 0.564; OKLCH L 82.1% C 0.139 H 110.0°. Best body text is #000000 at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#CACC58
RGBrgb(202, 204, 88)
HSLhsl(61, 53%, 57%)
HSVhsv(61, 57%, 80%)
CMYKcmyk(1%, 0%, 56.9%, 20%)
CIE-LABlab(79.87, -15.85, 56.32)
CIE-LCHlch(79.87, 58.50, 105.72°)
OKLaboklab(82.1% -0.0474 0.1302)
OKLCHoklch(82.1% 0.139 110)
XYZxyz(47.7127, 56.4480, 17.6128)
Luminance0.5645 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACC58 #5A58CC
analogous
#CC9458 #CACC58 #90CC58
triadic
#CACC58 #58CACC #CC58CA
tetradic
#CACC58 #58CC94 #5A58CC #CC5890
square
#CACC58 #58CC94 #5A58CC #CC5890
split-complementary
#CACC58 #5890CC #9458CC
monochromatic
#808228 #AFB136 #CACC58 #D9DA87 #E8E9B6

Accessibility & contrast

On white

1.71
#CACC58 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.29
#CACC58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CACC58
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CACC58#FFFFFF#000000##000000
##CACC581.001.7112.2912.29
#FFFFFF1.711.0021.0021.00
#00000012.2921.001.001.00
##00000012.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC44C
Deuteranopia (green-blind)
#DCC85F
Tritanopia (blue-blind)
#D7C0B3
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cacc58;
/* rgb */ color: rgb(202, 204, 88);
/* oklch */ color: oklch(82.1% 0.139 110.0);
Tailwind
colors: {
  custom: {
    50: '#dddb8b',
    500: '#cacc58',
    950: '#000000',
  },
}
SCSS
$custom: #cacc58;
$custom-light: #dddb8b;
$custom-dark: #000000;
JSON
{
  "hex": "#cacc58",
  "rgb": {
    "r": 202,
    "g": 204,
    "b": 88
  },
  "hsl": {
    "h": 61.034,
    "s": 53.211,
    "l": 57.255
  },
  "oklch": {
    "l": 0.82097,
    "c": 0.13852,
    "h": 110
  },
  "luminance": 0.56447
}

Semantic roles & 50–950 ramp

primary
#CACC58
secondary
#403F89
accent
#4BDD4E
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CACC58

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

Preview Lab → · Contrast checker → · Palette generator →

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