#CAC346#CAC346

#CAC346 is a light, vivid yellow. Relative luminance 0.520; OKLCH L 80.0% C 0.144 H 106.1°. Best body text is #000000 at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#CAC346
RGBrgb(202, 195, 70)
HSLhsl(57, 55%, 53%)
HSVhsv(57, 65%, 79%)
CMYKcmyk(0%, 3.5%, 65.3%, 20.8%)
CIE-LABlab(77.30, -12.51, 61.21)
CIE-LCHlch(77.30, 62.48, 101.55°)
OKLaboklab(80% -0.0399 0.138)
OKLCHoklch(80% 0.144 106.1)
XYZxyz(44.9794, 52.0305, 13.4667)
Luminance0.5203 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC346 #464DCA
analogous
#CA8146 #CAC346 #8FCA46
triadic
#CAC346 #46CAC3 #C346CA
tetradic
#CAC346 #46CA81 #464DCA #CA468F
square
#CAC346 #46CA81 #464DCA #CA468F
split-complementary
#CAC346 #468FCA #8146CA
monochromatic
#747021 #A49E2F #CAC346 #D8D276 #E5E2A5

Accessibility & contrast

On white

1.84
#CAC346 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.41
#CAC346 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC346
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC346#FFFFFF#000000##000000
##CAC3461.001.8411.4111.41
#FFFFFF1.841.0021.0021.00
#00000011.4121.001.001.00
##00000011.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC35
Deuteranopia (green-blind)
#D6C14E
Tritanopia (blue-blind)
#D8B7A9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cac346;
/* rgb */ color: rgb(202, 195, 70);
/* oklch */ color: oklch(80.0% 0.144 106.1);
Tailwind
colors: {
  custom: {
    50: '#ddd480',
    500: '#cac346',
    950: '#000000',
  },
}
SCSS
$custom: #cac346;
$custom-light: #ddd480;
$custom-dark: #000000;
JSON
{
  "hex": "#cac346",
  "rgb": {
    "r": 202,
    "g": 195,
    "b": 70
  },
  "hsl": {
    "h": 56.818,
    "s": 55.462,
    "l": 53.333
  },
  "oklch": {
    "l": 0.8,
    "c": 0.14369,
    "h": 106.1
  },
  "luminance": 0.52029
}

Semantic roles & 50–950 ramp

primary
#CAC346
secondary
#373B7D
accent
#51DF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CAC346

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

Preview Lab → · Contrast checker → · Palette generator →

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