#B1CA40#B1CA40

#B1CA40 is a light, vivid yellow-green. Relative luminance 0.520; OKLCH L 79.5% C 0.162 H 119.1°. Best body text is #000000 at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#B1CA40
RGBrgb(177, 202, 64)
HSLhsl(71, 57%, 52%)
HSVhsv(71, 68%, 79%)
CMYKcmyk(12.4%, 0%, 68.3%, 20.8%)
CIE-LABlab(77.26, -26.72, 62.91)
CIE-LCHlch(77.26, 68.35, 113.01°)
OKLaboklab(79.48% -0.0788 0.1413)
OKLCHoklch(79.48% 0.162 119.1)
XYZxyz(40.1782, 51.9586, 12.7619)
Luminance0.5196 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1CA40 #5940CA
analogous
#CA9E40 #B1CA40 #6CCA40
triadic
#B1CA40 #40B1CA #CA40B1
tetradic
#B1CA40 #40CA9E #5940CA #CA406C
square
#B1CA40 #40CA9E #5940CA #CA406C
split-complementary
#B1CA40 #406CCA #9E40CA
monochromatic
#62701F #8BA02C #B1CA40 #C5D770 #D8E5A0

Accessibility & contrast

On white

1.84
#B1CA40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.39
#B1CA40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1CA40
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1CA40#FFFFFF#000000##000000
##B1CA401.001.8411.3911.39
#FFFFFF1.841.0021.0021.00
#00000011.3921.001.001.00
##00000011.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF2B
Deuteranopia (green-blind)
#D4BF4B
Tritanopia (blue-blind)
#BBBFAF
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #b1ca40;
/* rgb */ color: rgb(177, 202, 64);
/* oklch */ color: oklch(79.5% 0.162 119.1);
Tailwind
colors: {
  custom: {
    50: '#cbda7d',
    500: '#b1ca40',
    950: '#000000',
  },
}
SCSS
$custom: #b1ca40;
$custom-light: #cbda7d;
$custom-dark: #000000;
JSON
{
  "hex": "#b1ca40",
  "rgb": {
    "r": 177,
    "g": 202,
    "b": 64
  },
  "hsl": {
    "h": 70.87,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.79478,
    "c": 0.16183,
    "h": 119.1
  },
  "luminance": 0.51958
}

Semantic roles & 50–950 ramp

primary
#B1CA40
secondary
#41357A
accent
#48E063
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #B1CA40

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

Preview Lab → · Contrast checker → · Palette generator →

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