#8CB01B#8CB01B

#8CB01B is a light, vivid yellow-green. Relative luminance 0.367; OKLCH L 70.5% C 0.167 H 123.5°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#8CB01B
RGBrgb(140, 176, 27)
HSLhsl(74, 73%, 40%)
HSVhsv(74, 85%, 69%)
CMYKcmyk(20.5%, 0%, 84.7%, 31%)
CIE-LABlab(67.06, -31.19, 64.15)
CIE-LCHlch(67.06, 71.33, 115.93°)
OKLaboklab(70.54% -0.0919 0.139)
OKLCHoklch(70.54% 0.167 123.5)
XYZxyz(26.5388, 36.7051, 6.7233)
Luminance0.3670 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB01B #3F1BB0
analogous
#B08A1B #8CB01B #41B01B
triadic
#8CB01B #1B8CB0 #B01B8C
tetradic
#8CB01B #1BB08A #3F1BB0 #B01B41
square
#8CB01B #1BB08A #3F1BB0 #B01B41
split-complementary
#8CB01B #1B41B0 #8A1BB0
monochromatic
#38460B #627B13 #8CB01B #B3DE2A #C6E65F

Accessibility & contrast

On white

2.52
#8CB01B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#8CB01B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB01B
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB01B#FFFFFF#000000##000000
##8CB01B1.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA400
Deuteranopia (green-blind)
#B6A32D
Tritanopia (blue-blind)
#94A796
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #8cb01b;
/* rgb */ color: rgb(140, 176, 27);
/* oklch */ color: oklch(70.5% 0.167 123.5);
Tailwind
colors: {
  custom: {
    50: '#b2c768',
    500: '#8cb01b',
    950: '#000000',
  },
}
SCSS
$custom: #8cb01b;
$custom-light: #b2c768;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb01b",
  "rgb": {
    "r": 140,
    "g": 176,
    "b": 27
  },
  "hsl": {
    "h": 74.497,
    "s": 73.399,
    "l": 39.804
  },
  "oklch": {
    "l": 0.70543,
    "c": 0.16667,
    "h": 123.5
  },
  "luminance": 0.36705
}

Semantic roles & 50–950 ramp

primary
#8CB01B
secondary
#775CCB
accent
#38F064
background
#FBFCF6
surface
#F6F8EB
border
#D0D1C6
text
#111307
muted
#80827A

Preview Lab

Preview with #8CB01B

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

Preview Lab → · Contrast checker → · Palette generator →

#8CB01B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva