#8CA227#8CA227

#8CA227 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#8CA227
RGBrgb(140, 162, 39)
HSLhsl(71, 61%, 39%)
HSVhsv(71, 76%, 64%)
CMYKcmyk(13.6%, 0%, 75.9%, 36.5%)
CIE-LABlab(62.98, -23.95, 57.05)
CIE-LCHlch(62.98, 61.87, 112.78°)
OKLaboklab(67.27% -0.0713 0.1259)
OKLCHoklch(67.27% 0.145 119.5)
XYZxyz(24.1022, 31.5627, 6.7416)
Luminance0.3156 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA227 #3D27A2
analogous
#A27B27 #8CA227 #4EA227
triadic
#8CA227 #278CA2 #A2278C
tetradic
#8CA227 #27A27B #3D27A2 #A2274E
square
#8CA227 #27A27B #3D27A2 #A2274E
split-complementary
#8CA227 #274EA2 #7B27A2
monochromatic
#373F0F #61711B #8CA227 #B4CF37 #C6DB69

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8CA227#FFFFFF#000000##000000
##8CA2271.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)
#AD980A
Deuteranopia (green-blind)
#AA9932
Tritanopia (blue-blind)
#94998B
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8ca227;
/* rgb */ color: rgb(140, 162, 39);
/* oklch */ color: oklch(67.3% 0.145 119.5);
Tailwind
colors: {
  custom: {
    50: '#b1bd6b',
    500: '#8ca227',
    950: '#000000',
  },
}
SCSS
$custom: #8ca227;
$custom-light: #b1bd6b;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca227",
  "rgb": {
    "r": 140,
    "g": 162,
    "b": 39
  },
  "hsl": {
    "h": 70.732,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.67268,
    "c": 0.14471,
    "h": 119.5
  },
  "luminance": 0.31563
}

Semantic roles & 50–950 ramp

primary
#8CA227
secondary
#7564C1
accent
#43E460
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8CA227

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

Preview Lab → · Contrast checker → · Palette generator →

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