#CACB46#CACB46

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

Color values

HEX#CACB46
RGBrgb(202, 203, 70)
HSLhsl(60, 56%, 54%)
HSVhsv(60, 66%, 80%)
CMYKcmyk(0.5%, 0%, 65.5%, 20.4%)
CIE-LABlab(79.45, -16.54, 63.43)
CIE-LCHlch(79.45, 65.55, 104.61°)
OKLaboklab(81.72% -0.0512 0.1427)
OKLCHoklch(81.72% 0.152 109.7)
XYZxyz(46.8201, 55.7119, 14.0803)
Luminance0.5571 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACB46 #4746CB
analogous
#CB8946 #CACB46 #87CB46
triadic
#CACB46 #46CACB #CB46CA
tetradic
#CACB46 #46CB89 #4746CB #CB4687
square
#CACB46 #46CB89 #4746CB #CB4687
split-complementary
#CACB46 #4687CB #8946CB
monochromatic
#757621 #A4A52E #CACB46 #D8D876 #E5E6A6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CACB46#FFFFFF#000000##000000
##CACB461.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)
#DBC333
Deuteranopia (green-blind)
#DCC74F
Tritanopia (blue-blind)
#D8BFB0
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cacb46;
/* rgb */ color: rgb(202, 203, 70);
/* oklch */ color: oklch(81.7% 0.152 109.7);
Tailwind
colors: {
  custom: {
    50: '#ddda80',
    500: '#cacb46',
    950: '#000000',
  },
}
SCSS
$custom: #cacb46;
$custom-light: #ddda80;
$custom-dark: #000000;
JSON
{
  "hex": "#cacb46",
  "rgb": {
    "r": 202,
    "g": 203,
    "b": 70
  },
  "hsl": {
    "h": 60.451,
    "s": 56.118,
    "l": 53.529
  },
  "oklch": {
    "l": 0.81715,
    "c": 0.15164,
    "h": 109.7
  },
  "luminance": 0.55711
}

Semantic roles & 50–950 ramp

primary
#CACB46
secondary
#38377E
accent
#48DF4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CACB46

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

Preview Lab → · Contrast checker → · Palette generator →

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