#8CA731#8CA731

#8CA731 is a light, vivid yellow-green. Relative luminance 0.334; OKLCH L 68.5% C 0.145 H 121.6°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#8CA731
RGBrgb(140, 167, 49)
HSLhsl(74, 55%, 42%)
HSVhsv(74, 71%, 65%)
CMYKcmyk(16.2%, 0%, 70.7%, 34.5%)
CIE-LABlab(64.51, -25.87, 54.94)
CIE-LCHlch(64.51, 60.72, 115.22°)
OKLaboklab(68.52% -0.0757 0.1232)
OKLCHoklch(68.52% 0.145 121.6)
XYZxyz(25.1887, 33.4346, 8.0317)
Luminance0.3343 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA731 #4C31A7
analogous
#A78731 #8CA731 #51A731
triadic
#8CA731 #318CA7 #A7318C
tetradic
#8CA731 #31A787 #4C31A7 #A73151
square
#8CA731 #31A787 #4C31A7 #A73151
split-complementary
#8CA731 #3151A7 #8731A7
monochromatic
#3D4815 #647823 #8CA731 #ADCA4B #C3D87A

Accessibility & contrast

On white

2.73
#8CA731 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#8CA731 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA731
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA731#FFFFFF#000000##000000
##8CA7311.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D1E
Deuteranopia (green-blind)
#AE9C3B
Tritanopia (blue-blind)
#949E90
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #8ca731;
/* rgb */ color: rgb(140, 167, 49);
/* oklch */ color: oklch(68.5% 0.145 121.6);
Tailwind
colors: {
  custom: {
    50: '#b1c171',
    500: '#8ca731',
    950: '#000000',
  },
}
SCSS
$custom: #8ca731;
$custom-light: #b1c171;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca731",
  "rgb": {
    "r": 140,
    "g": 167,
    "b": 49
  },
  "hsl": {
    "h": 73.729,
    "s": 54.63,
    "l": 42.353
  },
  "oklch": {
    "l": 0.68522,
    "c": 0.14456,
    "h": 121.6
  },
  "luminance": 0.33435
}

Semantic roles & 50–950 ramp

primary
#8CA731
secondary
#8573C1
accent
#4ADE6C
background
#FBFBF7
surface
#F6F7ED
border
#D0D0C8
text
#111208
muted
#80817B

Preview Lab

Preview with #8CA731

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

Preview Lab → · Contrast checker → · Palette generator →

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