#CAC62C#CAC62C

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

Color values

HEX#CAC62C
RGBrgb(202, 198, 44)
HSLhsl(58, 64%, 48%)
HSVhsv(58, 78%, 79%)
CMYKcmyk(0%, 2%, 78.2%, 20.8%)
CIE-LABlab(77.95, -15.24, 70.95)
CIE-LCHlch(77.95, 72.57, 102.12°)
OKLaboklab(80.47% -0.05 0.1541)
OKLCHoklch(80.47% 0.162 108)
XYZxyz(45.0077, 53.1281, 10.2663)
Luminance0.5313 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC62C #2C30CA
analogous
#CA772C #CAC62C #7FCA2C
triadic
#CAC62C #2CCAC6 #C62CCA
tetradic
#CAC62C #2CCA77 #2C30CA #CA2C7F
square
#CAC62C #2CCA77 #2C30CA #CA2C7F
split-complementary
#CAC62C #2C7FCA #772CCA
monochromatic
#656316 #989521 #CAC62C #DBD758 #E6E38B

Accessibility & contrast

On white

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

On black

11.63
#CAC62C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC62C
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC62C#FFFFFF#000000##000000
##CAC62C1.001.8111.6311.63
#FFFFFF1.811.0021.0021.00
#00000011.6321.001.001.00
##00000011.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cac62c;
/* rgb */ color: rgb(202, 198, 44);
/* oklch */ color: oklch(80.5% 0.162 108.0);
Tailwind
colors: {
  custom: {
    50: '#ded773',
    500: '#cac62c',
    950: '#000000',
  },
}
SCSS
$custom: #cac62c;
$custom-light: #ded773;
$custom-dark: #000000;
JSON
{
  "hex": "#cac62c",
  "rgb": {
    "r": 202,
    "g": 198,
    "b": 44
  },
  "hsl": {
    "h": 58.481,
    "s": 64.228,
    "l": 48.235
  },
  "oklch": {
    "l": 0.8047,
    "c": 0.16204,
    "h": 108
  },
  "luminance": 0.53127
}

Semantic roles & 50–950 ramp

primary
#CAC62C
secondary
#2A2C70
accent
#45E741
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CAC62C

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

Preview Lab → · Contrast checker → · Palette generator →

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