#CAC557#CAC557

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

Color values

HEX#CAC557
RGBrgb(202, 197, 87)
HSLhsl(57, 52%, 57%)
HSVhsv(57, 57%, 79%)
CMYKcmyk(0%, 2.5%, 56.9%, 20.8%)
CIE-LABlab(77.98, -12.40, 54.65)
CIE-LCHlch(77.98, 56.04, 102.78°)
OKLaboklab(80.59% -0.0377 0.1265)
OKLCHoklch(80.59% 0.132 106.6)
XYZxyz(46.0451, 53.1786, 16.8540)
Luminance0.5318 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC557 #575CCA
analogous
#CA8C57 #CAC557 #96CA57
triadic
#CAC557 #57CAC5 #C557CA
tetradic
#CAC557 #57CA8C #575CCA #CA5796
square
#CAC557 #57CA8C #575CCA #CA5796
split-complementary
#CAC557 #5796CA #8C57CA
monochromatic
#7F7B28 #ADA837 #CAC557 #D9D586 #E7E5B4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAC557#FFFFFF#000000##000000
##CAC5571.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)
#D4BE4B
Deuteranopia (green-blind)
#D6C35D
Tritanopia (blue-blind)
#D7B9AD
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cac557;
/* rgb */ color: rgb(202, 197, 87);
/* oklch */ color: oklch(80.6% 0.132 106.6);
Tailwind
colors: {
  custom: {
    50: '#ddd68a',
    500: '#cac557',
    950: '#000000',
  },
}
SCSS
$custom: #cac557;
$custom-light: #ddd68a;
$custom-dark: #000000;
JSON
{
  "hex": "#cac557",
  "rgb": {
    "r": 202,
    "g": 197,
    "b": 87
  },
  "hsl": {
    "h": 57.391,
    "s": 52.036,
    "l": 56.667
  },
  "oklch": {
    "l": 0.80589,
    "c": 0.13198,
    "h": 106.6
  },
  "luminance": 0.53177
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CAC557

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

Preview Lab → · Contrast checker → · Palette generator →

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