#8CA138#8CA138

#8CA138 is a light, vivid yellow-green. Relative luminance 0.314; OKLCH L 67.2% C 0.132 H 119.8°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#8CA138
RGBrgb(140, 161, 56)
HSLhsl(72, 48%, 43%)
HSVhsv(72, 65%, 63%)
CMYKcmyk(13%, 0%, 65.2%, 36.9%)
CIE-LABlab(62.80, -22.44, 50.35)
CIE-LCHlch(62.80, 55.12, 114.02°)
OKLaboklab(67.16% -0.0655 0.1146)
OKLCHoklch(67.16% 0.132 119.8)
XYZxyz(24.2743, 31.3508, 8.5131)
Luminance0.3135 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA138 #4D38A1
analogous
#A18138 #8CA138 #58A138
triadic
#8CA138 #388CA1 #A1388C
tetradic
#8CA138 #38A181 #4D38A1 #A13858
square
#8CA138 #38A181 #4D38A1 #A13858
split-complementary
#8CA138 #3858A1 #8138A1
monochromatic
#3D4618 #657428 #8CA138 #ADC353 #C2D380

Accessibility & contrast

On white

2.89
#8CA138 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#8CA138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA138
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA138#FFFFFF#000000##000000
##8CA1381.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB982A
Deuteranopia (green-blind)
#A89840
Tritanopia (blue-blind)
#94998B
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8ca138;
/* rgb */ color: rgb(140, 161, 56);
/* oklch */ color: oklch(67.2% 0.132 119.8);
Tailwind
colors: {
  custom: {
    50: '#b0bc74',
    500: '#8ca138',
    950: '#000000',
  },
}
SCSS
$custom: #8ca138;
$custom-light: #b0bc74;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca138",
  "rgb": {
    "r": 140,
    "g": 161,
    "b": 56
  },
  "hsl": {
    "h": 72,
    "s": 48.387,
    "l": 42.549
  },
  "oklch": {
    "l": 0.67163,
    "c": 0.13198,
    "h": 119.8
  },
  "luminance": 0.31351
}

Semantic roles & 50–950 ramp

primary
#8CA138
secondary
#8678BC
accent
#50D86B
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111208
muted
#80817B

Preview Lab

Preview with #8CA138

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

Preview Lab → · Contrast checker → · Palette generator →

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