#CABA42#CABA42

#CABA42 is a light, vivid yellow. Relative luminance 0.481; OKLCH L 78.1% C 0.138 H 101.6°. Best body text is #000000 at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#CABA42
RGBrgb(202, 186, 66)
HSLhsl(53, 56%, 53%)
HSVhsv(53, 67%, 79%)
CMYKcmyk(0%, 7.9%, 67.3%, 20.8%)
CIE-LABlab(74.87, -8.13, 60.33)
CIE-LCHlch(74.87, 60.87, 97.68°)
OKLaboklab(78.06% -0.0279 0.1355)
OKLCHoklch(78.06% 0.138 101.6)
XYZxyz(42.9012, 48.0695, 12.1718)
Luminance0.4807 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABA42 #4252CA
analogous
#CA7642 #CABA42 #96CA42
triadic
#CABA42 #42CABA #BA42CA
tetradic
#CABA42 #42CA76 #4252CA #CA4296
square
#CABA42 #42CA76 #4252CA #CA4296
split-complementary
#CABA42 #4296CA #7642CA
monochromatic
#726820 #A2942D #CABA42 #D7CB72 #E5DDA2

Accessibility & contrast

On white

1.98
#CABA42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.61
#CABA42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABA42
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABA42#FFFFFF#000000##000000
##CABA421.001.9810.6110.61
#FFFFFF1.981.0021.0021.00
#00000010.6121.001.001.00
##00000010.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB432
Deuteranopia (green-blind)
#CFBB49
Tritanopia (blue-blind)
#D9ADA1
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #caba42;
/* rgb */ color: rgb(202, 186, 66);
/* oklch */ color: oklch(78.1% 0.138 101.6);
Tailwind
colors: {
  custom: {
    50: '#dece7d',
    500: '#caba42',
    950: '#000000',
  },
}
SCSS
$custom: #caba42;
$custom-light: #dece7d;
$custom-dark: #000000;
JSON
{
  "hex": "#caba42",
  "rgb": {
    "r": 202,
    "g": 186,
    "b": 66
  },
  "hsl": {
    "h": 52.941,
    "s": 56.198,
    "l": 52.549
  },
  "oklch": {
    "l": 0.78057,
    "c": 0.13836,
    "h": 101.6
  },
  "luminance": 0.48068
}

Semantic roles & 50–950 ramp

primary
#CABA42
secondary
#969DD1
accent
#5ADF48
background
#FEFCF7
surface
#FCF9EE
border
#D5D2C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CABA42

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

Preview Lab → · Contrast checker → · Palette generator →

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