#8CB148#8CB148

#8CB148 is a light, vivid yellow-green. Relative luminance 0.375; OKLCH L 71.1% C 0.140 H 126.1°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#8CB148
RGBrgb(140, 177, 72)
HSLhsl(81, 42%, 49%)
HSVhsv(81, 59%, 69%)
CMYKcmyk(20.9%, 0%, 59.3%, 30.6%)
CIE-LABlab(67.64, -28.99, 48.57)
CIE-LCHlch(67.64, 56.57, 120.83°)
OKLaboklab(71.11% -0.0822 0.1129)
OKLCHoklch(71.11% 0.14 126.1)
XYZxyz(27.7071, 37.4873, 11.9057)
Luminance0.3749 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB148 #6D48B1
analogous
#B1A248 #8CB148 #58B148
triadic
#8CB148 #488CB1 #B1488C
tetradic
#8CB148 #48B1A2 #6D48B1 #B14858
square
#8CB148 #48B1A2 #6D48B1 #B14858
split-complementary
#8CB148 #4858B1 #A248B1
monochromatic
#475A25 #6A8536 #8CB148 #A8C571 #C2D79C

Accessibility & contrast

On white

2.47
#8CB148 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#8CB148 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB148
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB148#FFFFFF#000000##000000
##8CB1481.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA63D
Deuteranopia (green-blind)
#B5A44F
Tritanopia (blue-blind)
#91A99A
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #8cb148;
/* rgb */ color: rgb(140, 177, 72);
/* oklch */ color: oklch(71.1% 0.140 126.1);
Tailwind
colors: {
  custom: {
    50: '#b0c87f',
    500: '#8cb148',
    950: '#000000',
  },
}
SCSS
$custom: #8cb148;
$custom-light: #b0c87f;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb148",
  "rgb": {
    "r": 140,
    "g": 177,
    "b": 72
  },
  "hsl": {
    "h": 81.143,
    "s": 42.169,
    "l": 48.824
  },
  "oklch": {
    "l": 0.7111,
    "c": 0.13961,
    "h": 126.1
  },
  "luminance": 0.37488
}

Semantic roles & 50–950 ramp

primary
#8CB148
secondary
#A391C3
accent
#56D282
background
#FBFCF7
surface
#F6F8EE
border
#D0D1C9
text
#11130A
muted
#80827C

Preview Lab

Preview with #8CB148

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

Preview Lab → · Contrast checker → · Palette generator →

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