#CAC970#CAC970

#CAC970 is a light, moderate yellow. Relative luminance 0.555; OKLCH L 81.8% C 0.112 H 108.1°. Best body text is #000000 at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#CAC970
RGBrgb(202, 201, 112)
HSLhsl(59, 46%, 62%)
HSVhsv(59, 45%, 79%)
CMYKcmyk(0%, 0.5%, 44.6%, 20.8%)
CIE-LABlab(79.33, -12.26, 44.39)
CIE-LCHlch(79.33, 46.05, 105.44°)
OKLaboklab(81.75% -0.0348 0.1065)
OKLCHoklch(81.75% 0.112 108.1)
XYZxyz(48.1693, 55.5008, 23.5014)
Luminance0.5550 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC970 #7071CA
analogous
#CA9C70 #CAC970 #9ECA70
triadic
#CAC970 #70CAC9 #C970CA
tetradic
#CAC970 #70CA9C #7071CA #CA709E
square
#CAC970 #70CA9C #7071CA #CA709E
split-complementary
#CAC970 #709ECA #9C70CA
monochromatic
#8C8B34 #B8B744 #CAC970 #DBDA9D #EBEBC9

Accessibility & contrast

On white

1.74
#CAC970 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.10
#CAC970 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC970
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC970#FFFFFF#000000##000000
##CAC9701.001.7412.1012.10
#FFFFFF1.741.0021.0021.00
#00000012.1021.001.001.00
##00000012.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C369
Deuteranopia (green-blind)
#D7C674
Tritanopia (blue-blind)
#D5BFB4
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cac970;
/* rgb */ color: rgb(202, 201, 112);
/* oklch */ color: oklch(81.8% 0.112 108.1);
Tailwind
colors: {
  custom: {
    50: '#dcd99b',
    500: '#cac970',
    950: '#000000',
  },
}
SCSS
$custom: #cac970;
$custom-light: #dcd99b;
$custom-dark: #000000;
JSON
{
  "hex": "#cac970",
  "rgb": {
    "r": 202,
    "g": 201,
    "b": 112
  },
  "hsl": {
    "h": 59.333,
    "s": 45.918,
    "l": 61.569
  },
  "oklch": {
    "l": 0.81753,
    "c": 0.11201,
    "h": 108.1
  },
  "luminance": 0.555
}

Semantic roles & 50–950 ramp

primary
#CAC970
secondary
#4B4C93
accent
#2EB92C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CAC970

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

Preview Lab → · Contrast checker → · Palette generator →

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