#CAC565#CAC565

#CAC565 is a light, moderate yellow. Relative luminance 0.534; OKLCH L 80.8% C 0.119 H 106.1°. Best body text is #000000 at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#CAC565
RGBrgb(202, 197, 101)
HSLhsl(57, 49%, 59%)
HSVhsv(57, 50%, 79%)
CMYKcmyk(0%, 2.5%, 50%, 20.8%)
CIE-LABlab(78.13, -11.26, 48.29)
CIE-LCHlch(78.13, 49.59, 103.12°)
OKLaboklab(80.75% -0.0329 0.1142)
OKLCHoklch(80.75% 0.119 106.1)
XYZxyz(46.6735, 53.4300, 20.1638)
Luminance0.5343 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC565 #656ACA
analogous
#CA9365 #CAC565 #9DCA65
triadic
#CAC565 #65CAC5 #C565CA
tetradic
#CAC565 #65CA93 #656ACA #CA659D
square
#CAC565 #65CA93 #656ACA #CA659D
split-complementary
#CAC565 #659DCA #9365CA
monochromatic
#86822E #B4AE3E #CAC565 #DAD693 #E9E7C0

Accessibility & contrast

On white

1.80
#CAC565 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.69
#CAC565 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC565
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC565#FFFFFF#000000##000000
##CAC5651.001.8011.6911.69
#FFFFFF1.801.0021.0021.00
#00000011.6921.001.001.00
##00000011.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BF5C
Deuteranopia (green-blind)
#D5C36A
Tritanopia (blue-blind)
#D6BAAF
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cac565;
/* rgb */ color: rgb(202, 197, 101);
/* oklch */ color: oklch(80.8% 0.119 106.1);
Tailwind
colors: {
  custom: {
    50: '#dcd693',
    500: '#cac565',
    950: '#000000',
  },
}
SCSS
$custom: #cac565;
$custom-light: #dcd693;
$custom-dark: #000000;
JSON
{
  "hex": "#cac565",
  "rgb": {
    "r": 202,
    "g": 197,
    "b": 101
  },
  "hsl": {
    "h": 57.03,
    "s": 48.792,
    "l": 59.412
  },
  "oklch": {
    "l": 0.80754,
    "c": 0.11886,
    "h": 106.1
  },
  "luminance": 0.53429
}

Semantic roles & 50–950 ramp

primary
#CAC565
secondary
#46498E
accent
#56D84F
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CAC565

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

Preview Lab → · Contrast checker → · Palette generator →

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