#CACB37#CACB37

#CACB37 is a light, vivid yellow. Relative luminance 0.555; OKLCH L 81.6% C 0.161 H 109.9°. Best body text is #000000 at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#CACB37
RGBrgb(202, 203, 55)
HSLhsl(60, 59%, 51%)
HSVhsv(60, 73%, 80%)
CMYKcmyk(0.5%, 0%, 72.9%, 20.4%)
CIE-LABlab(79.35, -17.30, 68.81)
CIE-LCHlch(79.35, 70.95, 104.11°)
OKLaboklab(81.61% -0.0548 0.1515)
OKLCHoklch(81.61% 0.161 109.9)
XYZxyz(46.4043, 55.5456, 11.8906)
Luminance0.5554 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACB37 #3837CB
analogous
#CB8237 #CACB37 #80CB37
triadic
#CACB37 #37CACB #CB37CA
tetradic
#CACB37 #37CB82 #3837CB #CB3780
square
#CACB37 #37CB82 #3837CB #CB3780
split-complementary
#CACB37 #3780CB #8237CB
monochromatic
#6B6C1C #9B9C29 #CACB37 #D7D868 #E4E498

Accessibility & contrast

On white

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

On black

12.11
#CACB37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CACB37
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CACB37#FFFFFF#000000##000000
##CACB371.001.7312.1112.11
#FFFFFF1.731.0021.0021.00
#00000012.1121.001.001.00
##00000012.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC218
Deuteranopia (green-blind)
#DDC743
Tritanopia (blue-blind)
#D8BEAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cacb37;
/* rgb */ color: rgb(202, 203, 55);
/* oklch */ color: oklch(81.6% 0.161 109.9);
Tailwind
colors: {
  custom: {
    50: '#deda79',
    500: '#cacb37',
    950: '#000000',
  },
}
SCSS
$custom: #cacb37;
$custom-light: #deda79;
$custom-dark: #000000;
JSON
{
  "hex": "#cacb37",
  "rgb": {
    "r": 202,
    "g": 203,
    "b": 55
  },
  "hsl": {
    "h": 60.405,
    "s": 58.73,
    "l": 50.588
  },
  "oklch": {
    "l": 0.81608,
    "c": 0.16115,
    "h": 109.9
  },
  "luminance": 0.55544
}

Semantic roles & 50–950 ramp

primary
#CACB37
secondary
#313175
accent
#46E247
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CACB37

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

Preview Lab → · Contrast checker → · Palette generator →

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