#CACB3C#CACB3C

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

Color values

HEX#CACB3C
RGBrgb(202, 203, 60)
HSLhsl(60, 58%, 52%)
HSVhsv(60, 70%, 80%)
CMYKcmyk(0.5%, 0%, 70.4%, 20.4%)
CIE-LABlab(79.38, -17.07, 67.11)
CIE-LCHlch(79.38, 69.25, 104.27°)
OKLaboklab(81.64% -0.0537 0.1488)
OKLCHoklch(81.64% 0.158 109.8)
XYZxyz(46.5303, 55.5960, 12.5541)
Luminance0.5560 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACB3C #3D3CCB
analogous
#CB853C #CACB3C #82CB3C
triadic
#CACB3C #3CCACB #CB3CCA
tetradic
#CACB3C #3CCB85 #3D3CCB #CB3C82
square
#CACB3C #3CCB85 #3D3CCB #CB3C82
split-complementary
#CACB3C #3C82CB #853CCB
monochromatic
#6E6F1E #9E9F2A #CACB3C #D7D86C #E4E59D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CACB3C#FFFFFF#000000##000000
##CACB3C1.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)
#DBC223
Deuteranopia (green-blind)
#DDC747
Tritanopia (blue-blind)
#D8BEAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cacb3c;
/* rgb */ color: rgb(202, 203, 60);
/* oklch */ color: oklch(81.6% 0.158 109.8);
Tailwind
colors: {
  custom: {
    50: '#deda7b',
    500: '#cacb3c',
    950: '#000000',
  },
}
SCSS
$custom: #cacb3c;
$custom-light: #deda7b;
$custom-dark: #000000;
JSON
{
  "hex": "#cacb3c",
  "rgb": {
    "r": 202,
    "g": 203,
    "b": 60
  },
  "hsl": {
    "h": 60.42,
    "s": 57.895,
    "l": 51.569
  },
  "oklch": {
    "l": 0.81641,
    "c": 0.15823,
    "h": 109.8
  },
  "luminance": 0.55595
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CACB3C

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

Preview Lab → · Contrast checker → · Palette generator →

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