#CACB3B#CACB3B

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

Color values

HEX#CACB3B
RGBrgb(202, 203, 59)
HSLhsl(60, 58%, 51%)
HSVhsv(60, 71%, 80%)
CMYKcmyk(0.5%, 0%, 70.9%, 20.4%)
CIE-LABlab(79.38, -17.12, 67.46)
CIE-LCHlch(79.38, 69.60, 104.24°)
OKLaboklab(81.63% -0.0539 0.1494)
OKLCHoklch(81.63% 0.159 109.9)
XYZxyz(46.5041, 55.5855, 12.4162)
Luminance0.5558 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACB3B #3C3BCB
analogous
#CB843B #CACB3B #82CB3B
triadic
#CACB3B #3BCACB #CB3BCA
tetradic
#CACB3B #3BCB84 #3C3BCB #CB3B82
square
#CACB3B #3BCB84 #3C3BCB #CB3B82
split-complementary
#CACB3B #3B82CB #843BCB
monochromatic
#6E6E1D #9E9F2A #CACB3B #D7D86B #E4E59C

Accessibility & contrast

On white

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

On black

12.12
#CACB3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CACB3B
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CACB3B#FFFFFF#000000##000000
##CACB3B1.001.7312.1212.12
#FFFFFF1.731.0021.0021.00
#00000012.1221.001.001.00
##00000012.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cacb3b;
/* rgb */ color: rgb(202, 203, 59);
/* oklch */ color: oklch(81.6% 0.159 109.9);
Tailwind
colors: {
  custom: {
    50: '#deda7b',
    500: '#cacb3b',
    950: '#000000',
  },
}
SCSS
$custom: #cacb3b;
$custom-light: #deda7b;
$custom-dark: #000000;
JSON
{
  "hex": "#cacb3b",
  "rgb": {
    "r": 202,
    "g": 203,
    "b": 59
  },
  "hsl": {
    "h": 60.417,
    "s": 58.065,
    "l": 51.373
  },
  "oklch": {
    "l": 0.81634,
    "c": 0.15883,
    "h": 109.9
  },
  "luminance": 0.55584
}

Semantic roles & 50–950 ramp

primary
#CACB3B
secondary
#333378
accent
#47E148
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CACB3B

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

Preview Lab → · Contrast checker → · Palette generator →

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