#CAC343#CAC343

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

Color values

HEX#CAC343
RGBrgb(202, 195, 67)
HSLhsl(57, 56%, 53%)
HSVhsv(57, 67%, 79%)
CMYKcmyk(0%, 3.5%, 66.8%, 20.8%)
CIE-LABlab(77.28, -12.68, 62.39)
CIE-LCHlch(77.28, 63.67, 101.49°)
OKLaboklab(79.97% -0.0407 0.14)
OKLCHoklch(79.97% 0.146 106.2)
XYZxyz(44.8870, 51.9936, 12.9804)
Luminance0.5199 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC343 #434ACA
analogous
#CA7F43 #CAC343 #8DCA43
triadic
#CAC343 #43CAC3 #C343CA
tetradic
#CAC343 #43CA7F #434ACA #CA438D
square
#CAC343 #43CA7F #434ACA #CA438D
split-complementary
#CAC343 #438DCA #7F43CA
monochromatic
#726E20 #A29C2E #CAC343 #D7D273 #E5E1A2

Accessibility & contrast

On white

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

On black

11.40
#CAC343 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC343
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC343#FFFFFF#000000##000000
##CAC3431.001.8411.4011.40
#FFFFFF1.841.0021.0021.00
#00000011.4021.001.001.00
##00000011.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC31
Deuteranopia (green-blind)
#D6C14B
Tritanopia (blue-blind)
#D8B6A9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cac343;
/* rgb */ color: rgb(202, 195, 67);
/* oklch */ color: oklch(80.0% 0.146 106.2);
Tailwind
colors: {
  custom: {
    50: '#ddd47e',
    500: '#cac343',
    950: '#000000',
  },
}
SCSS
$custom: #cac343;
$custom-light: #ddd47e;
$custom-dark: #000000;
JSON
{
  "hex": "#cac343",
  "rgb": {
    "r": 202,
    "g": 195,
    "b": 67
  },
  "hsl": {
    "h": 56.889,
    "s": 56.017,
    "l": 52.745
  },
  "oklch": {
    "l": 0.79975,
    "c": 0.14583,
    "h": 106.2
  },
  "luminance": 0.51992
}

Semantic roles & 50–950 ramp

primary
#CAC343
secondary
#36397B
accent
#50DF48
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CAC343

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

Preview Lab → · Contrast checker → · Palette generator →

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