#CAC63A#CAC63A

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

Color values

HEX#CAC63A
RGBrgb(202, 198, 58)
HSLhsl(58, 58%, 51%)
HSVhsv(58, 71%, 79%)
CMYKcmyk(0%, 2%, 71.3%, 20.8%)
CIE-LABlab(78.02, -14.66, 66.50)
CIE-LCHlch(78.02, 68.10, 102.43°)
OKLaboklab(80.55% -0.0472 0.1472)
OKLCHoklch(80.55% 0.155 107.8)
XYZxyz(45.3166, 53.2517, 11.8937)
Luminance0.5325 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC63A #3A3ECA
analogous
#CA7E3A #CAC63A #86CA3A
triadic
#CAC63A #3ACAC6 #C63ACA
tetradic
#CAC63A #3ACA7E #3A3ECA #CA3A86
square
#CAC63A #3ACA7E #3A3ECA #CA3A86
split-complementary
#CAC63A #3A86CA #7E3ACA
monochromatic
#6C6A1D #9D992A #CAC63A #D7D46A #E4E29A

Accessibility & contrast

On white

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

On black

11.65
#CAC63A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC63A
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC63A#FFFFFF#000000##000000
##CAC63A1.001.8011.6511.65
#FFFFFF1.801.0021.0021.00
#00000011.6521.001.001.00
##00000011.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE21
Deuteranopia (green-blind)
#D9C344
Tritanopia (blue-blind)
#D9B9AB
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cac63a;
/* rgb */ color: rgb(202, 198, 58);
/* oklch */ color: oklch(80.6% 0.155 107.8);
Tailwind
colors: {
  custom: {
    50: '#ded77a',
    500: '#cac63a',
    950: '#000000',
  },
}
SCSS
$custom: #cac63a;
$custom-light: #ded77a;
$custom-dark: #000000;
JSON
{
  "hex": "#cac63a",
  "rgb": {
    "r": 202,
    "g": 198,
    "b": 58
  },
  "hsl": {
    "h": 58.333,
    "s": 57.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.80551,
    "c": 0.15457,
    "h": 107.8
  },
  "luminance": 0.5325
}

Semantic roles & 50–950 ramp

primary
#CAC63A
secondary
#323476
accent
#4BE147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CAC63A

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

Preview Lab → · Contrast checker → · Palette generator →

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