#CABA41#CABA41

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

Color values

HEX#CABA41
RGBrgb(202, 186, 65)
HSLhsl(53, 56%, 52%)
HSVhsv(53, 68%, 79%)
CMYKcmyk(0%, 7.9%, 67.8%, 20.8%)
CIE-LABlab(74.86, -8.19, 60.72)
CIE-LCHlch(74.86, 61.27, 97.68°)
OKLaboklab(78.05% -0.0282 0.1362)
OKLCHoklch(78.05% 0.139 101.7)
XYZxyz(42.8720, 48.0578, 12.0178)
Luminance0.4806 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABA41 #4151CA
analogous
#CA7641 #CABA41 #95CA41
triadic
#CABA41 #41CABA #BA41CA
tetradic
#CABA41 #41CA76 #4151CA #CA4195
square
#CABA41 #41CA76 #4151CA #CA4195
split-complementary
#CABA41 #4195CA #7641CA
monochromatic
#716820 #A1932D #CABA41 #D7CB71 #E5DDA1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CABA41#FFFFFF#000000##000000
##CABA411.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)
#CBB430
Deuteranopia (green-blind)
#D0BB48
Tritanopia (blue-blind)
#D9ADA1
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #caba41;
/* rgb */ color: rgb(202, 186, 65);
/* oklch */ color: oklch(78.0% 0.139 101.7);
Tailwind
colors: {
  custom: {
    50: '#dece7c',
    500: '#caba41',
    950: '#000000',
  },
}
SCSS
$custom: #caba41;
$custom-light: #dece7c;
$custom-dark: #000000;
JSON
{
  "hex": "#caba41",
  "rgb": {
    "r": 202,
    "g": 186,
    "b": 65
  },
  "hsl": {
    "h": 52.993,
    "s": 56.379,
    "l": 52.353
  },
  "oklch": {
    "l": 0.78049,
    "c": 0.13907,
    "h": 101.7
  },
  "luminance": 0.48056
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CABA41

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

Preview Lab → · Contrast checker → · Palette generator →

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