#B1CB38#B1CB38

#B1CB38 is a light, vivid yellow-green. Relative luminance 0.523; OKLCH L 79.6% C 0.168 H 119.2°. Best body text is #000000 at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#B1CB38
RGBrgb(177, 203, 56)
HSLhsl(71, 59%, 51%)
HSVhsv(71, 72%, 80%)
CMYKcmyk(12.8%, 0%, 72.4%, 20.4%)
CIE-LABlab(77.49, -27.64, 66.03)
CIE-LCHlch(77.49, 71.58, 112.71°)
OKLaboklab(79.65% -0.0821 0.1466)
OKLCHoklch(79.65% 0.168 119.2)
XYZxyz(40.2020, 52.3448, 11.7263)
Luminance0.5234 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1CB38 #5238CB
analogous
#CB9B38 #B1CB38 #67CB38
triadic
#B1CB38 #38B1CB #CB38B1
tetradic
#B1CB38 #38CB9B #5238CB #CB3867
square
#B1CB38 #38CB9B #5238CB #CB3867
split-complementary
#B1CB38 #3867CB #9B38CB
monochromatic
#5E6C1C #889D29 #B1CB38 #C4D869 #D7E499

Accessibility & contrast

On white

1.83
#B1CB38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.47
#B1CB38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1CB38
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1CB38#FFFFFF#000000##000000
##B1CB381.001.8311.4711.47
#FFFFFF1.831.0021.0021.00
#00000011.4721.001.001.00
##00000011.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BF1B
Deuteranopia (green-blind)
#D5C045
Tritanopia (blue-blind)
#BBC0AF
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #b1cb38;
/* rgb */ color: rgb(177, 203, 56);
/* oklch */ color: oklch(79.6% 0.168 119.2);
Tailwind
colors: {
  custom: {
    50: '#ccda79',
    500: '#b1cb38',
    950: '#000000',
  },
}
SCSS
$custom: #b1cb38;
$custom-light: #ccda79;
$custom-dark: #000000;
JSON
{
  "hex": "#b1cb38",
  "rgb": {
    "r": 177,
    "g": 203,
    "b": 56
  },
  "hsl": {
    "h": 70.612,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.79647,
    "c": 0.16804,
    "h": 119.2
  },
  "luminance": 0.52345
}

Semantic roles & 50–950 ramp

primary
#B1CB38
secondary
#3D3176
accent
#46E262
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #B1CB38

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

Preview Lab → · Contrast checker → · Palette generator →

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