#CACB45#CACB45

#CACB45 is a light, vivid yellow. Relative luminance 0.557; OKLCH L 81.7% C 0.152 H 109.8°. Best body text is #000000 at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#CACB45
RGBrgb(202, 203, 69)
HSLhsl(60, 56%, 53%)
HSVhsv(60, 66%, 80%)
CMYKcmyk(0.5%, 0%, 66%, 20.4%)
CIE-LABlab(79.44, -16.60, 63.81)
CIE-LCHlch(79.44, 65.94, 104.58°)
OKLaboklab(81.71% -0.0515 0.1434)
OKLCHoklch(81.71% 0.152 109.8)
XYZxyz(46.7888, 55.6994, 13.9154)
Luminance0.5570 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACB45 #4645CB
analogous
#CB8945 #CACB45 #87CB45
triadic
#CACB45 #45CACB #CB45CA
tetradic
#CACB45 #45CB89 #4645CB #CB4587
square
#CACB45 #45CB89 #4645CB #CB4587
split-complementary
#CACB45 #4587CB #8945CB
monochromatic
#747521 #A4A52E #CACB45 #D8D875 #E5E6A5

Accessibility & contrast

On white

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

On black

12.14
#CACB45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CACB45
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CACB45#FFFFFF#000000##000000
##CACB451.001.7312.1412.14
#FFFFFF1.731.0021.0021.00
#00000012.1421.001.001.00
##00000012.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC332
Deuteranopia (green-blind)
#DCC74E
Tritanopia (blue-blind)
#D8BFB0
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cacb45;
/* rgb */ color: rgb(202, 203, 69);
/* oklch */ color: oklch(81.7% 0.152 109.8);
Tailwind
colors: {
  custom: {
    50: '#ddda80',
    500: '#cacb45',
    950: '#000000',
  },
}
SCSS
$custom: #cacb45;
$custom-light: #ddda80;
$custom-dark: #000000;
JSON
{
  "hex": "#cacb45",
  "rgb": {
    "r": 202,
    "g": 203,
    "b": 69
  },
  "hsl": {
    "h": 60.448,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.81707,
    "c": 0.15234,
    "h": 109.8
  },
  "luminance": 0.55698
}

Semantic roles & 50–950 ramp

primary
#CACB45
secondary
#37377E
accent
#48E049
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CACB45

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

Preview Lab → · Contrast checker → · Palette generator →

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