#8FA628#8FA628

#8FA628 is a light, vivid yellow-green. Relative luminance 0.333; OKLCH L 68.4% C 0.148 H 119.7°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#8FA628
RGBrgb(143, 166, 40)
HSLhsl(71, 61%, 40%)
HSVhsv(71, 76%, 65%)
CMYKcmyk(13.9%, 0%, 75.9%, 34.9%)
CIE-LABlab(64.38, -24.61, 58.11)
CIE-LCHlch(64.38, 63.10, 112.95°)
OKLaboklab(68.45% -0.0732 0.1282)
OKLCHoklch(68.45% 0.148 119.7)
XYZxyz(25.3474, 33.2654, 7.0926)
Luminance0.3327 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA628 #3F28A6
analogous
#A67E28 #8FA628 #50A628
triadic
#8FA628 #288FA6 #A6288F
tetradic
#8FA628 #28A67E #3F28A6 #A62850
square
#8FA628 #28A67E #3F28A6 #A62850
split-complementary
#8FA628 #2850A6 #7E28A6
monochromatic
#3A4310 #65751C #8FA628 #B5D03B #C7DC6D

Accessibility & contrast

On white

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

On black

7.65
#8FA628 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA628
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA628#FFFFFF#000000##000000
##8FA6281.002.747.657.65
#FFFFFF2.741.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C0A
Deuteranopia (green-blind)
#AE9C33
Tritanopia (blue-blind)
#989D8E
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #8fa628;
/* rgb */ color: rgb(143, 166, 40);
/* oklch */ color: oklch(68.4% 0.148 119.7);
Tailwind
colors: {
  custom: {
    50: '#b3c06c',
    500: '#8fa628',
    950: '#000000',
  },
}
SCSS
$custom: #8fa628;
$custom-light: #b3c06c;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa628",
  "rgb": {
    "r": 143,
    "g": 166,
    "b": 40
  },
  "hsl": {
    "h": 70.952,
    "s": 61.165,
    "l": 40.392
  },
  "oklch": {
    "l": 0.68449,
    "c": 0.14765,
    "h": 119.7
  },
  "luminance": 0.33265
}

Semantic roles & 50–950 ramp

primary
#8FA628
secondary
#7867C2
accent
#44E461
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8FA628

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

Preview Lab → · Contrast checker → · Palette generator →

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