#CAC35A#CAC35A

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

Color values

HEX#CAC35A
RGBrgb(202, 195, 90)
HSLhsl(56, 51%, 57%)
HSVhsv(56, 55%, 79%)
CMYKcmyk(0%, 3.5%, 55.4%, 20.8%)
CIE-LABlab(77.48, -11.15, 52.71)
CIE-LCHlch(77.48, 53.88, 101.94°)
OKLaboklab(80.2% -0.0338 0.1227)
OKLCHoklch(80.2% 0.127 105.4)
XYZxyz(45.7191, 52.3264, 17.3626)
Luminance0.5232 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC35A #5A61CA
analogous
#CA8B5A #CAC35A #99CA5A
triadic
#CAC35A #5ACAC3 #C35ACA
tetradic
#CAC35A #5ACA8B #5A61CA #CA5A99
square
#CAC35A #5ACA8B #5A61CA #CA5A99
split-complementary
#CAC35A #5A99CA #8B5ACA
monochromatic
#807B29 #AFA738 #CAC35A #D9D488 #E8E5B7

Accessibility & contrast

On white

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

On black

11.47
#CAC35A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC35A
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC35A#FFFFFF#000000##000000
##CAC35A1.001.8311.4711.47
#FFFFFF1.831.0021.0021.00
#00000011.4721.001.001.00
##00000011.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BD4F
Deuteranopia (green-blind)
#D5C25F
Tritanopia (blue-blind)
#D7B8AC
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cac35a;
/* rgb */ color: rgb(202, 195, 90);
/* oklch */ color: oklch(80.2% 0.127 105.4);
Tailwind
colors: {
  custom: {
    50: '#dcd48c',
    500: '#cac35a',
    950: '#000000',
  },
}
SCSS
$custom: #cac35a;
$custom-light: #dcd48c;
$custom-dark: #000000;
JSON
{
  "hex": "#cac35a",
  "rgb": {
    "r": 202,
    "g": 195,
    "b": 90
  },
  "hsl": {
    "h": 56.25,
    "s": 51.376,
    "l": 57.255
  },
  "oklch": {
    "l": 0.80197,
    "c": 0.12725,
    "h": 105.4
  },
  "luminance": 0.52325
}

Semantic roles & 50–950 ramp

primary
#CAC35A
secondary
#404588
accent
#56DB4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CAC35A

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

Preview Lab → · Contrast checker → · Palette generator →

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