#8CA728#8CA728

#8CA728 is a light, vivid yellow-green. Relative luminance 0.334; OKLCH L 68.5% C 0.150 H 121.2°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#8CA728
RGBrgb(140, 167, 40)
HSLhsl(73, 61%, 41%)
HSVhsv(73, 76%, 65%)
CMYKcmyk(16.2%, 0%, 76%, 34.5%)
CIE-LABlab(64.46, -26.36, 58.11)
CIE-LCHlch(64.46, 63.81, 114.40°)
OKLaboklab(68.46% -0.0778 0.1283)
OKLCHoklch(68.46% 0.15 121.2)
XYZxyz(25.0174, 33.3661, 7.1294)
Luminance0.3337 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA728 #4328A7
analogous
#A78228 #8CA728 #4CA728
triadic
#8CA728 #288CA7 #A7288C
tetradic
#8CA728 #28A782 #4328A7 #A7284C
square
#8CA728 #28A782 #4328A7 #A7284C
split-complementary
#8CA728 #284CA7 #8228A7
monochromatic
#394410 #63761C #8CA728 #B1D03C #C5DC6D

Accessibility & contrast

On white

2.74
#8CA728 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#8CA728 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA728
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA728#FFFFFF#000000##000000
##8CA7281.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D09
Deuteranopia (green-blind)
#AE9C34
Tritanopia (blue-blind)
#949E8F
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #8ca728;
/* rgb */ color: rgb(140, 167, 40);
/* oklch */ color: oklch(68.5% 0.150 121.2);
Tailwind
colors: {
  custom: {
    50: '#b1c16c',
    500: '#8ca728',
    950: '#000000',
  },
}
SCSS
$custom: #8ca728;
$custom-light: #b1c16c;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca728",
  "rgb": {
    "r": 140,
    "g": 167,
    "b": 40
  },
  "hsl": {
    "h": 72.756,
    "s": 61.353,
    "l": 40.588
  },
  "oklch": {
    "l": 0.6846,
    "c": 0.15009,
    "h": 121.2
  },
  "luminance": 0.33366
}

Semantic roles & 50–950 ramp

primary
#8CA728
secondary
#7B68C3
accent
#43E466
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8CA728

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

Preview Lab → · Contrast checker → · Palette generator →

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