#8FA255#8FA255

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

Color values

HEX#8FA255
RGBrgb(143, 162, 85)
HSLhsl(75, 31%, 48%)
HSVhsv(75, 48%, 64%)
CMYKcmyk(11.7%, 0%, 47.5%, 36.5%)
CIE-LABlab(63.62, -19.08, 37.62)
CIE-LCHlch(63.62, 42.18, 116.89°)
OKLaboklab(67.97% -0.0535 0.0902)
OKLCHoklch(67.97% 0.105 120.7)
XYZxyz(25.8878, 32.3362, 13.4703)
Luminance0.3234 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA255 #6855A2
analogous
#A28E55 #8FA255 #68A255
triadic
#8FA255 #558FA2 #A2558F
tetradic
#8FA255 #55A28E #6855A2 #A25568
square
#8FA255 #55A28E #6855A2 #A25568
split-complementary
#8FA255 #5568A2 #8E55A2
monochromatic
#48522B #6C7A40 #8FA255 #AABA7B #C4CFA3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8FA255#FFFFFF#000000##000000
##8FA2551.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)
#AA9A4E
Deuteranopia (green-blind)
#A89A59
Tritanopia (blue-blind)
#959B90
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #8fa255;
/* rgb */ color: rgb(143, 162, 85);
/* oklch */ color: oklch(68.0% 0.105 120.7);
Tailwind
colors: {
  custom: {
    50: '#b1bd86',
    500: '#8fa255',
    950: '#000000',
  },
}
SCSS
$custom: #8fa255;
$custom-light: #b1bd86;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa255",
  "rgb": {
    "r": 143,
    "g": 162,
    "b": 85
  },
  "hsl": {
    "h": 74.805,
    "s": 31.174,
    "l": 48.431
  },
  "oklch": {
    "l": 0.67973,
    "c": 0.10485,
    "h": 120.7
  },
  "luminance": 0.32336
}

Semantic roles & 50–950 ramp

primary
#8FA255
secondary
#A097BC
accent
#60C77A
background
#FBFBF8
surface
#F6F6EF
border
#D0D0CA
text
#11120B
muted
#80817C

Preview Lab

Preview with #8FA255

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

Preview Lab → · Contrast checker → · Palette generator →

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