#CAC558#CAC558

#CAC558 is a light, vivid yellow. Relative luminance 0.532; OKLCH L 80.6% C 0.131 H 106.6°. Best body text is #000000 at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#CAC558
RGBrgb(202, 197, 88)
HSLhsl(57, 52%, 57%)
HSVhsv(57, 56%, 79%)
CMYKcmyk(0%, 2.5%, 56.4%, 20.8%)
CIE-LABlab(77.99, -12.32, 54.21)
CIE-LCHlch(77.99, 55.59, 102.81°)
OKLaboklab(80.6% -0.0374 0.1257)
OKLCHoklch(80.6% 0.131 106.6)
XYZxyz(46.0862, 53.1950, 17.0706)
Luminance0.5319 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC558 #585DCA
analogous
#CA8C58 #CAC558 #96CA58
triadic
#CAC558 #58CAC5 #C558CA
tetradic
#CAC558 #58CA8C #585DCA #CA5896
square
#CAC558 #58CA8C #585DCA #CA5896
split-complementary
#CAC558 #5896CA #8C58CA
monochromatic
#7F7B28 #AEA837 #CAC558 #D9D586 #E7E5B5

Accessibility & contrast

On white

1.80
#CAC558 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.64
#CAC558 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC558
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC558#FFFFFF#000000##000000
##CAC5581.001.8011.6411.64
#FFFFFF1.801.0021.0021.00
#00000011.6421.001.001.00
##00000011.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE4D
Deuteranopia (green-blind)
#D6C35E
Tritanopia (blue-blind)
#D7B9AD
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cac558;
/* rgb */ color: rgb(202, 197, 88);
/* oklch */ color: oklch(80.6% 0.131 106.6);
Tailwind
colors: {
  custom: {
    50: '#ddd68b',
    500: '#cac558',
    950: '#000000',
  },
}
SCSS
$custom: #cac558;
$custom-light: #ddd68b;
$custom-dark: #000000;
JSON
{
  "hex": "#cac558",
  "rgb": {
    "r": 202,
    "g": 197,
    "b": 88
  },
  "hsl": {
    "h": 57.368,
    "s": 51.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.806,
    "c": 0.13109,
    "h": 106.6
  },
  "luminance": 0.53194
}

Semantic roles & 50–950 ramp

primary
#CAC558
secondary
#3F4287
accent
#53DB4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CAC558

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

Preview Lab → · Contrast checker → · Palette generator →

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