#8FA254#8FA254

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

Color values

HEX#8FA254
RGBrgb(143, 162, 84)
HSLhsl(75, 32%, 48%)
HSVhsv(75, 48%, 64%)
CMYKcmyk(11.7%, 0%, 48.1%, 36.5%)
CIE-LABlab(63.61, -19.19, 38.11)
CIE-LCHlch(63.61, 42.67, 116.73°)
OKLaboklab(67.96% -0.0539 0.0912)
OKLCHoklch(67.96% 0.106 120.6)
XYZxyz(25.8484, 32.3204, 13.2625)
Luminance0.3232 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA254 #6754A2
analogous
#A28E54 #8FA254 #68A254
triadic
#8FA254 #548FA2 #A2548F
tetradic
#8FA254 #54A28E #6754A2 #A25468
square
#8FA254 #54A28E #6754A2 #A25468
split-complementary
#8FA254 #5468A2 #8E54A2
monochromatic
#48512A #6B7A3F #8FA254 #AABA79 #C4CFA2

Accessibility & contrast

On white

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

On black

7.46
#8FA254 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA254
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA254#FFFFFF#000000##000000
##8FA2541.002.817.467.46
#FFFFFF2.811.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8fa254;
/* rgb */ color: rgb(143, 162, 84);
/* oklch */ color: oklch(68.0% 0.106 120.6);
Tailwind
colors: {
  custom: {
    50: '#b1bd86',
    500: '#8fa254',
    950: '#000000',
  },
}
SCSS
$custom: #8fa254;
$custom-light: #b1bd86;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa254",
  "rgb": {
    "r": 143,
    "g": 162,
    "b": 84
  },
  "hsl": {
    "h": 74.615,
    "s": 31.707,
    "l": 48.235
  },
  "oklch": {
    "l": 0.67959,
    "c": 0.10593,
    "h": 120.6
  },
  "luminance": 0.3232
}

Semantic roles & 50–950 ramp

primary
#8FA254
secondary
#9F96BC
accent
#60C879
background
#FBFBF8
surface
#F6F6EF
border
#D0D0CA
text
#11120B
muted
#80817C

Preview Lab

Preview with #8FA254

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

Preview Lab → · Contrast checker → · Palette generator →

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