#8FB255#8FB255

#8FB255 is a light, vivid yellow-green. Relative luminance 0.383; OKLCH L 71.7% C 0.128 H 126.5°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#8FB255
RGBrgb(143, 178, 85)
HSLhsl(83, 38%, 52%)
HSVhsv(83, 52%, 70%)
CMYKcmyk(19.7%, 0%, 52.2%, 30.2%)
CIE-LABlab(68.27, -27.05, 43.23)
CIE-LCHlch(68.27, 50.99, 122.04°)
OKLaboklab(71.71% -0.0758 0.1025)
OKLCHoklch(71.71% 0.128 126.5)
XYZxyz(28.8877, 38.3360, 14.4702)
Luminance0.3834 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FB255 #7855B2
analogous
#B2A755 #8FB255 #61B255
triadic
#8FB255 #558FB2 #B2558F
tetradic
#8FB255 #55B2A7 #7855B2 #B25561
square
#8FB255 #55B2A7 #7855B2 #B25561
split-complementary
#8FB255 #5561B2 #A755B2
monochromatic
#4D612C #6E8B3F #8FB255 #ABC57F #C7D8A9

Accessibility & contrast

On white

2.42
#8FB255 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.67
#8FB255 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FB255
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FB255#FFFFFF#000000##000000
##8FB2551.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA84C
Deuteranopia (green-blind)
#B5A65B
Tritanopia (blue-blind)
#94AB9D
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #8fb255;
/* rgb */ color: rgb(143, 178, 85);
/* oklch */ color: oklch(71.7% 0.128 126.5);
Tailwind
colors: {
  custom: {
    50: '#b2c987',
    500: '#8fb255',
    950: '#000000',
  },
}
SCSS
$custom: #8fb255;
$custom-light: #b2c987;
$custom-dark: #000000;
JSON
{
  "hex": "#8fb255",
  "rgb": {
    "r": 143,
    "g": 178,
    "b": 85
  },
  "hsl": {
    "h": 82.581,
    "s": 37.652,
    "l": 51.569
  },
  "oklch": {
    "l": 0.7171,
    "c": 0.12752,
    "h": 126.5
  },
  "luminance": 0.38336
}

Semantic roles & 50–950 ramp

primary
#8FB255
secondary
#AC9DC6
accent
#5ACE86
background
#FBFCF8
surface
#F6F8F0
border
#D0D1CB
text
#11130B
muted
#80827C

Preview Lab

Preview with #8FB255

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

Preview Lab → · Contrast checker → · Palette generator →

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