#8CA12F#8CA12F

#8CA12F is a light, vivid yellow-green. Relative luminance 0.313; OKLCH L 67.1% C 0.139 H 119.4°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#8CA12F
RGBrgb(140, 161, 47)
HSLhsl(71, 55%, 41%)
HSVhsv(71, 71%, 63%)
CMYKcmyk(13%, 0%, 70.8%, 36.9%)
CIE-LABlab(62.74, -23.02, 53.93)
CIE-LCHlch(62.74, 58.64, 113.12°)
OKLaboklab(67.09% -0.068 0.1207)
OKLCHoklch(67.09% 0.139 119.4)
XYZxyz(24.0736, 31.2706, 7.4564)
Luminance0.3127 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA12F #442FA1
analogous
#A17D2F #8CA12F #53A12F
triadic
#8CA12F #2F8CA1 #A12F8C
tetradic
#8CA12F #2FA17D #442FA1 #A12F53
square
#8CA12F #2FA17D #442FA1 #A12F53
split-complementary
#8CA12F #2F53A1 #7D2FA1
monochromatic
#3A4213 #637221 #8CA12F #B0C945 #C4D674

Accessibility & contrast

On white

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

On black

7.25
#8CA12F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA12F
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA12F#FFFFFF#000000##000000
##8CA12F1.002.897.257.25
#FFFFFF2.891.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB981C
Deuteranopia (green-blind)
#A99838
Tritanopia (blue-blind)
#94988B
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8ca12f;
/* rgb */ color: rgb(140, 161, 47);
/* oklch */ color: oklch(67.1% 0.139 119.4);
Tailwind
colors: {
  custom: {
    50: '#b1bc6f',
    500: '#8ca12f',
    950: '#000000',
  },
}
SCSS
$custom: #8ca12f;
$custom-light: #b1bc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca12f",
  "rgb": {
    "r": 140,
    "g": 161,
    "b": 47
  },
  "hsl": {
    "h": 71.053,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.67087,
    "c": 0.13855,
    "h": 119.4
  },
  "luminance": 0.3127
}

Semantic roles & 50–950 ramp

primary
#8CA12F
secondary
#7C6EBE
accent
#4ADE65
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111208
muted
#80817B

Preview Lab

Preview with #8CA12F

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

Preview Lab → · Contrast checker → · Palette generator →

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