#B1CA21#B1CA21

#B1CA21 is a light, vivid yellow. Relative luminance 0.517; OKLCH L 79.3% C 0.178 H 118.5°. Best body text is #000000 at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#B1CA21
RGBrgb(177, 202, 33)
HSLhsl(69, 72%, 46%)
HSVhsv(69, 84%, 79%)
CMYKcmyk(12.4%, 0%, 83.7%, 20.8%)
CIE-LABlab(77.10, -28.08, 72.33)
CIE-LCHlch(77.10, 77.59, 111.22°)
OKLaboklab(79.3% -0.085 0.1562)
OKLCHoklch(79.3% 0.178 118.5)
XYZxyz(39.5275, 51.6983, 9.3350)
Luminance0.5170 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1CA21 #3A21CA
analogous
#CA8E21 #B1CA21 #5CCA21
triadic
#B1CA21 #21B1CA #CA21B1
tetradic
#B1CA21 #21CA8E #3A21CA #CA215C
square
#B1CA21 #21CA8E #3A21CA #CA215C
split-complementary
#B1CA21 #215CCA #8E21CA
monochromatic
#556110 #839518 #B1CA21 #CAE147 #D9EA7C

Accessibility & contrast

On white

1.85
#B1CA21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.34
#B1CA21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1CA21
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1CA21#FFFFFF#000000##000000
##B1CA211.001.8511.3411.34
#FFFFFF1.851.0021.0021.00
#00000011.3421.001.001.00
##00000011.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BE00
Deuteranopia (green-blind)
#D5BF34
Tritanopia (blue-blind)
#BCBEAC
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #b1ca21;
/* rgb */ color: rgb(177, 202, 33);
/* oklch */ color: oklch(79.3% 0.178 118.5);
Tailwind
colors: {
  custom: {
    50: '#cdda6f',
    500: '#b1ca21',
    950: '#000000',
  },
}
SCSS
$custom: #b1ca21;
$custom-light: #cdda6f;
$custom-dark: #000000;
JSON
{
  "hex": "#b1ca21",
  "rgb": {
    "r": 177,
    "g": 202,
    "b": 33
  },
  "hsl": {
    "h": 68.876,
    "s": 71.915,
    "l": 46.078
  },
  "oklch": {
    "l": 0.79303,
    "c": 0.17784,
    "h": 118.5
  },
  "luminance": 0.51698
}

Semantic roles & 50–950 ramp

primary
#B1CA21
secondary
#2E246C
accent
#39EF54
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141408
muted
#83837D

Preview Lab

Preview with #B1CA21

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

Preview Lab → · Contrast checker → · Palette generator →

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