#8CA226#8CA226

#8CA226 is a light, vivid yellow-green. Relative luminance 0.316; OKLCH L 67.3% C 0.145 H 119.5°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#8CA226
RGBrgb(140, 162, 38)
HSLhsl(71, 62%, 39%)
HSVhsv(71, 77%, 64%)
CMYKcmyk(13.6%, 0%, 76.5%, 36.5%)
CIE-LABlab(62.97, -24.00, 57.38)
CIE-LCHlch(62.97, 62.20, 112.70°)
OKLaboklab(67.26% -0.0715 0.1265)
OKLCHoklch(67.26% 0.145 119.5)
XYZxyz(24.0859, 31.5562, 6.6554)
Luminance0.3156 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA226 #3C26A2
analogous
#A27A26 #8CA226 #4EA226
triadic
#8CA226 #268CA2 #A2268C
tetradic
#8CA226 #26A27A #3C26A2 #A2264E
square
#8CA226 #26A27A #3C26A2 #A2264E
split-complementary
#8CA226 #264EA2 #7A26A2
monochromatic
#363F0F #61701A #8CA226 #B4D035 #C7DB67

Accessibility & contrast

On white

2.87
#8CA226 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#8CA226 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA226
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA226#FFFFFF#000000##000000
##8CA2261.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8ca226;
/* rgb */ color: rgb(140, 162, 38);
/* oklch */ color: oklch(67.3% 0.145 119.5);
Tailwind
colors: {
  custom: {
    50: '#b1bd6b',
    500: '#8ca226',
    950: '#000000',
  },
}
SCSS
$custom: #8ca226;
$custom-light: #b1bd6b;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca226",
  "rgb": {
    "r": 140,
    "g": 162,
    "b": 38
  },
  "hsl": {
    "h": 70.645,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.67262,
    "c": 0.14527,
    "h": 119.5
  },
  "luminance": 0.31556
}

Semantic roles & 50–950 ramp

primary
#8CA226
secondary
#7363C1
accent
#43E560
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8CA226

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

Preview Lab → · Contrast checker → · Palette generator →

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