#CAC149#CAC149

#CAC149 is a light, vivid yellow. Relative luminance 0.512; OKLCH L 79.6% C 0.140 H 105.0°. Best body text is #000000 at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#CAC149
RGBrgb(202, 193, 73)
HSLhsl(56, 55%, 54%)
HSVhsv(56, 64%, 79%)
CMYKcmyk(0%, 4.5%, 63.9%, 20.8%)
CIE-LABlab(76.79, -11.31, 59.44)
CIE-LCHlch(76.79, 60.51, 100.78°)
OKLaboklab(79.6% -0.0362 0.1348)
OKLCHoklch(79.6% 0.14 105)
XYZxyz(44.6313, 51.1791, 13.8296)
Luminance0.5118 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC149 #4952CA
analogous
#CA8149 #CAC149 #93CA49
triadic
#CAC149 #49CAC1 #C149CA
tetradic
#CAC149 #49CA81 #4952CA #CA4993
square
#CAC149 #49CA81 #4952CA #CA4993
split-complementary
#CAC149 #4993CA #8149CA
monochromatic
#767022 #A69D30 #CAC149 #D8D178 #E6E1A8

Accessibility & contrast

On white

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

On black

11.24
#CAC149 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC149
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC149#FFFFFF#000000##000000
##CAC1491.001.8711.2411.24
#FFFFFF1.871.0021.0021.00
#00000011.2421.001.001.00
##00000011.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA3A
Deuteranopia (green-blind)
#D4C050
Tritanopia (blue-blind)
#D8B5A8
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cac149;
/* rgb */ color: rgb(202, 193, 73);
/* oklch */ color: oklch(79.6% 0.140 105.0);
Tailwind
colors: {
  custom: {
    50: '#ddd381',
    500: '#cac149',
    950: '#000000',
  },
}
SCSS
$custom: #cac149;
$custom-light: #ddd381;
$custom-dark: #000000;
JSON
{
  "hex": "#cac149",
  "rgb": {
    "r": 202,
    "g": 193,
    "b": 73
  },
  "hsl": {
    "h": 55.814,
    "s": 54.894,
    "l": 53.922
  },
  "oklch": {
    "l": 0.796,
    "c": 0.13954,
    "h": 105
  },
  "luminance": 0.51178
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CAC149

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

Preview Lab → · Contrast checker → · Palette generator →

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