#CAC249#CAC249

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

Color values

HEX#CAC249
RGBrgb(202, 194, 73)
HSLhsl(56, 55%, 54%)
HSVhsv(56, 64%, 79%)
CMYKcmyk(0%, 4%, 63.9%, 20.8%)
CIE-LABlab(77.05, -11.82, 59.73)
CIE-LCHlch(77.05, 60.89, 101.20°)
OKLaboklab(79.81% -0.0376 0.1354)
OKLCHoklch(79.81% 0.14 105.5)
XYZxyz(44.8531, 51.6227, 13.9036)
Luminance0.5162 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC249 #4951CA
analogous
#CA8249 #CAC249 #92CA49
triadic
#CAC249 #49CAC2 #C249CA
tetradic
#CAC249 #49CA82 #4951CA #CA4992
square
#CAC249 #49CA82 #4951CA #CA4992
split-complementary
#CAC249 #4992CA #8249CA
monochromatic
#767122 #A69E30 #CAC249 #D8D278 #E6E2A8

Accessibility & contrast

On white

1.85
#CAC249 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.32
#CAC249 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC249
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC249#FFFFFF#000000##000000
##CAC2491.001.8511.3211.32
#FFFFFF1.851.0021.0021.00
#00000011.3221.001.001.00
##00000011.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB3A
Deuteranopia (green-blind)
#D5C150
Tritanopia (blue-blind)
#D8B6A9
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cac249;
/* rgb */ color: rgb(202, 194, 73);
/* oklch */ color: oklch(79.8% 0.140 105.5);
Tailwind
colors: {
  custom: {
    50: '#ddd481',
    500: '#cac249',
    950: '#000000',
  },
}
SCSS
$custom: #cac249;
$custom-light: #ddd481;
$custom-dark: #000000;
JSON
{
  "hex": "#cac249",
  "rgb": {
    "r": 202,
    "g": 194,
    "b": 73
  },
  "hsl": {
    "h": 56.279,
    "s": 54.894,
    "l": 53.922
  },
  "oklch": {
    "l": 0.79813,
    "c": 0.14049,
    "h": 105.5
  },
  "luminance": 0.51621
}

Semantic roles & 50–950 ramp

primary
#CAC249
secondary
#383D7F
accent
#53DE4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CAC249

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

Preview Lab → · Contrast checker → · Palette generator →

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