#8CA02B#8CA02B

#8CA02B is a light, vivid yellow-green. Relative luminance 0.309; OKLCH L 66.8% C 0.140 H 118.9°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#8CA02B
RGBrgb(140, 160, 43)
HSLhsl(70, 58%, 40%)
HSVhsv(70, 73%, 63%)
CMYKcmyk(12.5%, 0%, 73.1%, 37.3%)
CIE-LABlab(62.42, -22.75, 55.11)
CIE-LCHlch(62.42, 59.62, 112.43°)
OKLaboklab(66.82% -0.0676 0.1225)
OKLCHoklch(66.82% 0.14 118.9)
XYZxyz(23.8226, 30.8916, 6.9927)
Luminance0.3089 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA02B #3F2BA0
analogous
#A0792B #8CA02B #52A02B
triadic
#8CA02B #2B8CA0 #A02B8C
tetradic
#8CA02B #2BA079 #3F2BA0 #A02B52
square
#8CA02B #2BA079 #3F2BA0 #A02B52
split-complementary
#8CA02B #2B52A0 #792BA0
monochromatic
#384011 #62701E #8CA02B #B3CB3D #C6D86E

Accessibility & contrast

On white

2.93
#8CA02B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#8CA02B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA02B
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA02B#FFFFFF#000000##000000
##8CA02B1.002.937.187.18
#FFFFFF2.931.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9715
Deuteranopia (green-blind)
#A89735
Tritanopia (blue-blind)
#949789
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8ca02b;
/* rgb */ color: rgb(140, 160, 43);
/* oklch */ color: oklch(66.8% 0.140 118.9);
Tailwind
colors: {
  custom: {
    50: '#b1bc6d',
    500: '#8ca02b',
    950: '#000000',
  },
}
SCSS
$custom: #8ca02b;
$custom-light: #b1bc6d;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca02b",
  "rgb": {
    "r": 140,
    "g": 160,
    "b": 43
  },
  "hsl": {
    "h": 70.256,
    "s": 57.635,
    "l": 39.804
  },
  "oklch": {
    "l": 0.66822,
    "c": 0.13996,
    "h": 118.9
  },
  "luminance": 0.30891
}

Semantic roles & 50–950 ramp

primary
#8CA02B
secondary
#7768BF
accent
#47E161
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8CA02B

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

Preview Lab → · Contrast checker → · Palette generator →

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