#CAC147#CAC147

#CAC147 is a light, vivid yellow. Relative luminance 0.512; OKLCH L 79.6% C 0.141 H 105.1°. Best body text is #000000 at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#CAC147
RGBrgb(202, 193, 71)
HSLhsl(56, 55%, 54%)
HSVhsv(56, 65%, 79%)
CMYKcmyk(0%, 4.5%, 64.9%, 20.8%)
CIE-LABlab(76.77, -11.44, 60.26)
CIE-LCHlch(76.77, 61.33, 100.75°)
OKLaboklab(79.58% -0.0367 0.1362)
OKLCHoklch(79.58% 0.141 105.1)
XYZxyz(44.5661, 51.1530, 13.4860)
Luminance0.5115 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC147 #4750CA
analogous
#CA7F47 #CAC147 #91CA47
triadic
#CAC147 #47CAC1 #C147CA
tetradic
#CAC147 #47CA7F #4750CA #CA4791
square
#CAC147 #47CA7F #4750CA #CA4791
split-complementary
#CAC147 #4791CA #7F47CA
monochromatic
#756F22 #A49C2F #CAC147 #D8D177 #E5E1A6

Accessibility & contrast

On white

1.87
#CAC147 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.23
#CAC147 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC147
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC147#FFFFFF#000000##000000
##CAC1471.001.8711.2311.23
#FFFFFF1.871.0021.0021.00
#00000011.2321.001.001.00
##00000011.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA37
Deuteranopia (green-blind)
#D4C04E
Tritanopia (blue-blind)
#D8B5A8
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cac147;
/* rgb */ color: rgb(202, 193, 71);
/* oklch */ color: oklch(79.6% 0.141 105.1);
Tailwind
colors: {
  custom: {
    50: '#ddd380',
    500: '#cac147',
    950: '#000000',
  },
}
SCSS
$custom: #cac147;
$custom-light: #ddd380;
$custom-dark: #000000;
JSON
{
  "hex": "#cac147",
  "rgb": {
    "r": 202,
    "g": 193,
    "b": 71
  },
  "hsl": {
    "h": 55.878,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.79582,
    "c": 0.14105,
    "h": 105.1
  },
  "luminance": 0.51151
}

Semantic roles & 50–950 ramp

primary
#CAC147
secondary
#383C7E
accent
#53DF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CAC147

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

Preview Lab → · Contrast checker → · Palette generator →

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