#CACB41#CACB41

#CACB41 is a light, vivid yellow. Relative luminance 0.556; OKLCH L 81.7% C 0.155 H 109.8°. Best body text is #000000 at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#CACB41
RGBrgb(202, 203, 65)
HSLhsl(60, 57%, 53%)
HSVhsv(60, 68%, 80%)
CMYKcmyk(0.5%, 0%, 68%, 20.4%)
CIE-LABlab(79.42, -16.81, 65.32)
CIE-LCHlch(79.42, 67.45, 104.44°)
OKLaboklab(81.68% -0.0525 0.1459)
OKLCHoklch(81.68% 0.155 109.8)
XYZxyz(46.6688, 55.6514, 13.2834)
Luminance0.5565 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACB41 #4241CB
analogous
#CB8741 #CACB41 #85CB41
triadic
#CACB41 #41CACB #CB41CA
tetradic
#CACB41 #41CB87 #4241CB #CB4185
square
#CACB41 #41CB87 #4241CB #CB4185
split-complementary
#CACB41 #4185CB #8741CB
monochromatic
#72721F #A2A22C #CACB41 #D7D871 #E5E5A1

Accessibility & contrast

On white

1.73
#CACB41 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.13
#CACB41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CACB41
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CACB41#FFFFFF#000000##000000
##CACB411.001.7312.1312.13
#FFFFFF1.731.0021.0021.00
#00000012.1321.001.001.00
##00000012.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC22B
Deuteranopia (green-blind)
#DCC74B
Tritanopia (blue-blind)
#D8BEB0
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cacb41;
/* rgb */ color: rgb(202, 203, 65);
/* oklch */ color: oklch(81.7% 0.155 109.8);
Tailwind
colors: {
  custom: {
    50: '#deda7e',
    500: '#cacb41',
    950: '#000000',
  },
}
SCSS
$custom: #cacb41;
$custom-light: #deda7e;
$custom-dark: #000000;
JSON
{
  "hex": "#cacb41",
  "rgb": {
    "r": 202,
    "g": 203,
    "b": 65
  },
  "hsl": {
    "h": 60.435,
    "s": 57.025,
    "l": 52.549
  },
  "oklch": {
    "l": 0.81676,
    "c": 0.15506,
    "h": 109.8
  },
  "luminance": 0.5565
}

Semantic roles & 50–950 ramp

primary
#CACB41
secondary
#35357B
accent
#48E049
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CACB41

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

Preview Lab → · Contrast checker → · Palette generator →

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