#8CA828#8CA828

#8CA828 is a light, vivid yellow-green. Relative luminance 0.337; OKLCH L 68.7% C 0.151 H 121.6°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#8CA828
RGBrgb(140, 168, 40)
HSLhsl(73, 62%, 41%)
HSVhsv(73, 76%, 66%)
CMYKcmyk(16.7%, 0%, 76.2%, 34.1%)
CIE-LABlab(64.75, -26.85, 58.38)
CIE-LCHlch(64.75, 64.26, 114.69°)
OKLaboklab(68.7% -0.0792 0.1289)
OKLCHoklch(68.7% 0.151 121.6)
XYZxyz(25.2013, 33.7339, 7.1907)
Luminance0.3373 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA828 #4428A8
analogous
#A88428 #8CA828 #4CA828
triadic
#8CA828 #288CA8 #A8288C
tetradic
#8CA828 #28A884 #4428A8 #A8284C
square
#8CA828 #28A884 #4428A8 #A8284C
split-complementary
#8CA828 #284CA8 #8428A8
monochromatic
#3A4510 #63771C #8CA828 #B0D13D #C4DC6E

Accessibility & contrast

On white

2.71
#8CA828 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#8CA828 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA828
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA828#FFFFFF#000000##000000
##8CA8281.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E08
Deuteranopia (green-blind)
#AF9D34
Tritanopia (blue-blind)
#949F90
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #8ca828;
/* rgb */ color: rgb(140, 168, 40);
/* oklch */ color: oklch(68.7% 0.151 121.6);
Tailwind
colors: {
  custom: {
    50: '#b1c16c',
    500: '#8ca828',
    950: '#000000',
  },
}
SCSS
$custom: #8ca828;
$custom-light: #b1c16c;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca828",
  "rgb": {
    "r": 140,
    "g": 168,
    "b": 40
  },
  "hsl": {
    "h": 73.125,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.68698,
    "c": 0.15128,
    "h": 121.6
  },
  "luminance": 0.33734
}

Semantic roles & 50–950 ramp

primary
#8CA828
secondary
#7C69C3
accent
#43E566
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8CA828

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

Preview Lab → · Contrast checker → · Palette generator →

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