#CAC847#CAC847

#CAC847 is a light, vivid yellow. Relative luminance 0.543; OKLCH L 81.1% C 0.148 H 108.4°. Best body text is #000000 at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#CAC847
RGBrgb(202, 200, 71)
HSLhsl(59, 55%, 54%)
HSVhsv(59, 65%, 79%)
CMYKcmyk(0%, 1%, 64.9%, 20.8%)
CIE-LABlab(78.65, -14.98, 62.21)
CIE-LCHlch(78.65, 63.99, 103.54°)
OKLaboklab(81.08% -0.0467 0.1403)
OKLCHoklch(81.08% 0.148 108.4)
XYZxyz(46.1503, 54.3214, 14.0141)
Luminance0.5432 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC847 #4749CA
analogous
#CA8647 #CAC847 #8ACA47
triadic
#CAC847 #47CAC8 #C847CA
tetradic
#CAC847 #47CA86 #4749CA #CA478A
square
#CAC847 #47CA86 #4749CA #CA478A
split-complementary
#CAC847 #478ACA #8647CA
monochromatic
#757422 #A4A32F #CAC847 #D8D677 #E5E4A6

Accessibility & contrast

On white

1.77
#CAC847 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.86
#CAC847 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC847
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC847#FFFFFF#000000##000000
##CAC8471.001.7711.8611.86
#FFFFFF1.771.0021.0021.00
#00000011.8621.001.001.00
##00000011.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C035
Deuteranopia (green-blind)
#DAC54F
Tritanopia (blue-blind)
#D8BCAE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cac847;
/* rgb */ color: rgb(202, 200, 71);
/* oklch */ color: oklch(81.1% 0.148 108.4);
Tailwind
colors: {
  custom: {
    50: '#ddd881',
    500: '#cac847',
    950: '#000000',
  },
}
SCSS
$custom: #cac847;
$custom-light: #ddd881;
$custom-dark: #000000;
JSON
{
  "hex": "#cac847",
  "rgb": {
    "r": 202,
    "g": 200,
    "b": 71
  },
  "hsl": {
    "h": 59.084,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.81078,
    "c": 0.14788,
    "h": 108.4
  },
  "luminance": 0.5432
}

Semantic roles & 50–950 ramp

primary
#CAC847
secondary
#38397E
accent
#4BDF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CAC847

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

Preview Lab → · Contrast checker → · Palette generator →

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