#8CA540#8CA540

#8CA540 is a light, vivid yellow-green. Relative luminance 0.329; OKLCH L 68.2% C 0.131 H 121.7°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#8CA540
RGBrgb(140, 165, 64)
HSLhsl(75, 44%, 45%)
HSVhsv(75, 61%, 65%)
CMYKcmyk(15.2%, 0%, 61.2%, 35.3%)
CIE-LABlab(64.04, -23.82, 48.18)
CIE-LCHlch(64.04, 53.75, 116.31°)
OKLaboklab(68.18% -0.0686 0.1111)
OKLCHoklch(68.18% 0.131 121.7)
XYZxyz(25.1960, 32.8559, 9.8639)
Luminance0.3286 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA540 #5940A5
analogous
#A58B40 #8CA540 #5AA540
triadic
#8CA540 #408CA5 #A5408C
tetradic
#8CA540 #40A58B #5940A5 #A5405A
square
#8CA540 #40A58B #5940A5 #A5405A
split-complementary
#8CA540 #405AA5 #8B40A5
monochromatic
#414D1E #67792F #8CA540 #AAC261 #C1D38D

Accessibility & contrast

On white

2.77
#8CA540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#8CA540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA540
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA540#FFFFFF#000000##000000
##8CA5401.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9C34
Deuteranopia (green-blind)
#AB9B47
Tritanopia (blue-blind)
#939D90
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #8ca540;
/* rgb */ color: rgb(140, 165, 64);
/* oklch */ color: oklch(68.2% 0.131 121.7);
Tailwind
colors: {
  custom: {
    50: '#b0bf79',
    500: '#8ca540',
    950: '#000000',
  },
}
SCSS
$custom: #8ca540;
$custom-light: #b0bf79;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca540",
  "rgb": {
    "r": 140,
    "g": 165,
    "b": 64
  },
  "hsl": {
    "h": 74.851,
    "s": 44.105,
    "l": 44.902
  },
  "oklch": {
    "l": 0.68184,
    "c": 0.13054,
    "h": 121.7
  },
  "luminance": 0.32856
}

Semantic roles & 50–950 ramp

primary
#8CA540
secondary
#9283BE
accent
#54D474
background
#FBFBF7
surface
#F6F7EE
border
#D0D0C9
text
#111209
muted
#80817B

Preview Lab

Preview with #8CA540

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

Preview Lab → · Contrast checker → · Palette generator →

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