#CABF37#CABF37

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

Color values

HEX#CABF37
RGBrgb(202, 191, 55)
HSLhsl(56, 58%, 50%)
HSVhsv(56, 73%, 79%)
CMYKcmyk(0%, 5.4%, 72.8%, 20.8%)
CIE-LABlab(76.13, -11.26, 65.74)
CIE-LCHlch(76.13, 66.70, 99.72°)
OKLaboklab(79.04% -0.0379 0.1451)
OKLCHoklch(79.04% 0.15 104.6)
XYZxyz(43.6794, 50.0957, 10.9823)
Luminance0.5009 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABF37 #3742CA
analogous
#CA7537 #CABF37 #8CCA37
triadic
#CABF37 #37CABF #BF37CA
tetradic
#CABF37 #37CA75 #3742CA #CA378C
square
#CABF37 #37CA75 #3742CA #CA378C
split-complementary
#CABF37 #378CCA #7537CA
monochromatic
#6A651C #9B9229 #CABF37 #D7CE67 #E4DE98

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CABF37#FFFFFF#000000##000000
##CABF371.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)
#D0B81E
Deuteranopia (green-blind)
#D4BE41
Tritanopia (blue-blind)
#D9B2A5
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cabf37;
/* rgb */ color: rgb(202, 191, 55);
/* oklch */ color: oklch(79.0% 0.150 104.6);
Tailwind
colors: {
  custom: {
    50: '#ded277',
    500: '#cabf37',
    950: '#000000',
  },
}
SCSS
$custom: #cabf37;
$custom-light: #ded277;
$custom-dark: #000000;
JSON
{
  "hex": "#cabf37",
  "rgb": {
    "r": 202,
    "g": 191,
    "b": 55
  },
  "hsl": {
    "h": 55.51,
    "s": 58.103,
    "l": 50.392
  },
  "oklch": {
    "l": 0.79035,
    "c": 0.14991,
    "h": 104.6
  },
  "luminance": 0.50094
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CABF37

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

Preview Lab → · Contrast checker → · Palette generator →

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