#8CA628#8CA628

#8CA628 is a light, vivid yellow-green. Relative luminance 0.330; OKLCH L 68.2% C 0.149 H 120.9°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#8CA628
RGBrgb(140, 166, 40)
HSLhsl(72, 61%, 40%)
HSVhsv(72, 76%, 65%)
CMYKcmyk(15.7%, 0%, 75.9%, 34.9%)
CIE-LABlab(64.16, -25.87, 57.83)
CIE-LCHlch(64.16, 63.35, 114.10°)
OKLaboklab(68.22% -0.0765 0.1278)
OKLCHoklch(68.22% 0.149 120.9)
XYZxyz(24.8349, 33.0011, 7.0686)
Luminance0.3300 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA628 #4228A6
analogous
#A68128 #8CA628 #4DA628
triadic
#8CA628 #288CA6 #A6288C
tetradic
#8CA628 #28A681 #4228A6 #A6284D
square
#8CA628 #28A681 #4228A6 #A6284D
split-complementary
#8CA628 #284DA6 #8128A6
monochromatic
#394310 #62751C #8CA628 #B1D03B #C5DC6D

Accessibility & contrast

On white

2.76
#8CA628 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#8CA628 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA628
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA628#FFFFFF#000000##000000
##8CA6281.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C0A
Deuteranopia (green-blind)
#AD9C34
Tritanopia (blue-blind)
#949D8E
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #8ca628;
/* rgb */ color: rgb(140, 166, 40);
/* oklch */ color: oklch(68.2% 0.149 120.9);
Tailwind
colors: {
  custom: {
    50: '#b1c06c',
    500: '#8ca628',
    950: '#000000',
  },
}
SCSS
$custom: #8ca628;
$custom-light: #b1c06c;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca628",
  "rgb": {
    "r": 140,
    "g": 166,
    "b": 40
  },
  "hsl": {
    "h": 72.381,
    "s": 61.165,
    "l": 40.392
  },
  "oklch": {
    "l": 0.68223,
    "c": 0.1489,
    "h": 120.9
  },
  "luminance": 0.33001
}

Semantic roles & 50–950 ramp

primary
#8CA628
secondary
#7A67C2
accent
#44E465
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8CA628

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

Preview Lab → · Contrast checker → · Palette generator →

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