#CAC358#CAC358

#CAC358 is a light, vivid yellow. Relative luminance 0.523; OKLCH L 80.2% C 0.129 H 105.5°. Best body text is #000000 at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#CAC358
RGBrgb(202, 195, 88)
HSLhsl(56, 52%, 57%)
HSVhsv(56, 56%, 79%)
CMYKcmyk(0%, 3.5%, 56.4%, 20.8%)
CIE-LABlab(77.46, -11.30, 53.60)
CIE-LCHlch(77.46, 54.78, 101.91°)
OKLaboklab(80.18% -0.0345 0.1244)
OKLCHoklch(80.18% 0.129 105.5)
XYZxyz(45.6351, 52.2928, 16.9203)
Luminance0.5229 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC358 #585FCA
analogous
#CA8A58 #CAC358 #98CA58
triadic
#CAC358 #58CAC3 #C358CA
tetradic
#CAC358 #58CA8A #585FCA #CA5898
square
#CAC358 #58CA8A #585FCA #CA5898
split-complementary
#CAC358 #5898CA #8A58CA
monochromatic
#7F7A28 #AEA637 #CAC358 #D9D486 #E7E4B5

Accessibility & contrast

On white

1.83
#CAC358 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.46
#CAC358 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC358
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC358#FFFFFF#000000##000000
##CAC3581.001.8311.4611.46
#FFFFFF1.831.0021.0021.00
#00000011.4621.001.001.00
##00000011.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BD4D
Deuteranopia (green-blind)
#D5C25E
Tritanopia (blue-blind)
#D7B7AB
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cac358;
/* rgb */ color: rgb(202, 195, 88);
/* oklch */ color: oklch(80.2% 0.129 105.5);
Tailwind
colors: {
  custom: {
    50: '#ddd48b',
    500: '#cac358',
    950: '#000000',
  },
}
SCSS
$custom: #cac358;
$custom-light: #ddd48b;
$custom-dark: #000000;
JSON
{
  "hex": "#cac358",
  "rgb": {
    "r": 202,
    "g": 195,
    "b": 88
  },
  "hsl": {
    "h": 56.316,
    "s": 51.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.80175,
    "c": 0.12905,
    "h": 105.5
  },
  "luminance": 0.52291
}

Semantic roles & 50–950 ramp

primary
#CAC358
secondary
#3F4487
accent
#55DB4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CAC358

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

Preview Lab → · Contrast checker → · Palette generator →

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