#8FA045#8FA045

#8FA045 is a light, moderate yellow-green. Relative luminance 0.314; OKLCH L 67.3% C 0.118 H 118.5°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#8FA045
RGBrgb(143, 160, 69)
HSLhsl(71, 40%, 45%)
HSVhsv(71, 57%, 63%)
CMYKcmyk(10.6%, 0%, 56.9%, 37.3%)
CIE-LABlab(62.85, -19.64, 44.60)
CIE-LCHlch(62.85, 48.73, 113.77°)
OKLaboklab(67.3% -0.0565 0.104)
OKLCHoklch(67.3% 0.118 118.5)
XYZxyz(24.9730, 31.4111, 10.3764)
Luminance0.3141 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA045 #5645A0
analogous
#A08445 #8FA045 #61A045
triadic
#8FA045 #458FA0 #A0458F
tetradic
#8FA045 #45A084 #5645A0 #A04561
square
#8FA045 #45A084 #5645A0 #A04561
split-complementary
#8FA045 #4561A0 #8445A0
monochromatic
#434A20 #697533 #8FA045 #ACBD65 #C3CF90

Accessibility & contrast

On white

2.88
#8FA045 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#8FA045 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA045
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA045#FFFFFF#000000##000000
##8FA0451.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA983C
Deuteranopia (green-blind)
#A8984B
Tritanopia (blue-blind)
#97988C
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8fa045;
/* rgb */ color: rgb(143, 160, 69);
/* oklch */ color: oklch(67.3% 0.118 118.5);
Tailwind
colors: {
  custom: {
    50: '#b2bc7c',
    500: '#8fa045',
    950: '#000000',
  },
}
SCSS
$custom: #8fa045;
$custom-light: #b2bc7c;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa045",
  "rgb": {
    "r": 143,
    "g": 160,
    "b": 69
  },
  "hsl": {
    "h": 71.209,
    "s": 39.738,
    "l": 44.902
  },
  "oklch": {
    "l": 0.67298,
    "c": 0.11835,
    "h": 118.5
  },
  "luminance": 0.31411
}

Semantic roles & 50–950 ramp

primary
#8FA045
secondary
#9086BB
accent
#58D06E
background
#FBFBF7
surface
#F6F6EE
border
#D0D0C9
text
#11120A
muted
#80817C

Preview Lab

Preview with #8FA045

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

Preview Lab → · Contrast checker → · Palette generator →

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