#CACC59#CACC59

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

Color values

HEX#CACC59
RGBrgb(202, 204, 89)
HSLhsl(61, 53%, 57%)
HSVhsv(61, 56%, 80%)
CMYKcmyk(1%, 0%, 56.4%, 20%)
CIE-LABlab(79.88, -15.77, 55.88)
CIE-LCHlch(79.88, 58.07, 105.76°)
OKLaboklab(82.11% -0.0471 0.1294)
OKLCHoklch(82.11% 0.138 110)
XYZxyz(47.7544, 56.4647, 17.8325)
Luminance0.5646 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACC59 #5B59CC
analogous
#CC9459 #CACC59 #91CC59
triadic
#CACC59 #59CACC #CC59CA
tetradic
#CACC59 #59CC94 #5B59CC #CC5991
square
#CACC59 #59CC94 #5B59CC #CC5991
split-complementary
#CACC59 #5991CC #9459CC
monochromatic
#818328 #AFB136 #CACC59 #D9DA88 #E8E9B7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CACC59#FFFFFF#000000##000000
##CACC591.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)
#DBC44D
Deuteranopia (green-blind)
#DCC860
Tritanopia (blue-blind)
#D7C1B3
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cacc59;
/* rgb */ color: rgb(202, 204, 89);
/* oklch */ color: oklch(82.1% 0.138 110.0);
Tailwind
colors: {
  custom: {
    50: '#dddb8c',
    500: '#cacc59',
    950: '#000000',
  },
}
SCSS
$custom: #cacc59;
$custom-light: #dddb8c;
$custom-dark: #000000;
JSON
{
  "hex": "#cacc59",
  "rgb": {
    "r": 202,
    "g": 204,
    "b": 89
  },
  "hsl": {
    "h": 61.043,
    "s": 52.995,
    "l": 57.451
  },
  "oklch": {
    "l": 0.82107,
    "c": 0.13765,
    "h": 110
  },
  "luminance": 0.56464
}

Semantic roles & 50–950 ramp

primary
#CACC59
secondary
#413F8A
accent
#4BDC4E
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CACC59

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

Preview Lab → · Contrast checker → · Palette generator →

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