#8CA048#8CA048

#8CA048 is a light, moderate yellow-green. Relative luminance 0.312; OKLCH L 67.1% C 0.117 H 120.3°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#8CA048
RGBrgb(140, 160, 72)
HSLhsl(74, 38%, 45%)
HSVhsv(74, 55%, 63%)
CMYKcmyk(12.5%, 0%, 55%, 37.3%)
CIE-LABlab(62.66, -20.62, 42.89)
CIE-LCHlch(62.66, 47.59, 115.67°)
OKLaboklab(67.1% -0.0588 0.1007)
OKLCHoklch(67.1% 0.117 120.3)
XYZxyz(24.5560, 31.1850, 10.8553)
Luminance0.3119 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA048 #5C48A0
analogous
#A08848 #8CA048 #60A048
triadic
#8CA048 #488CA0 #A0488C
tetradic
#8CA048 #48A088 #5C48A0 #A04860
square
#8CA048 #48A088 #5C48A0 #A04860
split-complementary
#8CA048 #4860A0 #8848A0
monochromatic
#424C22 #677635 #8CA048 #A9BC69 #C1CF94

Accessibility & contrast

On white

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

On black

7.24
#8CA048 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA048
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA048#FFFFFF#000000##000000
##8CA0481.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9983F
Deuteranopia (green-blind)
#A7984D
Tritanopia (blue-blind)
#93988C
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8ca048;
/* rgb */ color: rgb(140, 160, 72);
/* oklch */ color: oklch(67.1% 0.117 120.3);
Tailwind
colors: {
  custom: {
    50: '#afbc7e',
    500: '#8ca048',
    950: '#000000',
  },
}
SCSS
$custom: #8ca048;
$custom-light: #afbc7e;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca048",
  "rgb": {
    "r": 140,
    "g": 160,
    "b": 72
  },
  "hsl": {
    "h": 73.636,
    "s": 37.931,
    "l": 45.49
  },
  "oklch": {
    "l": 0.671,
    "c": 0.11657,
    "h": 120.3
  },
  "luminance": 0.31185
}

Semantic roles & 50–950 ramp

primary
#8CA048
secondary
#9489BB
accent
#5ACE74
background
#FBFBF7
surface
#F6F6EE
border
#D0D0C9
text
#11120A
muted
#80817C

Preview Lab

Preview with #8CA048

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

Preview Lab → · Contrast checker → · Palette generator →

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