#CAC65A#CAC65A

#CAC65A is a light, vivid yellow. Relative luminance 0.537; OKLCH L 80.8% C 0.130 H 107.0°. Best body text is #000000 at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#CAC65A
RGBrgb(202, 198, 90)
HSLhsl(58, 51%, 57%)
HSVhsv(58, 55%, 79%)
CMYKcmyk(0%, 2%, 55.4%, 20.8%)
CIE-LABlab(78.28, -12.68, 53.62)
CIE-LCHlch(78.28, 55.10, 103.30°)
OKLaboklab(80.84% -0.0382 0.1246)
OKLCHoklch(80.84% 0.13 107)
XYZxyz(46.3980, 53.6843, 17.5889)
Luminance0.5368 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC65A #5A5ECA
analogous
#CA8E5A #CAC65A #96CA5A
triadic
#CAC65A #5ACAC6 #C65ACA
tetradic
#CAC65A #5ACA8E #5A5ECA #CA5A96
square
#CAC65A #5ACA8E #5A5ECA #CA5A96
split-complementary
#CAC65A #5A96CA #8E5ACA
monochromatic
#807D29 #AFAA38 #CAC65A #D9D688 #E8E6B7

Accessibility & contrast

On white

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

On black

11.74
#CAC65A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC65A
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC65A#FFFFFF#000000##000000
##CAC65A1.001.7911.7411.74
#FFFFFF1.791.0021.0021.00
#00000011.7421.001.001.00
##00000011.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF4F
Deuteranopia (green-blind)
#D7C460
Tritanopia (blue-blind)
#D7BBAE
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cac65a;
/* rgb */ color: rgb(202, 198, 90);
/* oklch */ color: oklch(80.8% 0.130 107.0);
Tailwind
colors: {
  custom: {
    50: '#dcd78c',
    500: '#cac65a',
    950: '#000000',
  },
}
SCSS
$custom: #cac65a;
$custom-light: #dcd78c;
$custom-dark: #000000;
JSON
{
  "hex": "#cac65a",
  "rgb": {
    "r": 202,
    "g": 198,
    "b": 90
  },
  "hsl": {
    "h": 57.857,
    "s": 51.376,
    "l": 57.255
  },
  "oklch": {
    "l": 0.80835,
    "c": 0.13034,
    "h": 107
  },
  "luminance": 0.53683
}

Semantic roles & 50–950 ramp

primary
#CAC65A
secondary
#404388
accent
#52DB4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CAC65A

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

Preview Lab → · Contrast checker → · Palette generator →

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