#8CA045#8CA045

#8CA045 is a light, moderate yellow-green. Relative luminance 0.311; OKLCH L 67.1% C 0.119 H 120.1°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#8CA045
RGBrgb(140, 160, 69)
HSLhsl(73, 40%, 45%)
HSVhsv(73, 57%, 63%)
CMYKcmyk(12.5%, 0%, 56.9%, 37.3%)
CIE-LABlab(62.63, -20.89, 44.29)
CIE-LCHlch(62.63, 48.97, 115.25°)
OKLaboklab(67.06% -0.0599 0.1034)
OKLCHoklch(67.06% 0.119 120.1)
XYZxyz(24.4605, 31.1468, 10.3524)
Luminance0.3115 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA045 #5945A0
analogous
#A08745 #8CA045 #5EA045
triadic
#8CA045 #458CA0 #A0458C
tetradic
#8CA045 #45A087 #5945A0 #A0455E
square
#8CA045 #45A087 #5945A0 #A0455E
split-complementary
#8CA045 #455EA0 #8745A0
monochromatic
#414A20 #677533 #8CA045 #AABD65 #C1CF90

Accessibility & contrast

On white

2.90
#8CA045 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#8CA045 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA045
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA045#FFFFFF#000000##000000
##8CA0451.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9983C
Deuteranopia (green-blind)
#A7984B
Tritanopia (blue-blind)
#93988C
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8ca045;
/* rgb */ color: rgb(140, 160, 69);
/* oklch */ color: oklch(67.1% 0.119 120.1);
Tailwind
colors: {
  custom: {
    50: '#b0bc7c',
    500: '#8ca045',
    950: '#000000',
  },
}
SCSS
$custom: #8ca045;
$custom-light: #b0bc7c;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca045",
  "rgb": {
    "r": 140,
    "g": 160,
    "b": 69
  },
  "hsl": {
    "h": 73.187,
    "s": 39.738,
    "l": 44.902
  },
  "oklch": {
    "l": 0.67064,
    "c": 0.11944,
    "h": 120.1
  },
  "luminance": 0.31147
}

Semantic roles & 50–950 ramp

primary
#8CA045
secondary
#9286BB
accent
#58D072
background
#FBFBF7
surface
#F6F6EE
border
#D0D0C9
text
#11120A
muted
#80817C

Preview Lab

Preview with #8CA045

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

Preview Lab → · Contrast checker → · Palette generator →

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