#CAC336#CAC336

#CAC336 is a light, vivid yellow. Relative luminance 0.519; OKLCH L 79.9% C 0.154 H 106.5°. Best body text is #000000 at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#CAC336
RGBrgb(202, 195, 54)
HSLhsl(57, 58%, 50%)
HSVhsv(57, 73%, 79%)
CMYKcmyk(0%, 3.5%, 73.3%, 20.8%)
CIE-LABlab(77.19, -13.33, 67.10)
CIE-LCHlch(77.19, 68.42, 101.24°)
OKLaboklab(79.88% -0.0438 0.1478)
OKLCHoklch(79.88% 0.154 106.5)
XYZxyz(44.5399, 51.8547, 11.1521)
Luminance0.5185 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC336 #363DCA
analogous
#CA7936 #CAC336 #87CA36
triadic
#CAC336 #36CAC3 #C336CA
tetradic
#CAC336 #36CA79 #363DCA #CA3687
square
#CAC336 #36CA79 #363DCA #CA3687
split-complementary
#CAC336 #3687CA #7936CA
monochromatic
#6A661C #9A9529 #CAC336 #D7D166 #E4E097

Accessibility & contrast

On white

1.85
#CAC336 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.37
#CAC336 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC336
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC336#FFFFFF#000000##000000
##CAC3361.001.8511.3711.37
#FFFFFF1.851.0021.0021.00
#00000011.3721.001.001.00
##00000011.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC1A
Deuteranopia (green-blind)
#D7C141
Tritanopia (blue-blind)
#D9B6A8
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cac336;
/* rgb */ color: rgb(202, 195, 54);
/* oklch */ color: oklch(79.9% 0.154 106.5);
Tailwind
colors: {
  custom: {
    50: '#ded477',
    500: '#cac336',
    950: '#000000',
  },
}
SCSS
$custom: #cac336;
$custom-light: #ded477;
$custom-dark: #000000;
JSON
{
  "hex": "#cac336",
  "rgb": {
    "r": 202,
    "g": 195,
    "b": 54
  },
  "hsl": {
    "h": 57.162,
    "s": 58.268,
    "l": 50.196
  },
  "oklch": {
    "l": 0.79882,
    "c": 0.15411,
    "h": 106.5
  },
  "luminance": 0.51853
}

Semantic roles & 50–950 ramp

primary
#CAC336
secondary
#313474
accent
#4EE146
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CAC336

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

Preview Lab → · Contrast checker → · Palette generator →

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