#CAC539#CAC539

#CAC539 is a light, vivid yellow. Relative luminance 0.528; OKLCH L 80.3% C 0.154 H 107.3°. Best body text is #000000 at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#CAC539
RGBrgb(202, 197, 57)
HSLhsl(58, 58%, 51%)
HSVhsv(58, 72%, 79%)
CMYKcmyk(0%, 2.5%, 71.8%, 20.8%)
CIE-LABlab(77.75, -14.21, 66.59)
CIE-LCHlch(77.75, 68.09, 102.04°)
OKLaboklab(80.33% -0.046 0.1472)
OKLCHoklch(80.33% 0.154 107.3)
XYZxyz(45.0636, 52.7860, 11.6851)
Luminance0.5278 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC539 #393ECA
analogous
#CA7C39 #CAC539 #86CA39
triadic
#CAC539 #39CAC5 #C539CA
tetradic
#CAC539 #39CA7C #393ECA #CA3986
square
#CAC539 #39CA7C #393ECA #CA3986
split-complementary
#CAC539 #3986CA #7C39CA
monochromatic
#6C691D #9C982A #CAC539 #D7D369 #E4E19A

Accessibility & contrast

On white

1.82
#CAC539 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.56
#CAC539 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC539
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC539#FFFFFF#000000##000000
##CAC5391.001.8211.5611.56
#FFFFFF1.821.0021.0021.00
#00000011.5621.001.001.00
##00000011.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BD1F
Deuteranopia (green-blind)
#D8C343
Tritanopia (blue-blind)
#D9B8AA
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cac539;
/* rgb */ color: rgb(202, 197, 57);
/* oklch */ color: oklch(80.3% 0.154 107.3);
Tailwind
colors: {
  custom: {
    50: '#ded679',
    500: '#cac539',
    950: '#000000',
  },
}
SCSS
$custom: #cac539;
$custom-light: #ded679;
$custom-dark: #000000;
JSON
{
  "hex": "#cac539",
  "rgb": {
    "r": 202,
    "g": 197,
    "b": 57
  },
  "hsl": {
    "h": 57.931,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.8033,
    "c": 0.15422,
    "h": 107.3
  },
  "luminance": 0.52784
}

Semantic roles & 50–950 ramp

primary
#CAC539
secondary
#323475
accent
#4CE147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CAC539

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

Preview Lab → · Contrast checker → · Palette generator →

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