#CAC036#CAC036

#CAC036 is a light, vivid yellow. Relative luminance 0.505; OKLCH L 79.2% C 0.151 H 105.1°. Best body text is #000000 at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#CAC036
RGBrgb(202, 192, 54)
HSLhsl(56, 58%, 50%)
HSVhsv(56, 73%, 79%)
CMYKcmyk(0%, 5%, 73.3%, 20.8%)
CIE-LABlab(76.39, -11.81, 66.34)
CIE-LCHlch(76.39, 67.38, 100.09°)
OKLaboklab(79.24% -0.0395 0.1461)
OKLCHoklch(79.24% 0.151 105.1)
XYZxyz(43.8745, 50.5239, 10.9303)
Luminance0.5052 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC036 #3640CA
analogous
#CA7636 #CAC036 #8ACA36
triadic
#CAC036 #36CAC0 #C036CA
tetradic
#CAC036 #36CA76 #3640CA #CA368A
square
#CAC036 #36CA76 #3640CA #CA368A
split-complementary
#CAC036 #368ACA #7636CA
monochromatic
#6A641C #9A9229 #CAC036 #D7CF66 #E4DE97

Accessibility & contrast

On white

1.89
#CAC036 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.10
#CAC036 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC036
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC036#FFFFFF#000000##000000
##CAC0361.001.8911.1011.10
#FFFFFF1.891.0021.0021.00
#00000011.1021.001.001.00
##00000011.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B91B
Deuteranopia (green-blind)
#D5BF40
Tritanopia (blue-blind)
#D9B3A5
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cac036;
/* rgb */ color: rgb(202, 192, 54);
/* oklch */ color: oklch(79.2% 0.151 105.1);
Tailwind
colors: {
  custom: {
    50: '#ded277',
    500: '#cac036',
    950: '#000000',
  },
}
SCSS
$custom: #cac036;
$custom-light: #ded277;
$custom-dark: #000000;
JSON
{
  "hex": "#cac036",
  "rgb": {
    "r": 202,
    "g": 192,
    "b": 54
  },
  "hsl": {
    "h": 55.946,
    "s": 58.268,
    "l": 50.196
  },
  "oklch": {
    "l": 0.79242,
    "c": 0.15139,
    "h": 105.1
  },
  "luminance": 0.50522
}

Semantic roles & 50–950 ramp

primary
#CAC036
secondary
#313574
accent
#51E146
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CAC036

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

Preview Lab → · Contrast checker → · Palette generator →

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