#CABC45#CABC45

#CABC45 is a light, vivid yellow. Relative luminance 0.490; OKLCH L 78.5% C 0.138 H 102.6°. Best body text is #000000 at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#CABC45
RGBrgb(202, 188, 69)
HSLhsl(54, 56%, 53%)
HSVhsv(54, 66%, 79%)
CMYKcmyk(0%, 6.9%, 65.8%, 20.8%)
CIE-LABlab(75.42, -8.99, 59.67)
CIE-LCHlch(75.42, 60.35, 98.57°)
OKLaboklab(78.51% -0.03 0.1346)
OKLCHoklch(78.51% 0.138 102.6)
XYZxyz(43.4163, 48.9544, 12.7913)
Luminance0.4895 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABC45 #4553CA
analogous
#CA7945 #CABC45 #96CA45
triadic
#CABC45 #45CABC #BC45CA
tetradic
#CABC45 #45CA79 #4553CA #CA4596
square
#CABC45 #45CA79 #4553CA #CA4596
split-complementary
#CABC45 #4596CA #7945CA
monochromatic
#746B21 #A3972F #CABC45 #D8CD75 #E5DEA4

Accessibility & contrast

On white

1.95
#CABC45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.79
#CABC45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABC45
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABC45#FFFFFF#000000##000000
##CABC451.001.9510.7910.79
#FFFFFF1.951.0021.0021.00
#00000010.7921.001.001.00
##00000010.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB635
Deuteranopia (green-blind)
#D1BD4C
Tritanopia (blue-blind)
#D9AFA3
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cabc45;
/* rgb */ color: rgb(202, 188, 69);
/* oklch */ color: oklch(78.5% 0.138 102.6);
Tailwind
colors: {
  custom: {
    50: '#ddcf7f',
    500: '#cabc45',
    950: '#000000',
  },
}
SCSS
$custom: #cabc45;
$custom-light: #ddcf7f;
$custom-dark: #000000;
JSON
{
  "hex": "#cabc45",
  "rgb": {
    "r": 202,
    "g": 188,
    "b": 69
  },
  "hsl": {
    "h": 53.684,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.78505,
    "c": 0.13794,
    "h": 102.6
  },
  "luminance": 0.48953
}

Semantic roles & 50–950 ramp

primary
#CABC45
secondary
#999FD2
accent
#59DF49
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #CABC45

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

Preview Lab → · Contrast checker → · Palette generator →

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