#8FB45C#8FB45C

#8FB45C is a light, vivid yellow-green. Relative luminance 0.393; OKLCH L 72.3% C 0.123 H 127.9°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#8FB45C
RGBrgb(143, 180, 92)
HSLhsl(85, 37%, 53%)
HSVhsv(85, 49%, 71%)
CMYKcmyk(20.6%, 0%, 48.9%, 29.4%)
CIE-LABlab(68.94, -27.26, 40.59)
CIE-LCHlch(68.94, 48.89, 123.89°)
OKLaboklab(72.28% -0.0758 0.0973)
OKLCHoklch(72.28% 0.123 127.9)
XYZxyz(29.5805, 39.2544, 16.1416)
Luminance0.3926 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FB45C #815CB4
analogous
#B4AD5C #8FB45C #63B45C
triadic
#8FB45C #5C8FB4 #B45C8F
tetradic
#8FB45C #5CB4AD #815CB4 #B45C63
square
#8FB45C #5CB4AD #815CB4 #B45C63
split-complementary
#8FB45C #5C63B4 #AD5CB4
monochromatic
#4F662F #709042 #8FB45C #ACC786 #C9DBB0

Accessibility & contrast

On white

2.37
#8FB45C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.85
#8FB45C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FB45C
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FB45C#FFFFFF#000000##000000
##8FB45C1.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCAA54
Deuteranopia (green-blind)
#B6A761
Tritanopia (blue-blind)
#93ADA0
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #8fb45c;
/* rgb */ color: rgb(143, 180, 92);
/* oklch */ color: oklch(72.3% 0.123 127.9);
Tailwind
colors: {
  custom: {
    50: '#b1ca8c',
    500: '#8fb45c',
    950: '#000000',
  },
}
SCSS
$custom: #8fb45c;
$custom-light: #b1ca8c;
$custom-dark: #000000;
JSON
{
  "hex": "#8fb45c",
  "rgb": {
    "r": 143,
    "g": 180,
    "b": 92
  },
  "hsl": {
    "h": 85.227,
    "s": 36.975,
    "l": 53.333
  },
  "oklch": {
    "l": 0.72276,
    "c": 0.12336,
    "h": 127.9
  },
  "luminance": 0.39255
}

Semantic roles & 50–950 ramp

primary
#8FB45C
secondary
#B3A3C9
accent
#5BCD8B
background
#FBFCF8
surface
#F6F8F0
border
#D0D1CB
text
#11130C
muted
#80827D

Preview Lab

Preview with #8FB45C

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

Preview Lab → · Contrast checker → · Palette generator →

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