#B0CB40#B0CB40

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

Color values

HEX#B0CB40
RGBrgb(176, 203, 64)
HSLhsl(72, 57%, 52%)
HSVhsv(72, 68%, 80%)
CMYKcmyk(13.3%, 0%, 68.5%, 20.4%)
CIE-LABlab(77.47, -27.60, 63.10)
CIE-LCHlch(77.47, 68.87, 113.62°)
OKLaboklab(79.63% -0.0812 0.1418)
OKLCHoklch(79.63% 0.163 119.8)
XYZxyz(40.1865, 52.3123, 12.8297)
Luminance0.5231 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0CB40 #5B40CB
analogous
#CBA140 #B0CB40 #6ACB40
triadic
#B0CB40 #40B0CB #CB40B0
tetradic
#B0CB40 #40CBA1 #5B40CB #CB406A
square
#B0CB40 #40CBA1 #5B40CB #CB406A
split-complementary
#B0CB40 #406ACB #A140CB
monochromatic
#62721F #8BA22C #B0CB40 #C4D870 #D8E5A0

Accessibility & contrast

On white

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

On black

11.46
#B0CB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0CB40
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0CB40#FFFFFF#000000##000000
##B0CB401.001.8311.4611.46
#FFFFFF1.831.0021.0021.00
#00000011.4621.001.001.00
##00000011.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C02A
Deuteranopia (green-blind)
#D4C04B
Tritanopia (blue-blind)
#BAC0AF
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #b0cb40;
/* rgb */ color: rgb(176, 203, 64);
/* oklch */ color: oklch(79.6% 0.163 119.8);
Tailwind
colors: {
  custom: {
    50: '#cbda7d',
    500: '#b0cb40',
    950: '#000000',
  },
}
SCSS
$custom: #b0cb40;
$custom-light: #cbda7d;
$custom-dark: #000000;
JSON
{
  "hex": "#b0cb40",
  "rgb": {
    "r": 176,
    "g": 203,
    "b": 64
  },
  "hsl": {
    "h": 71.655,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.7963,
    "c": 0.16339,
    "h": 119.8
  },
  "luminance": 0.52312
}

Semantic roles & 50–950 ramp

primary
#B0CB40
secondary
#42357B
accent
#47E065
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #B0CB40

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

Preview Lab → · Contrast checker → · Palette generator →

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