#8FA91C#8FA91C

#8FA91C is a light, vivid yellow-green. Relative luminance 0.343; OKLCH L 69.1% C 0.157 H 120.4°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#8FA91C
RGBrgb(143, 169, 28)
HSLhsl(71, 72%, 39%)
HSVhsv(71, 83%, 66%)
CMYKcmyk(15.4%, 0%, 83.4%, 33.7%)
CIE-LABlab(65.20, -26.57, 62.38)
CIE-LCHlch(65.20, 67.81, 113.07°)
OKLaboklab(69.1% -0.0794 0.1353)
OKLCHoklch(69.1% 0.157 120.4)
XYZxyz(25.7258, 34.2995, 6.3636)
Luminance0.3430 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA91C #361CA9
analogous
#A97C1C #8FA91C #48A91C
triadic
#8FA91C #1C8FA9 #A91C8F
tetradic
#8FA91C #1CA97C #361CA9 #A91C48
square
#8FA91C #1CA97C #361CA9 #A91C48
split-complementary
#8FA91C #1C48A9 #7C1CA9
monochromatic
#36400B #637413 #8FA91C #BADB27 #CBE45B

Accessibility & contrast

On white

2.67
#8FA91C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#8FA91C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA91C
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA91C#FFFFFF#000000##000000
##8FA91C1.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F00
Deuteranopia (green-blind)
#B19E2C
Tritanopia (blue-blind)
#98A090
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #8fa91c;
/* rgb */ color: rgb(143, 169, 28);
/* oklch */ color: oklch(69.1% 0.157 120.4);
Tailwind
colors: {
  custom: {
    50: '#b4c267',
    500: '#8fa91c',
    950: '#000000',
  },
}
SCSS
$custom: #8fa91c;
$custom-light: #b4c267;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa91c",
  "rgb": {
    "r": 143,
    "g": 169,
    "b": 28
  },
  "hsl": {
    "h": 71.064,
    "s": 71.574,
    "l": 38.627
  },
  "oklch": {
    "l": 0.69096,
    "c": 0.15689,
    "h": 120.4
  },
  "luminance": 0.34299
}

Semantic roles & 50–950 ramp

primary
#8FA91C
secondary
#6D59C8
accent
#39EE5B
background
#FBFBF6
surface
#F6F7EB
border
#D0D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #8FA91C

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

Preview Lab → · Contrast checker → · Palette generator →

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