#CAC22B#CAC22B

#CAC22B is a light, vivid yellow. Relative luminance 0.513; OKLCH L 79.6% C 0.159 H 106.3°. Best body text is #000000 at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#CAC22B
RGBrgb(202, 194, 43)
HSLhsl(57, 65%, 48%)
HSVhsv(57, 79%, 79%)
CMYKcmyk(0%, 4%, 78.7%, 20.8%)
CIE-LABlab(76.87, -13.26, 70.28)
CIE-LCHlch(76.87, 71.52, 100.68°)
OKLaboklab(79.61% -0.0445 0.1525)
OKLCHoklch(79.61% 0.159 106.3)
XYZxyz(44.0868, 51.3162, 9.8678)
Luminance0.5131 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC22B #2B33CA
analogous
#CA722B #CAC22B #82CA2B
triadic
#CAC22B #2BCAC2 #C22BCA
tetradic
#CAC22B #2BCA72 #2B33CA #CA2B82
square
#CAC22B #2BCA72 #2B33CA #CA2B82
split-complementary
#CAC22B #2B82CA #722BCA
monochromatic
#656116 #989220 #CAC22B #DBD557 #E6E189

Accessibility & contrast

On white

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

On black

11.26
#CAC22B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC22B
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC22B#FFFFFF#000000##000000
##CAC22B1.001.8611.2611.26
#FFFFFF1.861.0021.0021.00
#00000011.2621.001.001.00
##00000011.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB00
Deuteranopia (green-blind)
#D6C038
Tritanopia (blue-blind)
#D9B5A6
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cac22b;
/* rgb */ color: rgb(202, 194, 43);
/* oklch */ color: oklch(79.6% 0.159 106.3);
Tailwind
colors: {
  custom: {
    50: '#ded472',
    500: '#cac22b',
    950: '#000000',
  },
}
SCSS
$custom: #cac22b;
$custom-light: #ded472;
$custom-dark: #000000;
JSON
{
  "hex": "#cac22b",
  "rgb": {
    "r": 202,
    "g": 194,
    "b": 43
  },
  "hsl": {
    "h": 56.981,
    "s": 64.898,
    "l": 48.039
  },
  "oklch": {
    "l": 0.79607,
    "c": 0.15888,
    "h": 106.3
  },
  "luminance": 0.51315
}

Semantic roles & 50–950 ramp

primary
#CAC22B
secondary
#2A2D6F
accent
#48E840
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CAC22B

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

Preview Lab → · Contrast checker → · Palette generator →

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