#CABF36#CABF36

#CABF36 is a light, vivid yellow. Relative luminance 0.501; OKLCH L 79.0% C 0.150 H 104.7°. Best body text is #000000 at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#CABF36
RGBrgb(202, 191, 54)
HSLhsl(56, 58%, 50%)
HSVhsv(56, 73%, 79%)
CMYKcmyk(0%, 5.4%, 73.3%, 20.8%)
CIE-LABlab(76.12, -11.30, 66.09)
CIE-LCHlch(76.12, 67.05, 99.70°)
OKLaboklab(79.03% -0.0381 0.1456)
OKLCHoklch(79.03% 0.151 104.7)
XYZxyz(43.6556, 50.0862, 10.8574)
Luminance0.5009 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABF36 #3641CA
analogous
#CA7536 #CABF36 #8BCA36
triadic
#CABF36 #36CABF #BF36CA
tetradic
#CABF36 #36CA75 #3641CA #CA368B
square
#CABF36 #36CA75 #3641CA #CA368B
split-complementary
#CABF36 #368BCA #7536CA
monochromatic
#6A641C #9A9229 #CABF36 #D7CE66 #E4DE97

Accessibility & contrast

On white

1.91
#CABF36 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.02
#CABF36 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABF36
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABF36#FFFFFF#000000##000000
##CABF361.001.9111.0211.02
#FFFFFF1.911.0021.0021.00
#00000011.0221.001.001.00
##00000011.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B81C
Deuteranopia (green-blind)
#D4BE40
Tritanopia (blue-blind)
#D9B2A5
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cabf36;
/* rgb */ color: rgb(202, 191, 54);
/* oklch */ color: oklch(79.0% 0.150 104.7);
Tailwind
colors: {
  custom: {
    50: '#ded277',
    500: '#cabf36',
    950: '#000000',
  },
}
SCSS
$custom: #cabf36;
$custom-light: #ded277;
$custom-dark: #000000;
JSON
{
  "hex": "#cabf36",
  "rgb": {
    "r": 202,
    "g": 191,
    "b": 54
  },
  "hsl": {
    "h": 55.541,
    "s": 58.268,
    "l": 50.196
  },
  "oklch": {
    "l": 0.79029,
    "c": 0.1505,
    "h": 104.7
  },
  "luminance": 0.50085
}

Semantic roles & 50–950 ramp

primary
#CABF36
secondary
#313674
accent
#52E146
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CABF36

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

Preview Lab → · Contrast checker → · Palette generator →

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