#8FA271#8FA271

#8FA271 is a light, moderate yellow-green. Relative luminance 0.329; OKLCH L 68.5% C 0.072 H 125.5°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#8FA271
RGBrgb(143, 162, 113)
HSLhsl(83, 21%, 54%)
HSVhsv(83, 30%, 64%)
CMYKcmyk(11.7%, 0%, 30.2%, 36.5%)
CIE-LABlab(64.06, -15.47, 23.34)
CIE-LCHlch(64.06, 28.00, 123.53°)
OKLaboklab(68.47% -0.0417 0.0586)
OKLCHoklch(68.47% 0.072 125.5)
XYZxyz(27.2283, 32.8724, 20.5301)
Luminance0.3287 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA271 #8471A2
analogous
#A29D71 #8FA271 #77A271
triadic
#8FA271 #718FA2 #A2718F
tetradic
#8FA271 #71A29D #8471A2 #A27177
square
#8FA271 #71A29D #8471A2 #A27177
split-complementary
#8FA271 #7177A2 #9D71A2
monochromatic
#505C3C #708155 #8FA271 #ACBA96 #C9D2BB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8FA271#FFFFFF#000000##000000
##8FA2711.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)
#A79C6E
Deuteranopia (green-blind)
#A59B73
Tritanopia (blue-blind)
#929D95
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #8fa271;
/* rgb */ color: rgb(143, 162, 113);
/* oklch */ color: oklch(68.5% 0.072 125.5);
Tailwind
colors: {
  custom: {
    50: '#b0bd9a',
    500: '#8fa271',
    950: '#000000',
  },
}
SCSS
$custom: #8fa271;
$custom-light: #b0bd9a;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa271",
  "rgb": {
    "r": 143,
    "g": 162,
    "b": 113
  },
  "hsl": {
    "h": 83.265,
    "s": 20.851,
    "l": 53.922
  },
  "oklch": {
    "l": 0.68466,
    "c": 0.0719,
    "h": 125.5
  },
  "luminance": 0.32873
}

Semantic roles & 50–950 ramp

primary
#8FA271
secondary
#B5ADC2
accent
#6ABD8B
background
#FAFBF9
surface
#F5F6F2
border
#CFD0CC
text
#10120E
muted
#7F817E

Preview Lab

Preview with #8FA271

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

Preview Lab → · Contrast checker → · Palette generator →

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