#CACB48#CACB48

#CACB48 is a light, vivid yellow. Relative luminance 0.557; OKLCH L 81.7% C 0.150 H 109.7°. Best body text is #000000 at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#CACB48
RGBrgb(202, 203, 72)
HSLhsl(60, 56%, 54%)
HSVhsv(60, 65%, 80%)
CMYKcmyk(0.5%, 0%, 64.5%, 20.4%)
CIE-LABlab(79.46, -16.42, 62.65)
CIE-LCHlch(79.46, 64.77, 104.69°)
OKLaboklab(81.73% -0.0507 0.1414)
OKLCHoklch(81.73% 0.15 109.7)
XYZxyz(46.8843, 55.7376, 14.4183)
Luminance0.5574 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACB48 #4948CB
analogous
#CB8B48 #CACB48 #89CB48
triadic
#CACB48 #48CACB #CB48CA
tetradic
#CACB48 #48CB8B #4948CB #CB4889
square
#CACB48 #48CB8B #4948CB #CB4889
split-complementary
#CACB48 #4889CB #8B48CB
monochromatic
#767722 #A6A62F #CACB48 #D8D978 #E6E6A7

Accessibility & contrast

On white

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

On black

12.15
#CACB48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CACB48
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CACB48#FFFFFF#000000##000000
##CACB481.001.7312.1512.15
#FFFFFF1.731.0021.0021.00
#00000012.1521.001.001.00
##00000012.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC336
Deuteranopia (green-blind)
#DCC751
Tritanopia (blue-blind)
#D8BFB0
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cacb48;
/* rgb */ color: rgb(202, 203, 72);
/* oklch */ color: oklch(81.7% 0.150 109.7);
Tailwind
colors: {
  custom: {
    50: '#ddda82',
    500: '#cacb48',
    950: '#000000',
  },
}
SCSS
$custom: #cacb48;
$custom-light: #ddda82;
$custom-dark: #000000;
JSON
{
  "hex": "#cacb48",
  "rgb": {
    "r": 202,
    "g": 203,
    "b": 72
  },
  "hsl": {
    "h": 60.458,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.81731,
    "c": 0.15021,
    "h": 109.7
  },
  "luminance": 0.55736
}

Semantic roles & 50–950 ramp

primary
#CACB48
secondary
#38387F
accent
#49DF4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CACB48

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

Preview Lab → · Contrast checker → · Palette generator →

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