#8CA931#8CA931

#8CA931 is a light, vivid yellow-green. Relative luminance 0.342; OKLCH L 69.0% C 0.147 H 122.2°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#8CA931
RGBrgb(140, 169, 49)
HSLhsl(75, 55%, 43%)
HSVhsv(75, 71%, 66%)
CMYKcmyk(17.2%, 0%, 71%, 33.7%)
CIE-LABlab(65.10, -26.84, 55.52)
CIE-LCHlch(65.10, 61.67, 115.80°)
OKLaboklab(69% -0.0784 0.1244)
OKLCHoklch(69% 0.147 122.2)
XYZxyz(25.5579, 34.1731, 8.1547)
Luminance0.3417 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA931 #4E31A9
analogous
#A98A31 #8CA931 #50A931
triadic
#8CA931 #318CA9 #A9318C
tetradic
#8CA931 #31A98A #4E31A9 #A93150
square
#8CA931 #31A98A #4E31A9 #A93150
split-complementary
#8CA931 #3150A9 #8A31A9
monochromatic
#3D4A15 #657A23 #8CA931 #ACCB4C #C2D97C

Accessibility & contrast

On white

2.68
#8CA931 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#8CA931 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA931
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA931#FFFFFF#000000##000000
##8CA9311.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F1D
Deuteranopia (green-blind)
#AF9E3B
Tritanopia (blue-blind)
#93A091
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #8ca931;
/* rgb */ color: rgb(140, 169, 49);
/* oklch */ color: oklch(69.0% 0.147 122.2);
Tailwind
colors: {
  custom: {
    50: '#b1c271',
    500: '#8ca931',
    950: '#000000',
  },
}
SCSS
$custom: #8ca931;
$custom-light: #b1c271;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca931",
  "rgb": {
    "r": 140,
    "g": 169,
    "b": 49
  },
  "hsl": {
    "h": 74.5,
    "s": 55.046,
    "l": 42.745
  },
  "oklch": {
    "l": 0.68997,
    "c": 0.14702,
    "h": 122.2
  },
  "luminance": 0.34173
}

Semantic roles & 50–950 ramp

primary
#8CA931
secondary
#8774C1
accent
#49DE6D
background
#FBFBF7
surface
#F6F7ED
border
#D0D0C8
text
#111208
muted
#80817B

Preview Lab

Preview with #8CA931

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

Preview Lab → · Contrast checker → · Palette generator →

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