#8CA126#8CA126

#8CA126 is a light, vivid yellow-green. Relative luminance 0.312; OKLCH L 67.0% C 0.144 H 119.1°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#8CA126
RGBrgb(140, 161, 38)
HSLhsl(70, 62%, 39%)
HSVhsv(70, 76%, 63%)
CMYKcmyk(13%, 0%, 76.4%, 36.9%)
CIE-LABlab(62.68, -23.50, 57.10)
CIE-LCHlch(62.68, 61.75, 112.37°)
OKLaboklab(67.03% -0.0701 0.1259)
OKLCHoklch(67.03% 0.144 119.1)
XYZxyz(23.9104, 31.2053, 6.5970)
Luminance0.3120 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA126 #3B26A1
analogous
#A17926 #8CA126 #4FA126
triadic
#8CA126 #268CA1 #A1268C
tetradic
#8CA126 #26A179 #3B26A1 #A1264F
square
#8CA126 #26A179 #3B26A1 #A1264F
split-complementary
#8CA126 #264FA1 #7926A1
monochromatic
#363E0F #616F1A #8CA126 #B5CF35 #C7DB66

Accessibility & contrast

On white

2.90
#8CA126 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#8CA126 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA126
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA126#FFFFFF#000000##000000
##8CA1261.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9807
Deuteranopia (green-blind)
#A99831
Tritanopia (blue-blind)
#95988A
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8ca126;
/* rgb */ color: rgb(140, 161, 38);
/* oklch */ color: oklch(67.0% 0.144 119.1);
Tailwind
colors: {
  custom: {
    50: '#b1bc6a',
    500: '#8ca126',
    950: '#000000',
  },
}
SCSS
$custom: #8ca126;
$custom-light: #b1bc6a;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca126",
  "rgb": {
    "r": 140,
    "g": 161,
    "b": 38
  },
  "hsl": {
    "h": 70.244,
    "s": 61.809,
    "l": 39.02
  },
  "oklch": {
    "l": 0.67026,
    "c": 0.14409,
    "h": 119.1
  },
  "luminance": 0.31205
}

Semantic roles & 50–950 ramp

primary
#8CA126
secondary
#7262C1
accent
#43E55F
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8CA126

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

Preview Lab → · Contrast checker → · Palette generator →

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