#CAC943#CAC943

#CAC943 is a light, vivid yellow. Relative luminance 0.547; OKLCH L 81.3% C 0.152 H 108.9°. Best body text is #000000 at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#CAC943
RGBrgb(202, 201, 67)
HSLhsl(60, 56%, 53%)
HSVhsv(60, 67%, 79%)
CMYKcmyk(0%, 0.5%, 66.8%, 20.8%)
CIE-LABlab(78.89, -15.71, 64.03)
CIE-LCHlch(78.89, 65.93, 103.78°)
OKLaboklab(81.26% -0.0492 0.1435)
OKLCHoklch(81.26% 0.152 108.9)
XYZxyz(46.2585, 54.7365, 13.4376)
Luminance0.5474 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC943 #4344CA
analogous
#CA8643 #CAC943 #87CA43
triadic
#CAC943 #43CAC9 #C943CA
tetradic
#CAC943 #43CA86 #4344CA #CA4387
square
#CAC943 #43CA86 #4344CA #CA4387
split-complementary
#CAC943 #4387CA #8643CA
monochromatic
#727220 #A2A12E #CAC943 #D7D773 #E5E4A2

Accessibility & contrast

On white

1.76
#CAC943 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.95
#CAC943 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC943
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC943#FFFFFF#000000##000000
##CAC9431.001.7611.9511.95
#FFFFFF1.761.0021.0021.00
#00000011.9521.001.001.00
##00000011.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C12F
Deuteranopia (green-blind)
#DBC54C
Tritanopia (blue-blind)
#D8BCAE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cac943;
/* rgb */ color: rgb(202, 201, 67);
/* oklch */ color: oklch(81.3% 0.152 108.9);
Tailwind
colors: {
  custom: {
    50: '#ddd97f',
    500: '#cac943',
    950: '#000000',
  },
}
SCSS
$custom: #cac943;
$custom-light: #ddd97f;
$custom-dark: #000000;
JSON
{
  "hex": "#cac943",
  "rgb": {
    "r": 202,
    "g": 201,
    "b": 67
  },
  "hsl": {
    "h": 59.556,
    "s": 56.017,
    "l": 52.745
  },
  "oklch": {
    "l": 0.81261,
    "c": 0.1517,
    "h": 108.9
  },
  "luminance": 0.54735
}

Semantic roles & 50–950 ramp

primary
#CAC943
secondary
#36367B
accent
#4ADF48
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CAC943

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

Preview Lab → · Contrast checker → · Palette generator →

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