#8CA128#8CA128

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

Color values

HEX#8CA128
RGBrgb(140, 161, 40)
HSLhsl(70, 60%, 39%)
HSVhsv(70, 75%, 63%)
CMYKcmyk(13%, 0%, 75.2%, 36.9%)
CIE-LABlab(62.69, -23.41, 56.44)
CIE-LCHlch(62.69, 61.10, 112.53°)
OKLaboklab(67.04% -0.0697 0.1248)
OKLCHoklch(67.04% 0.143 119.2)
XYZxyz(23.9436, 31.2185, 6.7715)
Luminance0.3122 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA128 #3D28A1
analogous
#A17A28 #8CA128 #50A128
triadic
#8CA128 #288CA1 #A1288C
tetradic
#8CA128 #28A17A #3D28A1 #A12850
square
#8CA128 #28A17A #3D28A1 #A12850
split-complementary
#8CA128 #2850A1 #7A28A1
monochromatic
#373F10 #61701C #8CA128 #B4CE39 #C6DA6A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8CA128#FFFFFF#000000##000000
##8CA1281.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)
#AC980D
Deuteranopia (green-blind)
#A99833
Tritanopia (blue-blind)
#94988A
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8ca128;
/* rgb */ color: rgb(140, 161, 40);
/* oklch */ color: oklch(67.0% 0.143 119.2);
Tailwind
colors: {
  custom: {
    50: '#b1bc6b',
    500: '#8ca128',
    950: '#000000',
  },
}
SCSS
$custom: #8ca128;
$custom-light: #b1bc6b;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca128",
  "rgb": {
    "r": 140,
    "g": 161,
    "b": 40
  },
  "hsl": {
    "h": 70.413,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.67038,
    "c": 0.14295,
    "h": 119.2
  },
  "luminance": 0.31218
}

Semantic roles & 50–950 ramp

primary
#8CA128
secondary
#7565C0
accent
#44E360
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8CA128

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

Preview Lab → · Contrast checker → · Palette generator →

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