#8CB048#8CB048

#8CB048 is a light, vivid yellow-green. Relative luminance 0.371; OKLCH L 70.9% C 0.138 H 125.8°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#8CB048
RGBrgb(140, 176, 72)
HSLhsl(81, 42%, 49%)
HSVhsv(81, 59%, 69%)
CMYKcmyk(20.5%, 0%, 59.1%, 31%)
CIE-LABlab(67.35, -28.51, 48.24)
CIE-LCHlch(67.35, 56.04, 120.59°)
OKLaboklab(70.87% -0.0809 0.1122)
OKLCHoklch(70.87% 0.138 125.8)
XYZxyz(27.5103, 37.0937, 11.8401)
Luminance0.3709 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB048 #6C48B0
analogous
#B0A048 #8CB048 #58B048
triadic
#8CB048 #488CB0 #B0488C
tetradic
#8CB048 #48B0A0 #6C48B0 #B04858
square
#8CB048 #48B0A0 #6C48B0 #B04858
split-complementary
#8CB048 #4858B0 #A048B0
monochromatic
#475924 #698536 #8CB048 #A8C570 #C2D69C

Accessibility & contrast

On white

2.49
#8CB048 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#8CB048 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB048
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB048#FFFFFF#000000##000000
##8CB0481.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A53D
Deuteranopia (green-blind)
#B4A34F
Tritanopia (blue-blind)
#91A89A
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #8cb048;
/* rgb */ color: rgb(140, 176, 72);
/* oklch */ color: oklch(70.9% 0.138 125.8);
Tailwind
colors: {
  custom: {
    50: '#b0c77f',
    500: '#8cb048',
    950: '#000000',
  },
}
SCSS
$custom: #8cb048;
$custom-light: #b0c77f;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb048",
  "rgb": {
    "r": 140,
    "g": 176,
    "b": 72
  },
  "hsl": {
    "h": 80.769,
    "s": 41.935,
    "l": 48.627
  },
  "oklch": {
    "l": 0.70872,
    "c": 0.13826,
    "h": 125.8
  },
  "luminance": 0.37094
}

Semantic roles & 50–950 ramp

primary
#8CB048
secondary
#A291C3
accent
#56D281
background
#FBFCF7
surface
#F6F8EE
border
#D0D1C9
text
#11130A
muted
#80827C

Preview Lab

Preview with #8CB048

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

Preview Lab → · Contrast checker → · Palette generator →

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