#CAC643#CAC643

#CAC643 is a light, vivid yellow. Relative luminance 0.533; OKLCH L 80.6% C 0.149 H 107.6°. Best body text is #000000 at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#CAC643
RGBrgb(202, 198, 67)
HSLhsl(58, 56%, 53%)
HSVhsv(58, 67%, 79%)
CMYKcmyk(0%, 2%, 66.8%, 20.8%)
CIE-LABlab(78.08, -14.20, 63.21)
CIE-LCHlch(78.08, 64.78, 102.66°)
OKLaboklab(80.62% -0.045 0.1418)
OKLCHoklch(80.62% 0.149 107.6)
XYZxyz(45.5660, 53.3514, 13.2067)
Luminance0.5335 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC643 #4347CA
analogous
#CA8243 #CAC643 #8BCA43
triadic
#CAC643 #43CAC6 #C643CA
tetradic
#CAC643 #43CA82 #4347CA #CA438B
square
#CAC643 #43CA82 #4347CA #CA438B
split-complementary
#CAC643 #438BCA #8243CA
monochromatic
#727020 #A29F2E #CAC643 #D7D473 #E5E3A2

Accessibility & contrast

On white

1.80
#CAC643 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.67
#CAC643 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC643
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC643#FFFFFF#000000##000000
##CAC6431.001.8011.6711.67
#FFFFFF1.801.0021.0021.00
#00000011.6721.001.001.00
##00000011.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE30
Deuteranopia (green-blind)
#D8C34C
Tritanopia (blue-blind)
#D8B9AC
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cac643;
/* rgb */ color: rgb(202, 198, 67);
/* oklch */ color: oklch(80.6% 0.149 107.6);
Tailwind
colors: {
  custom: {
    50: '#ddd77e',
    500: '#cac643',
    950: '#000000',
  },
}
SCSS
$custom: #cac643;
$custom-light: #ddd77e;
$custom-dark: #000000;
JSON
{
  "hex": "#cac643",
  "rgb": {
    "r": 202,
    "g": 198,
    "b": 67
  },
  "hsl": {
    "h": 58.222,
    "s": 56.017,
    "l": 52.745
  },
  "oklch": {
    "l": 0.80617,
    "c": 0.14873,
    "h": 107.6
  },
  "luminance": 0.5335
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CAC643

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

Preview Lab → · Contrast checker → · Palette generator →

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