#CABF41#CABF41

#CABF41 is a light, vivid yellow. Relative luminance 0.502; OKLCH L 79.1% C 0.143 H 104.3°. Best body text is #000000 at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#CABF41
RGBrgb(202, 191, 65)
HSLhsl(55, 56%, 52%)
HSVhsv(55, 68%, 79%)
CMYKcmyk(0%, 5.4%, 67.8%, 20.8%)
CIE-LABlab(76.19, -10.76, 62.07)
CIE-LCHlch(76.19, 63.00, 99.83°)
OKLaboklab(79.11% -0.0355 0.1391)
OKLCHoklch(79.11% 0.144 104.3)
XYZxyz(43.9438, 50.2015, 12.3751)
Luminance0.5020 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABF41 #414CCA
analogous
#CA7A41 #CABF41 #91CA41
triadic
#CABF41 #41CABF #BF41CA
tetradic
#CABF41 #41CA7A #414CCA #CA4191
square
#CABF41 #41CA7A #414CCA #CA4191
split-complementary
#CABF41 #4191CA #7A41CA
monochromatic
#716B20 #A1982D #CABF41 #D7CF71 #E5DFA1

Accessibility & contrast

On white

1.90
#CABF41 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.04
#CABF41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABF41
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABF41#FFFFFF#000000##000000
##CABF411.001.9011.0411.04
#FFFFFF1.901.0021.0021.00
#00000011.0421.001.001.00
##00000011.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B92F
Deuteranopia (green-blind)
#D3BF49
Tritanopia (blue-blind)
#D9B2A6
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cabf41;
/* rgb */ color: rgb(202, 191, 65);
/* oklch */ color: oklch(79.1% 0.143 104.3);
Tailwind
colors: {
  custom: {
    50: '#ded27d',
    500: '#cabf41',
    950: '#000000',
  },
}
SCSS
$custom: #cabf41;
$custom-light: #ded27d;
$custom-dark: #000000;
JSON
{
  "hex": "#cabf41",
  "rgb": {
    "r": 202,
    "g": 191,
    "b": 65
  },
  "hsl": {
    "h": 55.182,
    "s": 56.379,
    "l": 52.353
  },
  "oklch": {
    "l": 0.79107,
    "c": 0.1435,
    "h": 104.3
  },
  "luminance": 0.502
}

Semantic roles & 50–950 ramp

primary
#CABF41
secondary
#353B7A
accent
#54E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CABF41

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

Preview Lab → · Contrast checker → · Palette generator →

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