#8FA62B#8FA62B

#8FA62B is a light, vivid yellow-green. Relative luminance 0.333; OKLCH L 68.5% C 0.146 H 119.8°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#8FA62B
RGBrgb(143, 166, 43)
HSLhsl(71, 59%, 41%)
HSVhsv(71, 74%, 65%)
CMYKcmyk(13.9%, 0%, 74.1%, 34.9%)
CIE-LABlab(64.39, -24.46, 57.09)
CIE-LCHlch(64.39, 62.11, 113.19°)
OKLaboklab(68.47% -0.0725 0.1266)
OKLCHoklch(68.47% 0.146 119.8)
XYZxyz(25.4004, 33.2866, 7.3719)
Luminance0.3329 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA62B #422BA6
analogous
#A67F2B #8FA62B #51A62B
triadic
#8FA62B #2B8FA6 #A62B8F
tetradic
#8FA62B #2BA67F #422BA6 #A62B51
square
#8FA62B #2BA67F #422BA6 #A62B51
split-complementary
#8FA62B #2B51A6 #7F2BA6
monochromatic
#3B4512 #65751E #8FA62B #B3CE41 #C7DA71

Accessibility & contrast

On white

2.74
#8FA62B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#8FA62B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA62B
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA62B#FFFFFF#000000##000000
##8FA62B1.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C12
Deuteranopia (green-blind)
#AE9C36
Tritanopia (blue-blind)
#979D8E
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #8fa62b;
/* rgb */ color: rgb(143, 166, 43);
/* oklch */ color: oklch(68.5% 0.146 119.8);
Tailwind
colors: {
  custom: {
    50: '#b3c06e',
    500: '#8fa62b',
    950: '#000000',
  },
}
SCSS
$custom: #8fa62b;
$custom-light: #b3c06e;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa62b",
  "rgb": {
    "r": 143,
    "g": 166,
    "b": 43
  },
  "hsl": {
    "h": 71.22,
    "s": 58.852,
    "l": 40.98
  },
  "oklch": {
    "l": 0.68468,
    "c": 0.14591,
    "h": 119.8
  },
  "luminance": 0.33286
}

Semantic roles & 50–950 ramp

primary
#8FA62B
secondary
#7B6BC1
accent
#46E263
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#111208
muted
#80817B

Preview Lab

Preview with #8FA62B

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

Preview Lab → · Contrast checker → · Palette generator →

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