#8CB548#8CB548

#8CB548 is a light, vivid yellow-green. Relative luminance 0.391; OKLCH L 72.1% C 0.145 H 127.1°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#8CB548
RGBrgb(140, 181, 72)
HSLhsl(83, 43%, 50%)
HSVhsv(83, 60%, 71%)
CMYKcmyk(22.7%, 0%, 60.2%, 29%)
CIE-LABlab(68.82, -30.89, 49.89)
CIE-LCHlch(68.82, 58.68, 121.77°)
OKLaboklab(72.06% -0.0875 0.1157)
OKLCHoklch(72.06% 0.145 127.1)
XYZxyz(28.5088, 39.0906, 12.1729)
Luminance0.3909 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB548 #7148B5
analogous
#B5A848 #8CB548 #55B548
triadic
#8CB548 #488CB5 #B5488C
tetradic
#8CB548 #48B5A8 #7148B5 #B54855
square
#8CB548 #48B5A8 #7148B5 #B54855
split-complementary
#8CB548 #4855B5 #A848B5
monochromatic
#485D25 #6A8937 #8CB548 #A8C773 #C3D99F

Accessibility & contrast

On white

2.38
#8CB548 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#8CB548 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB548
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB548#FFFFFF#000000##000000
##8CB5481.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAA3C
Deuteranopia (green-blind)
#B8A750
Tritanopia (blue-blind)
#91AD9E
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #8cb548;
/* rgb */ color: rgb(140, 181, 72);
/* oklch */ color: oklch(72.1% 0.145 127.1);
Tailwind
colors: {
  custom: {
    50: '#b0cb7f',
    500: '#8cb548',
    950: '#000000',
  },
}
SCSS
$custom: #8cb548;
$custom-light: #b0cb7f;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb548",
  "rgb": {
    "r": 140,
    "g": 181,
    "b": 72
  },
  "hsl": {
    "h": 82.569,
    "s": 43.083,
    "l": 49.608
  },
  "oklch": {
    "l": 0.7206,
    "c": 0.14501,
    "h": 127.1
  },
  "luminance": 0.39091
}

Semantic roles & 50–950 ramp

primary
#8CB548
secondary
#A693C5
accent
#55D384
background
#FBFCF7
surface
#F6F8EE
border
#D0D1C9
text
#11130A
muted
#80827C

Preview Lab

Preview with #8CB548

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

Preview Lab → · Contrast checker → · Palette generator →

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