#8CA74B#8CA74B

#8CA74B is a light, vivid yellow-green. Relative luminance 0.337; OKLCH L 68.8% C 0.123 H 123.3°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#8CA74B
RGBrgb(140, 167, 75)
HSLhsl(78, 38%, 47%)
HSVhsv(78, 55%, 65%)
CMYKcmyk(16.2%, 0%, 55.1%, 34.5%)
CIE-LABlab(64.74, -23.84, 43.86)
CIE-LCHlch(64.74, 49.92, 118.53°)
OKLaboklab(68.78% -0.0676 0.103)
OKLCHoklch(68.78% 0.123 123.3)
XYZxyz(25.9040, 33.7208, 11.7993)
Luminance0.3372 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA74B #664BA7
analogous
#A7944B #8CA74B #5EA74B
triadic
#8CA74B #4B8CA7 #A74B8C
tetradic
#8CA74B #4BA794 #664BA7 #A74B5E
square
#8CA74B #4BA794 #664BA7 #A74B5E
split-complementary
#8CA74B #4B5EA7 #944BA7
monochromatic
#455325 #697D38 #8CA74B #A8BF70 #C2D29B

Accessibility & contrast

On white

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

On black

7.74
#8CA74B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA74B
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA74B#FFFFFF#000000##000000
##8CA74B1.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09E42
Deuteranopia (green-blind)
#AC9D51
Tritanopia (blue-blind)
#92A093
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #8ca74b;
/* rgb */ color: rgb(140, 167, 75);
/* oklch */ color: oklch(68.8% 0.123 123.3);
Tailwind
colors: {
  custom: {
    50: '#afc180',
    500: '#8ca74b',
    950: '#000000',
  },
}
SCSS
$custom: #8ca74b;
$custom-light: #afc180;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca74b",
  "rgb": {
    "r": 140,
    "g": 167,
    "b": 75
  },
  "hsl": {
    "h": 77.609,
    "s": 38.017,
    "l": 47.451
  },
  "oklch": {
    "l": 0.68781,
    "c": 0.12322,
    "h": 123.3
  },
  "luminance": 0.33721
}

Semantic roles & 50–950 ramp

primary
#8CA74B
secondary
#9D8FBE
accent
#5ACE7C
background
#FBFBF7
surface
#F6F7EE
border
#D0D0C9
text
#11120A
muted
#80817C

Preview Lab

Preview with #8CA74B

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

Preview Lab → · Contrast checker → · Palette generator →

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