#8FA819#8FA819

#8FA819 is a light, vivid yellow-green. Relative luminance 0.339; OKLCH L 68.8% C 0.157 H 120.0°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#8FA819
RGBrgb(143, 168, 25)
HSLhsl(70, 74%, 38%)
HSVhsv(70, 85%, 66%)
CMYKcmyk(14.9%, 0%, 85.1%, 34.1%)
CIE-LABlab(64.90, -26.18, 62.85)
CIE-LCHlch(64.90, 68.09, 112.61°)
OKLaboklab(68.85% -0.0786 0.1358)
OKLCHoklch(68.85% 0.157 120)
XYZxyz(25.5063, 33.9152, 6.1221)
Luminance0.3392 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA819 #3219A8
analogous
#A87A19 #8FA819 #47A819
triadic
#8FA819 #198FA8 #A8198F
tetradic
#8FA819 #19A87A #3219A8 #A81947
square
#8FA819 #19A87A #3219A8 #A81947
split-complementary
#8FA819 #1947A8 #7A19A8
monochromatic
#343D09 #627311 #8FA819 #BCDD21 #CDE656

Accessibility & contrast

On white

2.70
#8FA819 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#8FA819 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA819
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA819#FFFFFF#000000##000000
##8FA8191.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E00
Deuteranopia (green-blind)
#B09E2A
Tritanopia (blue-blind)
#989F8F
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #8fa819;
/* rgb */ color: rgb(143, 168, 25);
/* oklch */ color: oklch(68.8% 0.157 120.0);
Tailwind
colors: {
  custom: {
    50: '#b4c166',
    500: '#8fa819',
    950: '#000000',
  },
}
SCSS
$custom: #8fa819;
$custom-light: #b4c166;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa819",
  "rgb": {
    "r": 143,
    "g": 168,
    "b": 25
  },
  "hsl": {
    "h": 70.49,
    "s": 74.093,
    "l": 37.843
  },
  "oklch": {
    "l": 0.68847,
    "c": 0.15689,
    "h": 120
  },
  "luminance": 0.33915
}

Semantic roles & 50–950 ramp

primary
#8FA819
secondary
#6854C9
accent
#37F158
background
#FBFBF6
surface
#F6F7EB
border
#D0D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #8FA819

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

Preview Lab → · Contrast checker → · Palette generator →

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