#8CA82F#8CA82F

#8CA82F is a light, vivid yellow-green. Relative luminance 0.338; OKLCH L 68.7% C 0.147 H 121.8°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#8CA82F
RGBrgb(140, 168, 47)
HSLhsl(74, 56%, 42%)
HSVhsv(74, 72%, 66%)
CMYKcmyk(16.7%, 0%, 72%, 34.1%)
CIE-LABlab(64.79, -26.47, 55.97)
CIE-LCHlch(64.79, 61.91, 115.32°)
OKLaboklab(68.75% -0.0775 0.125)
OKLCHoklch(68.75% 0.147 121.8)
XYZxyz(25.3313, 33.7859, 7.8756)
Luminance0.3379 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA82F #4B2FA8
analogous
#A8872F #8CA82F #50A82F
triadic
#8CA82F #2F8CA8 #A82F8C
tetradic
#8CA82F #2FA887 #4B2FA8 #A82F50
square
#8CA82F #2FA887 #4B2FA8 #A82F50
split-complementary
#8CA82F #2F50A8 #872FA8
monochromatic
#3C4814 #647822 #8CA82F #ADCC48 #C3D978

Accessibility & contrast

On white

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

On black

7.76
#8CA82F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA82F
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA82F#FFFFFF#000000##000000
##8CA82F1.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8ca82f;
/* rgb */ color: rgb(140, 168, 47);
/* oklch */ color: oklch(68.7% 0.147 121.8);
Tailwind
colors: {
  custom: {
    50: '#b1c170',
    500: '#8ca82f',
    950: '#000000',
  },
}
SCSS
$custom: #8ca82f;
$custom-light: #b1c170;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca82f",
  "rgb": {
    "r": 140,
    "g": 168,
    "b": 47
  },
  "hsl": {
    "h": 73.884,
    "s": 56.279,
    "l": 42.157
  },
  "oklch": {
    "l": 0.68745,
    "c": 0.1471,
    "h": 121.8
  },
  "luminance": 0.33786
}

Semantic roles & 50–950 ramp

primary
#8CA82F
secondary
#8471C1
accent
#48E06B
background
#FBFBF7
surface
#F6F7ED
border
#D0D0C8
text
#111208
muted
#80817B

Preview Lab

Preview with #8CA82F

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

Preview Lab → · Contrast checker → · Palette generator →

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