#CAC543#CAC543

#CAC543 is a light, vivid yellow. Relative luminance 0.529; OKLCH L 80.4% C 0.148 H 107.1°. Best body text is #000000 at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#CAC543
RGBrgb(202, 197, 67)
HSLhsl(58, 56%, 53%)
HSVhsv(58, 67%, 79%)
CMYKcmyk(0%, 2.5%, 66.8%, 20.8%)
CIE-LABlab(77.81, -13.70, 62.94)
CIE-LCHlch(77.81, 64.41, 102.28°)
OKLaboklab(80.4% -0.0435 0.1412)
OKLCHoklch(80.4% 0.148 107.1)
XYZxyz(45.3381, 52.8958, 13.1308)
Luminance0.5289 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC543 #4348CA
analogous
#CA8243 #CAC543 #8BCA43
triadic
#CAC543 #43CAC5 #C543CA
tetradic
#CAC543 #43CA82 #4348CA #CA438B
square
#CAC543 #43CA82 #4348CA #CA438B
split-complementary
#CAC543 #438BCA #8243CA
monochromatic
#726F20 #A29E2E #CAC543 #D7D473 #E5E2A2

Accessibility & contrast

On white

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

On black

11.58
#CAC543 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC543
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC543#FFFFFF#000000##000000
##CAC5431.001.8111.5811.58
#FFFFFF1.811.0021.0021.00
#00000011.5821.001.001.00
##00000011.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE30
Deuteranopia (green-blind)
#D8C34C
Tritanopia (blue-blind)
#D8B8AB
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cac543;
/* rgb */ color: rgb(202, 197, 67);
/* oklch */ color: oklch(80.4% 0.148 107.1);
Tailwind
colors: {
  custom: {
    50: '#ddd67e',
    500: '#cac543',
    950: '#000000',
  },
}
SCSS
$custom: #cac543;
$custom-light: #ddd67e;
$custom-dark: #000000;
JSON
{
  "hex": "#cac543",
  "rgb": {
    "r": 202,
    "g": 197,
    "b": 67
  },
  "hsl": {
    "h": 57.778,
    "s": 56.017,
    "l": 52.745
  },
  "oklch": {
    "l": 0.80402,
    "c": 0.14776,
    "h": 107.1
  },
  "luminance": 0.52894
}

Semantic roles & 50–950 ramp

primary
#CAC543
secondary
#36387B
accent
#4EDF48
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CAC543

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

Preview Lab → · Contrast checker → · Palette generator →

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