#CAC843#CAC843

#CAC843 is a light, vivid yellow. Relative luminance 0.543; OKLCH L 81.0% C 0.151 H 108.5°. Best body text is #000000 at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#CAC843
RGBrgb(202, 200, 67)
HSLhsl(59, 56%, 53%)
HSVhsv(59, 67%, 79%)
CMYKcmyk(0%, 1%, 66.8%, 20.8%)
CIE-LABlab(78.62, -15.21, 63.75)
CIE-LCHlch(78.62, 65.54, 103.42°)
OKLaboklab(81.05% -0.0478 0.1429)
OKLCHoklch(81.05% 0.151 108.5)
XYZxyz(46.0261, 54.2718, 13.3601)
Luminance0.5427 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC843 #4345CA
analogous
#CA8443 #CAC843 #89CA43
triadic
#CAC843 #43CAC8 #C843CA
tetradic
#CAC843 #43CA84 #4345CA #CA4389
square
#CAC843 #43CA84 #4345CA #CA4389
split-complementary
#CAC843 #4389CA #8443CA
monochromatic
#727120 #A2A02E #CAC843 #D7D673 #E5E4A2

Accessibility & contrast

On white

1.77
#CAC843 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.85
#CAC843 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC843
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC843#FFFFFF#000000##000000
##CAC8431.001.7711.8511.85
#FFFFFF1.771.0021.0021.00
#00000011.8521.001.001.00
##00000011.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C02F
Deuteranopia (green-blind)
#DAC54C
Tritanopia (blue-blind)
#D8BBAD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cac843;
/* rgb */ color: rgb(202, 200, 67);
/* oklch */ color: oklch(81.0% 0.151 108.5);
Tailwind
colors: {
  custom: {
    50: '#ddd87f',
    500: '#cac843',
    950: '#000000',
  },
}
SCSS
$custom: #cac843;
$custom-light: #ddd87f;
$custom-dark: #000000;
JSON
{
  "hex": "#cac843",
  "rgb": {
    "r": 202,
    "g": 200,
    "b": 67
  },
  "hsl": {
    "h": 59.111,
    "s": 56.017,
    "l": 52.745
  },
  "oklch": {
    "l": 0.81046,
    "c": 0.1507,
    "h": 108.5
  },
  "luminance": 0.5427
}

Semantic roles & 50–950 ramp

primary
#CAC843
secondary
#36377B
accent
#4BDF48
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CAC843

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

Preview Lab → · Contrast checker → · Palette generator →

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