#CAC337#CAC337

#CAC337 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#CAC337
RGBrgb(202, 195, 55)
HSLhsl(57, 58%, 50%)
HSVhsv(57, 73%, 79%)
CMYKcmyk(0%, 3.5%, 72.8%, 20.8%)
CIE-LABlab(77.20, -13.29, 66.77)
CIE-LCHlch(77.20, 68.07, 101.26°)
OKLaboklab(79.89% -0.0436 0.1472)
OKLCHoklch(79.89% 0.154 106.5)
XYZxyz(44.5636, 51.8642, 11.2771)
Luminance0.5186 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC337 #373ECA
analogous
#CA7937 #CAC337 #87CA37
triadic
#CAC337 #37CAC3 #C337CA
tetradic
#CAC337 #37CA79 #373ECA #CA3787
square
#CAC337 #37CA79 #373ECA #CA3787
split-complementary
#CAC337 #3787CA #7937CA
monochromatic
#6A671C #9B9529 #CAC337 #D7D267 #E4E098

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAC337#FFFFFF#000000##000000
##CAC3371.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)
#D4BC1C
Deuteranopia (green-blind)
#D7C141
Tritanopia (blue-blind)
#D9B6A8
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cac337;
/* rgb */ color: rgb(202, 195, 55);
/* oklch */ color: oklch(79.9% 0.154 106.5);
Tailwind
colors: {
  custom: {
    50: '#ded478',
    500: '#cac337',
    950: '#000000',
  },
}
SCSS
$custom: #cac337;
$custom-light: #ded478;
$custom-dark: #000000;
JSON
{
  "hex": "#cac337",
  "rgb": {
    "r": 202,
    "g": 195,
    "b": 55
  },
  "hsl": {
    "h": 57.143,
    "s": 58.103,
    "l": 50.392
  },
  "oklch": {
    "l": 0.79889,
    "c": 0.15354,
    "h": 106.5
  },
  "luminance": 0.51863
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CAC337

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

Preview Lab → · Contrast checker → · Palette generator →

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