#8FA245#8FA245

#8FA245 is a light, vivid yellow-green. Relative luminance 0.321; OKLCH L 67.8% C 0.121 H 119.4°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#8FA245
RGBrgb(143, 162, 69)
HSLhsl(72, 40%, 45%)
HSVhsv(72, 57%, 64%)
CMYKcmyk(11.7%, 0%, 57.4%, 36.5%)
CIE-LABlab(63.43, -20.66, 45.26)
CIE-LCHlch(63.43, 49.75, 114.53°)
OKLaboklab(67.76% -0.0594 0.1054)
OKLCHoklch(67.76% 0.121 119.4)
XYZxyz(25.3225, 32.1101, 10.4929)
Luminance0.3211 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA245 #5845A2
analogous
#A28645 #8FA245 #60A245
triadic
#8FA245 #458FA2 #A2458F
tetradic
#8FA245 #45A286 #5845A2 #A24560
square
#8FA245 #45A286 #5845A2 #A24560
split-complementary
#8FA245 #4560A2 #8645A2
monochromatic
#434C20 #697733 #8FA245 #ACBE66 #C3D091

Accessibility & contrast

On white

2.83
#8FA245 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#8FA245 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA245
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA245#FFFFFF#000000##000000
##8FA2451.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9A3B
Deuteranopia (green-blind)
#A99A4B
Tritanopia (blue-blind)
#969A8E
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #8fa245;
/* rgb */ color: rgb(143, 162, 69);
/* oklch */ color: oklch(67.8% 0.121 119.4);
Tailwind
colors: {
  custom: {
    50: '#b2bd7c',
    500: '#8fa245',
    950: '#000000',
  },
}
SCSS
$custom: #8fa245;
$custom-light: #b2bd7c;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa245",
  "rgb": {
    "r": 143,
    "g": 162,
    "b": 69
  },
  "hsl": {
    "h": 72.258,
    "s": 40.26,
    "l": 45.294
  },
  "oklch": {
    "l": 0.67764,
    "c": 0.12098,
    "h": 119.4
  },
  "luminance": 0.3211
}

Semantic roles & 50–950 ramp

primary
#8FA245
secondary
#9287BC
accent
#58D070
background
#FBFBF7
surface
#F6F6EE
border
#D0D0C9
text
#11120A
muted
#80817C

Preview Lab

Preview with #8FA245

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

Preview Lab → · Contrast checker → · Palette generator →

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