#CACB4B#CACB4B

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

Color values

HEX#CACB4B
RGBrgb(202, 203, 75)
HSLhsl(60, 55%, 55%)
HSVhsv(60, 63%, 80%)
CMYKcmyk(0.5%, 0%, 63.1%, 20.4%)
CIE-LABlab(79.49, -16.24, 61.46)
CIE-LCHlch(79.49, 63.57, 104.80°)
OKLaboklab(81.76% -0.0499 0.1393)
OKLCHoklch(81.76% 0.148 109.7)
XYZxyz(46.9845, 55.7777, 14.9464)
Luminance0.5578 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACB4B #4C4BCB
analogous
#CB8C4B #CACB4B #8ACB4B
triadic
#CACB4B #4BCACB #CB4BCA
tetradic
#CACB4B #4BCB8C #4C4BCB #CB4B8A
square
#CACB4B #4BCB8C #4C4BCB #CB4B8A
split-complementary
#CACB4B #4B8ACB #8C4BCB
monochromatic
#787923 #A7A831 #CACB4B #D8D97A #E6E6AA

Accessibility & contrast

On white

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

On black

12.16
#CACB4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CACB4B
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CACB4B#FFFFFF#000000##000000
##CACB4B1.001.7312.1612.16
#FFFFFF1.731.0021.0021.00
#00000012.1621.001.001.00
##00000012.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC33A
Deuteranopia (green-blind)
#DCC753
Tritanopia (blue-blind)
#D8BFB1
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cacb4b;
/* rgb */ color: rgb(202, 203, 75);
/* oklch */ color: oklch(81.8% 0.148 109.7);
Tailwind
colors: {
  custom: {
    50: '#ddda83',
    500: '#cacb4b',
    950: '#000000',
  },
}
SCSS
$custom: #cacb4b;
$custom-light: #ddda83;
$custom-dark: #000000;
JSON
{
  "hex": "#cacb4b",
  "rgb": {
    "r": 202,
    "g": 203,
    "b": 75
  },
  "hsl": {
    "h": 60.469,
    "s": 55.172,
    "l": 54.51
  },
  "oklch": {
    "l": 0.81757,
    "c": 0.14799,
    "h": 109.7
  },
  "luminance": 0.55776
}

Semantic roles & 50–950 ramp

primary
#CACB4B
secondary
#3A3981
accent
#49DF4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CACB4B

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

Preview Lab → · Contrast checker → · Palette generator →

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