#8CA82E#8CA82E

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

Color values

HEX#8CA82E
RGBrgb(140, 168, 46)
HSLhsl(74, 57%, 42%)
HSVhsv(74, 73%, 66%)
CMYKcmyk(16.7%, 0%, 72.6%, 34.1%)
CIE-LABlab(64.79, -26.53, 56.33)
CIE-LCHlch(64.79, 62.26, 115.22°)
OKLaboklab(68.74% -0.0778 0.1256)
OKLCHoklch(68.74% 0.148 121.8)
XYZxyz(25.3114, 33.7779, 7.7706)
Luminance0.3378 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA82E #4A2EA8
analogous
#A8872E #8CA82E #4FA82E
triadic
#8CA82E #2E8CA8 #A82E8C
tetradic
#8CA82E #2EA887 #4A2EA8 #A82E4F
square
#8CA82E #2EA887 #4A2EA8 #A82E4F
split-complementary
#8CA82E #2E4FA8 #872EA8
monochromatic
#3C4814 #647821 #8CA82E #AECD47 #C3DA77

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8CA82E#FFFFFF#000000##000000
##8CA82E1.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)
#B29E18
Deuteranopia (green-blind)
#AF9D38
Tritanopia (blue-blind)
#949F90
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #8ca82e;
/* rgb */ color: rgb(140, 168, 46);
/* oklch */ color: oklch(68.7% 0.148 121.8);
Tailwind
colors: {
  custom: {
    50: '#b1c16f',
    500: '#8ca82e',
    950: '#000000',
  },
}
SCSS
$custom: #8ca82e;
$custom-light: #b1c16f;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca82e",
  "rgb": {
    "r": 140,
    "g": 168,
    "b": 46
  },
  "hsl": {
    "h": 73.77,
    "s": 57.009,
    "l": 41.961
  },
  "oklch": {
    "l": 0.68738,
    "c": 0.14774,
    "h": 121.8
  },
  "luminance": 0.33778
}

Semantic roles & 50–950 ramp

primary
#8CA82E
secondary
#8370C2
accent
#48E06B
background
#FBFBF7
surface
#F6F7ED
border
#D0D0C8
text
#111208
muted
#80817B

Preview Lab

Preview with #8CA82E

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

Preview Lab → · Contrast checker → · Palette generator →

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