#CAC245#CAC245

#CAC245 is a light, vivid yellow. Relative luminance 0.516; OKLCH L 79.8% C 0.143 H 105.7°. Best body text is #000000 at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#CAC245
RGBrgb(202, 194, 69)
HSLhsl(56, 56%, 53%)
HSVhsv(56, 66%, 79%)
CMYKcmyk(0%, 4%, 65.8%, 20.8%)
CIE-LABlab(77.02, -12.06, 61.33)
CIE-LCHlch(77.02, 62.51, 101.13°)
OKLaboklab(79.78% -0.0387 0.1381)
OKLCHoklch(79.78% 0.143 105.7)
XYZxyz(44.7248, 51.5714, 13.2274)
Luminance0.5157 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC245 #454DCA
analogous
#CA7F45 #CAC245 #8FCA45
triadic
#CAC245 #45CAC2 #C245CA
tetradic
#CAC245 #45CA7F #454DCA #CA458F
square
#CAC245 #45CA7F #454DCA #CA458F
split-complementary
#CAC245 #458FCA #7F45CA
monochromatic
#746F21 #A39C2F #CAC245 #D8D275 #E5E1A4

Accessibility & contrast

On white

1.86
#CAC245 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.31
#CAC245 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC245
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC245#FFFFFF#000000##000000
##CAC2451.001.8611.3111.31
#FFFFFF1.861.0021.0021.00
#00000011.3121.001.001.00
##00000011.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB34
Deuteranopia (green-blind)
#D5C14D
Tritanopia (blue-blind)
#D8B5A8
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cac245;
/* rgb */ color: rgb(202, 194, 69);
/* oklch */ color: oklch(79.8% 0.143 105.7);
Tailwind
colors: {
  custom: {
    50: '#ddd47f',
    500: '#cac245',
    950: '#000000',
  },
}
SCSS
$custom: #cac245;
$custom-light: #ddd47f;
$custom-dark: #000000;
JSON
{
  "hex": "#cac245",
  "rgb": {
    "r": 202,
    "g": 194,
    "b": 69
  },
  "hsl": {
    "h": 56.391,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.79778,
    "c": 0.14347,
    "h": 105.7
  },
  "luminance": 0.5157
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CAC245

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

Preview Lab → · Contrast checker → · Palette generator →

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