#CACB47#CACB47

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

Color values

HEX#CACB47
RGBrgb(202, 203, 71)
HSLhsl(60, 56%, 54%)
HSVhsv(60, 65%, 80%)
CMYKcmyk(0.5%, 0%, 65%, 20.4%)
CIE-LABlab(79.46, -16.48, 63.04)
CIE-LCHlch(79.46, 65.16, 104.65°)
OKLaboklab(81.72% -0.051 0.1421)
OKLCHoklch(81.72% 0.151 109.7)
XYZxyz(46.8519, 55.7247, 14.2479)
Luminance0.5572 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACB47 #4847CB
analogous
#CB8A47 #CACB47 #88CB47
triadic
#CACB47 #47CACB #CB47CA
tetradic
#CACB47 #47CB8A #4847CB #CB4788
square
#CACB47 #47CB8A #4847CB #CB4788
split-complementary
#CACB47 #4788CB #8A47CB
monochromatic
#767621 #A5A62F #CACB47 #D8D877 #E5E6A6

Accessibility & contrast

On white

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

On black

12.14
#CACB47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CACB47
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CACB47#FFFFFF#000000##000000
##CACB471.001.7312.1412.14
#FFFFFF1.731.0021.0021.00
#00000012.1421.001.001.00
##00000012.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cacb47;
/* rgb */ color: rgb(202, 203, 71);
/* oklch */ color: oklch(81.7% 0.151 109.7);
Tailwind
colors: {
  custom: {
    50: '#ddda81',
    500: '#cacb47',
    950: '#000000',
  },
}
SCSS
$custom: #cacb47;
$custom-light: #ddda81;
$custom-dark: #000000;
JSON
{
  "hex": "#cacb47",
  "rgb": {
    "r": 202,
    "g": 203,
    "b": 71
  },
  "hsl": {
    "h": 60.455,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.81723,
    "c": 0.15093,
    "h": 109.7
  },
  "luminance": 0.55723
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CACB47

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

Preview Lab → · Contrast checker → · Palette generator →

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