#8CA162#8CA162

#8CA162 is a light, moderate yellow-green. Relative luminance 0.319; OKLCH L 67.7% C 0.090 H 123.8°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#8CA162
RGBrgb(140, 161, 98)
HSLhsl(80, 25%, 51%)
HSVhsv(80, 39%, 63%)
CMYKcmyk(13%, 0%, 39.1%, 36.9%)
CIE-LABlab(63.30, -18.21, 30.39)
CIE-LCHlch(63.30, 35.43, 120.93°)
OKLaboklab(67.72% -0.05 0.0746)
OKLCHoklch(67.72% 0.09 123.8)
XYZxyz(25.7646, 31.9469, 16.3619)
Luminance0.3195 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA162 #7762A1
analogous
#A19662 #8CA162 #6CA162
triadic
#8CA162 #628CA1 #A1628C
tetradic
#8CA162 #62A196 #7762A1 #A1626C
square
#8CA162 #62A196 #7762A1 #A1626C
split-complementary
#8CA162 #626CA1 #9662A1
monochromatic
#4A5533 #6B7C4A #8CA162 #A8B888 #C4CFAF

Accessibility & contrast

On white

2.84
#8CA162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#8CA162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA162
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA162#FFFFFF#000000##000000
##8CA1621.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89A5D
Deuteranopia (green-blind)
#A59965
Tritanopia (blue-blind)
#909B91
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #8ca162;
/* rgb */ color: rgb(140, 161, 98);
/* oklch */ color: oklch(67.7% 0.090 123.8);
Tailwind
colors: {
  custom: {
    50: '#aebc8f',
    500: '#8ca162',
    950: '#000000',
  },
}
SCSS
$custom: #8ca162;
$custom-light: #aebc8f;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca162",
  "rgb": {
    "r": 140,
    "g": 161,
    "b": 98
  },
  "hsl": {
    "h": 80,
    "s": 25.1,
    "l": 50.784
  },
  "oklch": {
    "l": 0.67722,
    "c": 0.08982,
    "h": 123.8
  },
  "luminance": 0.31947
}

Semantic roles & 50–950 ramp

primary
#8CA162
secondary
#ABA1BD
accent
#66C285
background
#FAFBF8
surface
#F4F6F0
border
#CED0CB
text
#10120C
muted
#7F817D

Preview Lab

Preview with #8CA162

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

Preview Lab → · Contrast checker → · Palette generator →

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