#CAC347#CAC347

#CAC347 is a light, vivid yellow. Relative luminance 0.520; OKLCH L 80.0% C 0.143 H 106.1°. Best body text is #000000 at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#CAC347
RGBrgb(202, 195, 71)
HSLhsl(57, 55%, 54%)
HSVhsv(57, 65%, 79%)
CMYKcmyk(0%, 3.5%, 64.9%, 20.8%)
CIE-LABlab(77.31, -12.45, 60.81)
CIE-LCHlch(77.31, 62.08, 101.57°)
OKLaboklab(80.01% -0.0396 0.1374)
OKLCHoklch(80.01% 0.143 106.1)
XYZxyz(45.0112, 52.0432, 13.6344)
Luminance0.5204 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC347 #474ECA
analogous
#CA8147 #CAC347 #8FCA47
triadic
#CAC347 #47CAC3 #C347CA
tetradic
#CAC347 #47CA81 #474ECA #CA478F
square
#CAC347 #47CA81 #474ECA #CA478F
split-complementary
#CAC347 #478FCA #8147CA
monochromatic
#757022 #A49E2F #CAC347 #D8D277 #E5E2A6

Accessibility & contrast

On white

1.84
#CAC347 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.41
#CAC347 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC347
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC347#FFFFFF#000000##000000
##CAC3471.001.8411.4111.41
#FFFFFF1.841.0021.0021.00
#00000011.4121.001.001.00
##00000011.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC37
Deuteranopia (green-blind)
#D6C14F
Tritanopia (blue-blind)
#D8B7A9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cac347;
/* rgb */ color: rgb(202, 195, 71);
/* oklch */ color: oklch(80.0% 0.143 106.1);
Tailwind
colors: {
  custom: {
    50: '#ddd480',
    500: '#cac347',
    950: '#000000',
  },
}
SCSS
$custom: #cac347;
$custom-light: #ddd480;
$custom-dark: #000000;
JSON
{
  "hex": "#cac347",
  "rgb": {
    "r": 202,
    "g": 195,
    "b": 71
  },
  "hsl": {
    "h": 56.794,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.80008,
    "c": 0.14296,
    "h": 106.1
  },
  "luminance": 0.52042
}

Semantic roles & 50–950 ramp

primary
#CAC347
secondary
#383B7E
accent
#51DF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CAC347

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

Preview Lab → · Contrast checker → · Palette generator →

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