#CAC045#CAC045

#CAC045 is a light, vivid yellow. Relative luminance 0.507; OKLCH L 79.4% C 0.142 H 104.7°. Best body text is #000000 at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#CAC045
RGBrgb(202, 192, 69)
HSLhsl(55, 56%, 53%)
HSVhsv(55, 66%, 79%)
CMYKcmyk(0%, 5%, 65.8%, 20.8%)
CIE-LABlab(76.49, -11.04, 60.78)
CIE-LCHlch(76.49, 61.78, 100.30°)
OKLaboklab(79.35% -0.0358 0.137)
OKLCHoklch(79.35% 0.142 104.7)
XYZxyz(44.2826, 50.6871, 13.0801)
Luminance0.5069 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC045 #454FCA
analogous
#CA7D45 #CAC045 #91CA45
triadic
#CAC045 #45CAC0 #C045CA
tetradic
#CAC045 #45CA7D #454FCA #CA4591
square
#CAC045 #45CA7D #454FCA #CA4591
split-complementary
#CAC045 #4591CA #7D45CA
monochromatic
#746D21 #A39A2F #CAC045 #D8D075 #E5E0A4

Accessibility & contrast

On white

1.89
#CAC045 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.14
#CAC045 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC045
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC045#FFFFFF#000000##000000
##CAC0451.001.8911.1411.14
#FFFFFF1.891.0021.0021.00
#00000011.1421.001.001.00
##00000011.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B934
Deuteranopia (green-blind)
#D4BF4D
Tritanopia (blue-blind)
#D9B3A7
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cac045;
/* rgb */ color: rgb(202, 192, 69);
/* oklch */ color: oklch(79.4% 0.142 104.7);
Tailwind
colors: {
  custom: {
    50: '#ddd27f',
    500: '#cac045',
    950: '#000000',
  },
}
SCSS
$custom: #cac045;
$custom-light: #ddd27f;
$custom-dark: #000000;
JSON
{
  "hex": "#cac045",
  "rgb": {
    "r": 202,
    "g": 192,
    "b": 69
  },
  "hsl": {
    "h": 55.489,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.79353,
    "c": 0.14158,
    "h": 104.7
  },
  "luminance": 0.50686
}

Semantic roles & 50–950 ramp

primary
#CAC045
secondary
#373C7D
accent
#54DF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CAC045

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

Preview Lab → · Contrast checker → · Palette generator →

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