#CACB4A#CACB4A

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

Color values

HEX#CACB4A
RGBrgb(202, 203, 74)
HSLhsl(60, 55%, 54%)
HSVhsv(60, 64%, 80%)
CMYKcmyk(0.5%, 0%, 63.5%, 20.4%)
CIE-LABlab(79.48, -16.30, 61.86)
CIE-LCHlch(79.48, 63.97, 104.76°)
OKLaboklab(81.75% -0.0502 0.14)
OKLCHoklch(81.75% 0.149 109.7)
XYZxyz(46.9506, 55.7641, 14.7676)
Luminance0.5576 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACB4A #4B4ACB
analogous
#CB8C4A #CACB4A #8ACB4A
triadic
#CACB4A #4ACACB #CB4ACA
tetradic
#CACB4A #4ACB8C #4B4ACB #CB4A8A
square
#CACB4A #4ACB8C #4B4ACB #CB4A8A
split-complementary
#CACB4A #4A8ACB #8C4ACB
monochromatic
#777823 #A7A830 #CACB4A #D8D97A #E6E6A9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CACB4A#FFFFFF#000000##000000
##CACB4A1.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)
#DAC339
Deuteranopia (green-blind)
#DCC752
Tritanopia (blue-blind)
#D8BFB0
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cacb4a;
/* rgb */ color: rgb(202, 203, 74);
/* oklch */ color: oklch(81.7% 0.149 109.7);
Tailwind
colors: {
  custom: {
    50: '#ddda83',
    500: '#cacb4a',
    950: '#000000',
  },
}
SCSS
$custom: #cacb4a;
$custom-light: #ddda83;
$custom-dark: #000000;
JSON
{
  "hex": "#cacb4a",
  "rgb": {
    "r": 202,
    "g": 203,
    "b": 74
  },
  "hsl": {
    "h": 60.465,
    "s": 55.365,
    "l": 54.314
  },
  "oklch": {
    "l": 0.81748,
    "c": 0.14873,
    "h": 109.7
  },
  "luminance": 0.55763
}

Semantic roles & 50–950 ramp

primary
#CACB4A
secondary
#393980
accent
#49DF4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CACB4A

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

Preview Lab → · Contrast checker → · Palette generator →

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