#CAC62A#CAC62A

#CAC62A is a light, vivid yellow. Relative luminance 0.531; OKLCH L 80.5% C 0.163 H 108.0°. Best body text is #000000 at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#CAC62A
RGBrgb(202, 198, 42)
HSLhsl(59, 66%, 48%)
HSVhsv(59, 79%, 79%)
CMYKcmyk(0%, 2%, 79.2%, 20.8%)
CIE-LABlab(77.94, -15.31, 71.51)
CIE-LCHlch(77.94, 73.13, 102.08°)
OKLaboklab(80.46% -0.0503 0.155)
OKLCHoklch(80.46% 0.163 108)
XYZxyz(44.9710, 53.1134, 10.0731)
Luminance0.5311 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC62A #2A2ECA
analogous
#CA762A #CAC62A #7ECA2A
triadic
#CAC62A #2ACAC6 #C62ACA
tetradic
#CAC62A #2ACA76 #2A2ECA #CA2A7E
square
#CAC62A #2ACA76 #2A2ECA #CA2A7E
split-complementary
#CAC62A #2A7ECA #762ACA
monochromatic
#656315 #97941F #CAC62A #DCD855 #E6E488

Accessibility & contrast

On white

1.81
#CAC62A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.62
#CAC62A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC62A
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC62A#FFFFFF#000000##000000
##CAC62A1.001.8111.6211.62
#FFFFFF1.811.0021.0021.00
#00000011.6221.001.001.00
##00000011.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BE00
Deuteranopia (green-blind)
#DAC338
Tritanopia (blue-blind)
#D9B9AA
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cac62a;
/* rgb */ color: rgb(202, 198, 42);
/* oklch */ color: oklch(80.5% 0.163 108.0);
Tailwind
colors: {
  custom: {
    50: '#ded772',
    500: '#cac62a',
    950: '#000000',
  },
}
SCSS
$custom: #cac62a;
$custom-light: #ded772;
$custom-dark: #000000;
JSON
{
  "hex": "#cac62a",
  "rgb": {
    "r": 202,
    "g": 198,
    "b": 42
  },
  "hsl": {
    "h": 58.5,
    "s": 65.574,
    "l": 47.843
  },
  "oklch": {
    "l": 0.8046,
    "c": 0.16294,
    "h": 108
  },
  "luminance": 0.53112
}

Semantic roles & 50–950 ramp

primary
#CAC62A
secondary
#292B6F
accent
#44E93F
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CAC62A

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

Preview Lab → · Contrast checker → · Palette generator →

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