#CAC145#CAC145

#CAC145 is a light, vivid yellow. Relative luminance 0.511; OKLCH L 79.6% C 0.143 H 105.2°. Best body text is #000000 at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#CAC145
RGBrgb(202, 193, 69)
HSLhsl(56, 56%, 53%)
HSVhsv(56, 66%, 79%)
CMYKcmyk(0%, 4.5%, 65.8%, 20.8%)
CIE-LABlab(76.76, -11.55, 61.06)
CIE-LCHlch(76.76, 62.14, 100.72°)
OKLaboklab(79.57% -0.0373 0.1376)
OKLCHoklch(79.57% 0.143 105.2)
XYZxyz(44.5029, 51.1278, 13.1535)
Luminance0.5113 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC145 #454ECA
analogous
#CA7E45 #CAC145 #90CA45
triadic
#CAC145 #45CAC1 #C145CA
tetradic
#CAC145 #45CA7E #454ECA #CA4590
square
#CAC145 #45CA7E #454ECA #CA4590
split-complementary
#CAC145 #4590CA #7E45CA
monochromatic
#746E21 #A39B2F #CAC145 #D8D175 #E5E1A4

Accessibility & contrast

On white

1.87
#CAC145 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.23
#CAC145 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC145
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC145#FFFFFF#000000##000000
##CAC1451.001.8711.2311.23
#FFFFFF1.871.0021.0021.00
#00000011.2321.001.001.00
##00000011.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA34
Deuteranopia (green-blind)
#D5C04D
Tritanopia (blue-blind)
#D8B4A8
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cac145;
/* rgb */ color: rgb(202, 193, 69);
/* oklch */ color: oklch(79.6% 0.143 105.2);
Tailwind
colors: {
  custom: {
    50: '#ddd37f',
    500: '#cac145',
    950: '#000000',
  },
}
SCSS
$custom: #cac145;
$custom-light: #ddd37f;
$custom-dark: #000000;
JSON
{
  "hex": "#cac145",
  "rgb": {
    "r": 202,
    "g": 193,
    "b": 69
  },
  "hsl": {
    "h": 55.94,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.79565,
    "c": 0.14252,
    "h": 105.2
  },
  "luminance": 0.51126
}

Semantic roles & 50–950 ramp

primary
#CAC145
secondary
#373B7D
accent
#53DF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CAC145

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

Preview Lab → · Contrast checker → · Palette generator →

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