#CACB39#CACB39

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

Color values

HEX#CACB39
RGBrgb(202, 203, 57)
HSLhsl(60, 58%, 51%)
HSVhsv(60, 72%, 80%)
CMYKcmyk(0.5%, 0%, 71.9%, 20.4%)
CIE-LABlab(79.37, -17.21, 68.14)
CIE-LCHlch(79.37, 70.28, 104.17°)
OKLaboklab(81.62% -0.0544 0.1505)
OKLCHoklch(81.62% 0.16 109.9)
XYZxyz(46.4532, 55.5652, 12.1483)
Luminance0.5556 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACB39 #3A39CB
analogous
#CB8339 #CACB39 #81CB39
triadic
#CACB39 #39CACB #CB39CA
tetradic
#CACB39 #39CB83 #3A39CB #CB3981
square
#CACB39 #39CB83 #3A39CB #CB3981
split-complementary
#CACB39 #3981CB #8339CB
monochromatic
#6C6D1D #9D9D29 #CACB39 #D7D869 #E4E49A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CACB39#FFFFFF#000000##000000
##CACB391.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)
#DBC21D
Deuteranopia (green-blind)
#DDC744
Tritanopia (blue-blind)
#D8BEAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cacb39;
/* rgb */ color: rgb(202, 203, 57);
/* oklch */ color: oklch(81.6% 0.160 109.9);
Tailwind
colors: {
  custom: {
    50: '#deda7a',
    500: '#cacb39',
    950: '#000000',
  },
}
SCSS
$custom: #cacb39;
$custom-light: #deda7a;
$custom-dark: #000000;
JSON
{
  "hex": "#cacb39",
  "rgb": {
    "r": 202,
    "g": 203,
    "b": 57
  },
  "hsl": {
    "h": 60.411,
    "s": 58.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.81621,
    "c": 0.16001,
    "h": 109.9
  },
  "luminance": 0.55564
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CACB39

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

Preview Lab → · Contrast checker → · Palette generator →

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