#CACB36#CACB36

#CACB36 is a light, vivid yellow. Relative luminance 0.555; OKLCH L 81.6% C 0.162 H 109.9°. Best body text is #000000 at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#CACB36
RGBrgb(202, 203, 54)
HSLhsl(60, 59%, 50%)
HSVhsv(60, 73%, 80%)
CMYKcmyk(0.5%, 0%, 73.4%, 20.4%)
CIE-LABlab(79.35, -17.34, 69.13)
CIE-LCHlch(79.35, 71.28, 104.08°)
OKLaboklab(81.6% -0.055 0.1521)
OKLCHoklch(81.6% 0.162 109.9)
XYZxyz(46.3806, 55.5361, 11.7657)
Luminance0.5554 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACB36 #3736CB
analogous
#CB8236 #CACB36 #7FCB36
triadic
#CACB36 #36CACB #CB36CA
tetradic
#CACB36 #36CB82 #3736CB #CB367F
square
#CACB36 #36CB82 #3736CB #CB367F
split-complementary
#CACB36 #367FCB #8236CB
monochromatic
#6A6B1C #9B9C28 #CACB36 #D7D867 #E4E497

Accessibility & contrast

On white

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

On black

12.11
#CACB36 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CACB36
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CACB36#FFFFFF#000000##000000
##CACB361.001.7312.1112.11
#FFFFFF1.731.0021.0021.00
#00000012.1121.001.001.00
##00000012.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC216
Deuteranopia (green-blind)
#DDC742
Tritanopia (blue-blind)
#D8BEAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cacb36;
/* rgb */ color: rgb(202, 203, 54);
/* oklch */ color: oklch(81.6% 0.162 109.9);
Tailwind
colors: {
  custom: {
    50: '#deda78',
    500: '#cacb36',
    950: '#000000',
  },
}
SCSS
$custom: #cacb36;
$custom-light: #deda78;
$custom-dark: #000000;
JSON
{
  "hex": "#cacb36",
  "rgb": {
    "r": 202,
    "g": 203,
    "b": 54
  },
  "hsl": {
    "h": 60.403,
    "s": 58.893,
    "l": 50.392
  },
  "oklch": {
    "l": 0.81602,
    "c": 0.16171,
    "h": 109.9
  },
  "luminance": 0.55535
}

Semantic roles & 50–950 ramp

primary
#CACB36
secondary
#313175
accent
#46E247
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CACB36

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

Preview Lab → · Contrast checker → · Palette generator →

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