#CAC658#CAC658

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

Color values

HEX#CAC658
RGBrgb(202, 198, 88)
HSLhsl(58, 52%, 57%)
HSVhsv(58, 56%, 79%)
CMYKcmyk(0%, 2%, 56.4%, 20.8%)
CIE-LABlab(78.26, -12.83, 54.51)
CIE-LCHlch(78.26, 56.00, 103.24°)
OKLaboklab(80.81% -0.0388 0.1263)
OKLCHoklch(80.81% 0.132 107.1)
XYZxyz(46.3140, 53.6507, 17.1466)
Luminance0.5365 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC658 #585CCA
analogous
#CA8D58 #CAC658 #95CA58
triadic
#CAC658 #58CAC6 #C658CA
tetradic
#CAC658 #58CA8D #585CCA #CA5895
square
#CAC658 #58CA8D #585CCA #CA5895
split-complementary
#CAC658 #5895CA #8D58CA
monochromatic
#7F7C28 #AEAA37 #CAC658 #D9D686 #E7E6B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAC658#FFFFFF#000000##000000
##CAC6581.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)
#D5BF4C
Deuteranopia (green-blind)
#D7C45E
Tritanopia (blue-blind)
#D7BAAE
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cac658;
/* rgb */ color: rgb(202, 198, 88);
/* oklch */ color: oklch(80.8% 0.132 107.1);
Tailwind
colors: {
  custom: {
    50: '#ddd78b',
    500: '#cac658',
    950: '#000000',
  },
}
SCSS
$custom: #cac658;
$custom-light: #ddd78b;
$custom-dark: #000000;
JSON
{
  "hex": "#cac658",
  "rgb": {
    "r": 202,
    "g": 198,
    "b": 88
  },
  "hsl": {
    "h": 57.895,
    "s": 51.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.80813,
    "c": 0.13213,
    "h": 107.1
  },
  "luminance": 0.53649
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CAC658

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

Preview Lab → · Contrast checker → · Palette generator →

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