#8FA257#8FA257

#8FA257 is a light, moderate yellow-green. Relative luminance 0.324; OKLCH L 68.0% C 0.103 H 120.9°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#8FA257
RGBrgb(143, 162, 87)
HSLhsl(75, 30%, 49%)
HSVhsv(75, 46%, 64%)
CMYKcmyk(11.7%, 0%, 46.3%, 36.5%)
CIE-LABlab(63.65, -18.86, 36.63)
CIE-LCHlch(63.65, 41.20, 117.24°)
OKLaboklab(68% -0.0527 0.0881)
OKLCHoklch(68% 0.103 120.9)
XYZxyz(25.9684, 32.3685, 13.8947)
Luminance0.3237 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA257 #6A57A2
analogous
#A29057 #8FA257 #6AA257
triadic
#8FA257 #578FA2 #A2578F
tetradic
#8FA257 #57A290 #6A57A2 #A2576A
square
#8FA257 #57A290 #6A57A2 #A2576A
split-complementary
#8FA257 #576AA2 #9057A2
monochromatic
#49522C #6C7A42 #8FA257 #AAB97D #C4CFA5

Accessibility & contrast

On white

2.81
#8FA257 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#8FA257 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA257
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA257#FFFFFF#000000##000000
##8FA2571.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9A51
Deuteranopia (green-blind)
#A89A5B
Tritanopia (blue-blind)
#959B90
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #8fa257;
/* rgb */ color: rgb(143, 162, 87);
/* oklch */ color: oklch(68.0% 0.103 120.9);
Tailwind
colors: {
  custom: {
    50: '#b1bd88',
    500: '#8fa257',
    950: '#000000',
  },
}
SCSS
$custom: #8fa257;
$custom-light: #b1bd88;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa257",
  "rgb": {
    "r": 143,
    "g": 162,
    "b": 87
  },
  "hsl": {
    "h": 75.2,
    "s": 30.12,
    "l": 48.824
  },
  "oklch": {
    "l": 0.68003,
    "c": 0.10268,
    "h": 120.9
  },
  "luminance": 0.32368
}

Semantic roles & 50–950 ramp

primary
#8FA257
secondary
#A299BC
accent
#61C67B
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#11120B
muted
#80817C

Preview Lab

Preview with #8FA257

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

Preview Lab → · Contrast checker → · Palette generator →

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