#CAC657#CAC657

#CAC657 is a light, vivid yellow. Relative luminance 0.536; OKLCH L 80.8% C 0.133 H 107.1°. Best body text is #000000 at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#CAC657
RGBrgb(202, 198, 87)
HSLhsl(58, 52%, 57%)
HSVhsv(58, 57%, 79%)
CMYKcmyk(0%, 2%, 56.9%, 20.8%)
CIE-LABlab(78.25, -12.90, 54.95)
CIE-LCHlch(78.25, 56.44, 103.21°)
OKLaboklab(80.8% -0.0391 0.1271)
OKLCHoklch(80.8% 0.133 107.1)
XYZxyz(46.2729, 53.6342, 16.9299)
Luminance0.5363 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC657 #575BCA
analogous
#CA8D57 #CAC657 #95CA57
triadic
#CAC657 #57CAC6 #C657CA
tetradic
#CAC657 #57CA8D #575BCA #CA5795
square
#CAC657 #57CA8D #575BCA #CA5795
split-complementary
#CAC657 #5795CA #8D57CA
monochromatic
#7F7C28 #ADA937 #CAC657 #D9D686 #E7E6B4

Accessibility & contrast

On white

1.79
#CAC657 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.73
#CAC657 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC657
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC657#FFFFFF#000000##000000
##CAC6571.001.7911.7311.73
#FFFFFF1.791.0021.0021.00
#00000011.7321.001.001.00
##00000011.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF4B
Deuteranopia (green-blind)
#D7C45D
Tritanopia (blue-blind)
#D7BAAE
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cac657;
/* rgb */ color: rgb(202, 198, 87);
/* oklch */ color: oklch(80.8% 0.133 107.1);
Tailwind
colors: {
  custom: {
    50: '#ddd78a',
    500: '#cac657',
    950: '#000000',
  },
}
SCSS
$custom: #cac657;
$custom-light: #ddd78a;
$custom-dark: #000000;
JSON
{
  "hex": "#cac657",
  "rgb": {
    "r": 202,
    "g": 198,
    "b": 87
  },
  "hsl": {
    "h": 57.913,
    "s": 52.036,
    "l": 56.667
  },
  "oklch": {
    "l": 0.80802,
    "c": 0.13301,
    "h": 107.1
  },
  "luminance": 0.53633
}

Semantic roles & 50–950 ramp

primary
#CAC657
secondary
#3F4187
accent
#51DB4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CAC657

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

Preview Lab → · Contrast checker → · Palette generator →

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