#8FB258#8FB258

#8FB258 is a light, vivid yellow-green. Relative luminance 0.384; OKLCH L 71.8% C 0.125 H 126.8°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#8FB258
RGBrgb(143, 178, 88)
HSLhsl(83, 37%, 52%)
HSVhsv(83, 51%, 70%)
CMYKcmyk(19.7%, 0%, 50.6%, 30.2%)
CIE-LABlab(68.30, -26.73, 41.80)
CIE-LCHlch(68.30, 49.62, 122.60°)
OKLaboklab(71.75% -0.0747 0.0997)
OKLCHoklch(71.75% 0.125 126.8)
XYZxyz(29.0094, 38.3846, 15.1113)
Luminance0.3839 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FB258 #7B58B2
analogous
#B2A858 #8FB258 #62B258
triadic
#8FB258 #588FB2 #B2588F
tetradic
#8FB258 #58B2A8 #7B58B2 #B25862
square
#8FB258 #58B2A8 #7B58B2 #B25862
split-complementary
#8FB258 #5862B2 #A858B2
monochromatic
#4E622D #6F8C41 #8FB258 #ABC582 #C7D9AC

Accessibility & contrast

On white

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

On black

8.68
#8FB258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FB258
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FB258#FFFFFF#000000##000000
##8FB2581.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA850
Deuteranopia (green-blind)
#B5A65D
Tritanopia (blue-blind)
#93AB9D
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #8fb258;
/* rgb */ color: rgb(143, 178, 88);
/* oklch */ color: oklch(71.8% 0.125 126.8);
Tailwind
colors: {
  custom: {
    50: '#b1c989',
    500: '#8fb258',
    950: '#000000',
  },
}
SCSS
$custom: #8fb258;
$custom-light: #b1c989;
$custom-dark: #000000;
JSON
{
  "hex": "#8fb258",
  "rgb": {
    "r": 143,
    "g": 178,
    "b": 88
  },
  "hsl": {
    "h": 83.333,
    "s": 36.885,
    "l": 52.157
  },
  "oklch": {
    "l": 0.71751,
    "c": 0.12454,
    "h": 126.8
  },
  "luminance": 0.38385
}

Semantic roles & 50–950 ramp

primary
#8FB258
secondary
#AF9FC7
accent
#5BCD87
background
#FBFCF8
surface
#F6F8F0
border
#D0D1CB
text
#11130C
muted
#80827D

Preview Lab

Preview with #8FB258

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

Preview Lab → · Contrast checker → · Palette generator →

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