#8CA838#8CA838

#8CA838 is a light, vivid yellow-green. Relative luminance 0.339; OKLCH L 68.8% C 0.141 H 122.2°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#8CA838
RGBrgb(140, 168, 56)
HSLhsl(75, 50%, 44%)
HSVhsv(75, 67%, 66%)
CMYKcmyk(16.7%, 0%, 66.7%, 34.1%)
CIE-LABlab(64.86, -25.90, 52.50)
CIE-LCHlch(64.86, 58.55, 116.26°)
OKLaboklab(68.82% -0.0751 0.1191)
OKLCHoklch(68.82% 0.141 122.2)
XYZxyz(25.5320, 33.8662, 8.9324)
Luminance0.3387 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA838 #5438A8
analogous
#A88C38 #8CA838 #54A838
triadic
#8CA838 #388CA8 #A8388C
tetradic
#8CA838 #38A88C #5438A8 #A83854
square
#8CA838 #38A88C #5438A8 #A83854
split-complementary
#8CA838 #3854A8 #8C38A8
monochromatic
#404C19 #667A29 #8CA838 #ABC756 #C2D684

Accessibility & contrast

On white

2.70
#8CA838 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#8CA838 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA838
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA838#FFFFFF#000000##000000
##8CA8381.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E29
Deuteranopia (green-blind)
#AE9D40
Tritanopia (blue-blind)
#93A091
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #8ca838;
/* rgb */ color: rgb(140, 168, 56);
/* oklch */ color: oklch(68.8% 0.141 122.2);
Tailwind
colors: {
  custom: {
    50: '#b0c275',
    500: '#8ca838',
    950: '#000000',
  },
}
SCSS
$custom: #8ca838;
$custom-light: #b0c275;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca838",
  "rgb": {
    "r": 140,
    "g": 168,
    "b": 56
  },
  "hsl": {
    "h": 75,
    "s": 50,
    "l": 43.922
  },
  "oklch": {
    "l": 0.68817,
    "c": 0.14083,
    "h": 122.2
  },
  "luminance": 0.33866
}

Semantic roles & 50–950 ramp

primary
#8CA838
secondary
#8D7CC0
accent
#4EDA71
background
#FBFBF7
surface
#F6F7ED
border
#D0D0C8
text
#111209
muted
#80817B

Preview Lab

Preview with #8CA838

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

Preview Lab → · Contrast checker → · Palette generator →

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