#8CA151#8CA151

#8CA151 is a light, moderate yellow-green. Relative luminance 0.317; OKLCH L 67.5% C 0.109 H 121.5°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#8CA151
RGBrgb(140, 161, 81)
HSLhsl(76, 33%, 47%)
HSVhsv(76, 50%, 63%)
CMYKcmyk(13%, 0%, 49.7%, 36.9%)
CIE-LABlab(63.06, -20.22, 38.92)
CIE-LCHlch(63.06, 43.86, 117.46°)
OKLaboklab(67.45% -0.0569 0.0928)
OKLCHoklch(67.45% 0.109 121.5)
XYZxyz(25.0454, 31.6593, 12.5744)
Luminance0.3166 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA151 #6651A1
analogous
#A18E51 #8CA151 #64A151
triadic
#8CA151 #518CA1 #A1518C
tetradic
#8CA151 #51A18E #6651A1 #A15164
square
#8CA151 #51A18E #6651A1 #A15164
split-complementary
#8CA151 #5164A1 #8E51A1
monochromatic
#455028 #69783D #8CA151 #A8BA75 #C2CE9E

Accessibility & contrast

On white

2.86
#8CA151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#8CA151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA151
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA151#FFFFFF#000000##000000
##8CA1511.002.867.337.33
#FFFFFF2.861.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9994A
Deuteranopia (green-blind)
#A79955
Tritanopia (blue-blind)
#929A8F
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #8ca151;
/* rgb */ color: rgb(140, 161, 81);
/* oklch */ color: oklch(67.5% 0.109 121.5);
Tailwind
colors: {
  custom: {
    50: '#afbc84',
    500: '#8ca151',
    950: '#000000',
  },
}
SCSS
$custom: #8ca151;
$custom-light: #afbc84;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca151",
  "rgb": {
    "r": 140,
    "g": 161,
    "b": 81
  },
  "hsl": {
    "h": 75.75,
    "s": 33.058,
    "l": 47.451
  },
  "oklch": {
    "l": 0.67453,
    "c": 0.10884,
    "h": 121.5
  },
  "luminance": 0.31659
}

Semantic roles & 50–950 ramp

primary
#8CA151
secondary
#9D93BB
accent
#5FC97B
background
#FAFBF8
surface
#F5F6EF
border
#CFD0CA
text
#10120B
muted
#7F817C

Preview Lab

Preview with #8CA151

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

Preview Lab → · Contrast checker → · Palette generator →

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