#CAC844#CAC844

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

Color values

HEX#CAC844
RGBrgb(202, 200, 68)
HSLhsl(59, 56%, 53%)
HSVhsv(59, 66%, 79%)
CMYKcmyk(0%, 1%, 66.3%, 20.8%)
CIE-LABlab(78.63, -15.15, 63.37)
CIE-LCHlch(78.63, 65.16, 103.45°)
OKLaboklab(81.05% -0.0475 0.1423)
OKLCHoklch(81.05% 0.15 108.5)
XYZxyz(46.0564, 54.2839, 13.5195)
Luminance0.5428 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC844 #4446CA
analogous
#CA8544 #CAC844 #89CA44
triadic
#CAC844 #44CAC8 #C844CA
tetradic
#CAC844 #44CA85 #4446CA #CA4489
square
#CAC844 #44CA85 #4446CA #CA4489
split-complementary
#CAC844 #4489CA #8544CA
monochromatic
#737221 #A3A12E #CAC844 #D8D674 #E5E4A3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAC844#FFFFFF#000000##000000
##CAC8441.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)
#D8C031
Deuteranopia (green-blind)
#DAC54D
Tritanopia (blue-blind)
#D8BBAD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cac844;
/* rgb */ color: rgb(202, 200, 68);
/* oklch */ color: oklch(81.1% 0.150 108.5);
Tailwind
colors: {
  custom: {
    50: '#ddd87f',
    500: '#cac844',
    950: '#000000',
  },
}
SCSS
$custom: #cac844;
$custom-light: #ddd87f;
$custom-dark: #000000;
JSON
{
  "hex": "#cac844",
  "rgb": {
    "r": 202,
    "g": 200,
    "b": 68
  },
  "hsl": {
    "h": 59.104,
    "s": 55.833,
    "l": 52.941
  },
  "oklch": {
    "l": 0.81054,
    "c": 0.15002,
    "h": 108.5
  },
  "luminance": 0.54282
}

Semantic roles & 50–950 ramp

primary
#CAC844
secondary
#36377C
accent
#4BDF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CAC844

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

Preview Lab → · Contrast checker → · Palette generator →

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