#CACB33#CACB33

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

Color values

HEX#CACB33
RGBrgb(202, 203, 51)
HSLhsl(60, 60%, 50%)
HSVhsv(60, 75%, 80%)
CMYKcmyk(0.5%, 0%, 74.9%, 20.4%)
CIE-LABlab(79.33, -17.47, 70.09)
CIE-LCHlch(79.33, 72.23, 104.00°)
OKLaboklab(81.58% -0.0556 0.1536)
OKLCHoklch(81.58% 0.163 109.9)
XYZxyz(46.3123, 55.5088, 11.4060)
Luminance0.5551 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACB33 #3433CB
analogous
#CB8033 #CACB33 #7ECB33
triadic
#CACB33 #33CACB #CB33CA
tetradic
#CACB33 #33CB80 #3433CB #CB337E
square
#CACB33 #33CB80 #3433CB #CB337E
split-complementary
#CACB33 #337ECB #8033CB
monochromatic
#69691A #999A27 #CACB33 #D7D863 #E4E494

Accessibility & contrast

On white

1.74
#CACB33 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.10
#CACB33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CACB33
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CACB33#FFFFFF#000000##000000
##CACB331.001.7412.1012.10
#FFFFFF1.741.0021.0021.00
#00000012.1021.001.001.00
##00000012.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC20C
Deuteranopia (green-blind)
#DDC740
Tritanopia (blue-blind)
#D8BEAE
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cacb33;
/* rgb */ color: rgb(202, 203, 51);
/* oklch */ color: oklch(81.6% 0.163 109.9);
Tailwind
colors: {
  custom: {
    50: '#deda77',
    500: '#cacb33',
    950: '#000000',
  },
}
SCSS
$custom: #cacb33;
$custom-light: #deda77;
$custom-dark: #000000;
JSON
{
  "hex": "#cacb33",
  "rgb": {
    "r": 202,
    "g": 203,
    "b": 51
  },
  "hsl": {
    "h": 60.395,
    "s": 59.843,
    "l": 49.804
  },
  "oklch": {
    "l": 0.81585,
    "c": 0.16332,
    "h": 109.9
  },
  "luminance": 0.55507
}

Semantic roles & 50–950 ramp

primary
#CACB33
secondary
#302F73
accent
#45E346
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CACB33

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

Preview Lab → · Contrast checker → · Palette generator →

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