#CACB49#CACB49

#CACB49 is a light, vivid yellow. Relative luminance 0.557; OKLCH L 81.7% C 0.149 H 109.7°. Best body text is #000000 at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#CACB49
RGBrgb(202, 203, 73)
HSLhsl(60, 56%, 54%)
HSVhsv(60, 64%, 80%)
CMYKcmyk(0.5%, 0%, 64%, 20.4%)
CIE-LABlab(79.47, -16.36, 62.26)
CIE-LCHlch(79.47, 64.37, 104.72°)
OKLaboklab(81.74% -0.0504 0.1407)
OKLCHoklch(81.74% 0.149 109.7)
XYZxyz(46.9171, 55.7508, 14.5916)
Luminance0.5575 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACB49 #4A49CB
analogous
#CB8B49 #CACB49 #89CB49
triadic
#CACB49 #49CACB #CB49CA
tetradic
#CACB49 #49CB8B #4A49CB #CB4989
square
#CACB49 #49CB8B #4A49CB #CB4989
split-complementary
#CACB49 #4989CB #8B49CB
monochromatic
#777722 #A6A730 #CACB49 #D8D979 #E6E6A8

Accessibility & contrast

On white

1.73
#CACB49 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.15
#CACB49 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CACB49
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CACB49#FFFFFF#000000##000000
##CACB491.001.7312.1512.15
#FFFFFF1.731.0021.0021.00
#00000012.1521.001.001.00
##00000012.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC338
Deuteranopia (green-blind)
#DCC751
Tritanopia (blue-blind)
#D8BFB0
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cacb49;
/* rgb */ color: rgb(202, 203, 73);
/* oklch */ color: oklch(81.7% 0.149 109.7);
Tailwind
colors: {
  custom: {
    50: '#ddda82',
    500: '#cacb49',
    950: '#000000',
  },
}
SCSS
$custom: #cacb49;
$custom-light: #ddda82;
$custom-dark: #000000;
JSON
{
  "hex": "#cacb49",
  "rgb": {
    "r": 202,
    "g": 203,
    "b": 73
  },
  "hsl": {
    "h": 60.462,
    "s": 55.556,
    "l": 54.118
  },
  "oklch": {
    "l": 0.81739,
    "c": 0.14948,
    "h": 109.7
  },
  "luminance": 0.55749
}

Semantic roles & 50–950 ramp

primary
#CACB49
secondary
#393880
accent
#49DF4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CACB49

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

Preview Lab → · Contrast checker → · Palette generator →

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