#8CB248#8CB248

#8CB248 is a light, vivid yellow-green. Relative luminance 0.379; OKLCH L 71.3% C 0.141 H 126.3°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#8CB248
RGBrgb(140, 178, 72)
HSLhsl(82, 42%, 49%)
HSVhsv(82, 60%, 70%)
CMYKcmyk(21.3%, 0%, 59.6%, 30.2%)
CIE-LABlab(67.93, -29.47, 48.90)
CIE-LCHlch(67.93, 57.09, 121.08°)
OKLaboklab(71.35% -0.0835 0.1136)
OKLCHoklch(71.35% 0.141 126.3)
XYZxyz(27.9053, 37.8837, 11.9718)
Luminance0.3788 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB248 #6E48B2
analogous
#B2A348 #8CB248 #57B248
triadic
#8CB248 #488CB2 #B2488C
tetradic
#8CB248 #48B2A3 #6E48B2 #B24857
square
#8CB248 #48B2A3 #6E48B2 #B24857
split-complementary
#8CB248 #4857B2 #A348B2
monochromatic
#475B25 #6A8636 #8CB248 #A8C671 #C2D79D

Accessibility & contrast

On white

2.45
#8CB248 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.58
#8CB248 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB248
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB248#FFFFFF#000000##000000
##8CB2481.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA73C
Deuteranopia (green-blind)
#B5A54F
Tritanopia (blue-blind)
#91AA9B
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #8cb248;
/* rgb */ color: rgb(140, 178, 72);
/* oklch */ color: oklch(71.3% 0.141 126.3);
Tailwind
colors: {
  custom: {
    50: '#b0c97f',
    500: '#8cb248',
    950: '#000000',
  },
}
SCSS
$custom: #8cb248;
$custom-light: #b0c97f;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb248",
  "rgb": {
    "r": 140,
    "g": 178,
    "b": 72
  },
  "hsl": {
    "h": 81.509,
    "s": 42.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.71347,
    "c": 0.14097,
    "h": 126.3
  },
  "luminance": 0.37884
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8CB248

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

Preview Lab → · Contrast checker → · Palette generator →

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