#CAC62E#CAC62E

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

Color values

HEX#CAC62E
RGBrgb(202, 198, 46)
HSLhsl(58, 63%, 49%)
HSVhsv(58, 77%, 79%)
CMYKcmyk(0%, 2%, 77.2%, 20.8%)
CIE-LABlab(77.96, -15.17, 70.37)
CIE-LCHlch(77.96, 71.99, 102.16°)
OKLaboklab(80.48% -0.0496 0.1533)
OKLCHoklch(80.48% 0.161 107.9)
XYZxyz(45.0462, 53.1435, 10.4691)
Luminance0.5314 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC62E #2E32CA
analogous
#CA782E #CAC62E #80CA2E
triadic
#CAC62E #2ECAC6 #C62ECA
tetradic
#CAC62E #2ECA78 #2E32CA #CA2E80
square
#CAC62E #2ECA78 #2E32CA #CA2E80
split-complementary
#CAC62E #2E80CA #782ECA
monochromatic
#666417 #989523 #CAC62E #DAD75B #E5E38D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAC62E#FFFFFF#000000##000000
##CAC62E1.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)
#D9C33B
Tritanopia (blue-blind)
#D9B9AA
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cac62e;
/* rgb */ color: rgb(202, 198, 46);
/* oklch */ color: oklch(80.5% 0.161 107.9);
Tailwind
colors: {
  custom: {
    50: '#ded774',
    500: '#cac62e',
    950: '#000000',
  },
}
SCSS
$custom: #cac62e;
$custom-light: #ded774;
$custom-dark: #000000;
JSON
{
  "hex": "#cac62e",
  "rgb": {
    "r": 202,
    "g": 198,
    "b": 46
  },
  "hsl": {
    "h": 58.462,
    "s": 62.903,
    "l": 48.627
  },
  "oklch": {
    "l": 0.8048,
    "c": 0.16109,
    "h": 107.9
  },
  "luminance": 0.53142
}

Semantic roles & 50–950 ramp

primary
#CAC62E
secondary
#2C2D70
accent
#46E642
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CAC62E

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

Preview Lab → · Contrast checker → · Palette generator →

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