#CAC636#CAC636

#CAC636 is a light, vivid yellow. Relative luminance 0.532; OKLCH L 80.5% C 0.157 H 107.8°. Best body text is #000000 at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#CAC636
RGBrgb(202, 198, 54)
HSLhsl(58, 58%, 50%)
HSVhsv(58, 73%, 79%)
CMYKcmyk(0%, 2%, 73.3%, 20.8%)
CIE-LABlab(78.00, -14.85, 67.87)
CIE-LCHlch(78.00, 69.47, 102.34°)
OKLaboklab(80.53% -0.048 0.1494)
OKLCHoklch(80.53% 0.157 107.8)
XYZxyz(45.2188, 53.2126, 11.3784)
Luminance0.5321 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC636 #363ACA
analogous
#CA7C36 #CAC636 #84CA36
triadic
#CAC636 #36CAC6 #C636CA
tetradic
#CAC636 #36CA7C #363ACA #CA3684
square
#CAC636 #36CA7C #363ACA #CA3684
split-complementary
#CAC636 #3684CA #7C36CA
monochromatic
#6A681C #9A9729 #CAC636 #D7D466 #E4E197

Accessibility & contrast

On white

1.80
#CAC636 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.64
#CAC636 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC636
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC636#FFFFFF#000000##000000
##CAC6361.001.8011.6411.64
#FFFFFF1.801.0021.0021.00
#00000011.6421.001.001.00
##00000011.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BE18
Deuteranopia (green-blind)
#D9C341
Tritanopia (blue-blind)
#D9B9AA
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cac636;
/* rgb */ color: rgb(202, 198, 54);
/* oklch */ color: oklch(80.5% 0.157 107.8);
Tailwind
colors: {
  custom: {
    50: '#ded778',
    500: '#cac636',
    950: '#000000',
  },
}
SCSS
$custom: #cac636;
$custom-light: #ded778;
$custom-dark: #000000;
JSON
{
  "hex": "#cac636",
  "rgb": {
    "r": 202,
    "g": 198,
    "b": 54
  },
  "hsl": {
    "h": 58.378,
    "s": 58.268,
    "l": 50.196
  },
  "oklch": {
    "l": 0.80525,
    "c": 0.15691,
    "h": 107.8
  },
  "luminance": 0.53211
}

Semantic roles & 50–950 ramp

primary
#CAC636
secondary
#313274
accent
#4BE146
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CAC636

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

Preview Lab → · Contrast checker → · Palette generator →

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