#8CB125#8CB125

#8CB125 is a light, vivid yellow-green. Relative luminance 0.372; OKLCH L 70.8% C 0.164 H 124.0°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#8CB125
RGBrgb(140, 177, 37)
HSLhsl(76, 65%, 42%)
HSVhsv(76, 79%, 69%)
CMYKcmyk(20.9%, 0%, 79.1%, 30.6%)
CIE-LABlab(67.39, -31.29, 61.77)
CIE-LCHlch(67.39, 69.24, 116.86°)
OKLaboklab(70.83% -0.0915 0.1356)
OKLCHoklch(70.83% 0.164 124)
XYZxyz(26.8716, 37.1531, 7.5055)
Luminance0.3715 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB125 #4A25B1
analogous
#B19025 #8CB125 #46B125
triadic
#8CB125 #258CB1 #B1258C
tetradic
#8CB125 #25B190 #4A25B1 #B12546
square
#8CB125 #25B190 #4A25B1 #B12546
split-complementary
#8CB125 #2546B1 #9025B1
monochromatic
#3C4C10 #647E1A #8CB125 #AED63D #C3E16F

Accessibility & contrast

On white

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

On black

8.43
#8CB125 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB125
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB125#FFFFFF#000000##000000
##8CB1251.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA500
Deuteranopia (green-blind)
#B6A433
Tritanopia (blue-blind)
#93A897
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #8cb125;
/* rgb */ color: rgb(140, 177, 37);
/* oklch */ color: oklch(70.8% 0.164 124.0);
Tailwind
colors: {
  custom: {
    50: '#b2c86c',
    500: '#8cb125',
    950: '#000000',
  },
}
SCSS
$custom: #8cb125;
$custom-light: #b2c86c;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb125",
  "rgb": {
    "r": 140,
    "g": 177,
    "b": 37
  },
  "hsl": {
    "h": 75.857,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.70828,
    "c": 0.16358,
    "h": 124
  },
  "luminance": 0.37153
}

Semantic roles & 50–950 ramp

primary
#8CB125
secondary
#836AC8
accent
#3FE86C
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111308
muted
#80827B

Preview Lab

Preview with #8CB125

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

Preview Lab → · Contrast checker → · Palette generator →

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