#8FA41F#8FA41F

#8FA41F is a light, vivid yellow. Relative luminance 0.325; OKLCH L 67.9% C 0.150 H 118.8°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#8FA41F
RGBrgb(143, 164, 31)
HSLhsl(69, 68%, 38%)
HSVhsv(69, 81%, 64%)
CMYKcmyk(12.8%, 0%, 81.1%, 35.7%)
CIE-LABlab(63.75, -24.01, 60.31)
CIE-LCHlch(63.75, 64.91, 111.71°)
OKLaboklab(67.93% -0.0722 0.1314)
OKLCHoklch(67.93% 0.15 118.8)
XYZxyz(24.8511, 32.4897, 6.2580)
Luminance0.3249 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA41F #341FA4
analogous
#A4761F #8FA41F #4CA41F
triadic
#8FA41F #1F8FA4 #A41F8F
tetradic
#8FA41F #1FA476 #341FA4 #A41F4C
square
#8FA41F #1FA476 #341FA4 #A41F4C
split-complementary
#8FA41F #1F4CA4 #761FA4
monochromatic
#353D0C #627115 #8FA41F #BBD72A #CCE05D

Accessibility & contrast

On white

2.80
#8FA41F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#8FA41F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA41F
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA41F#FFFFFF#000000##000000
##8FA41F1.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A00
Deuteranopia (green-blind)
#AD9B2D
Tritanopia (blue-blind)
#989B8C
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #8fa41f;
/* rgb */ color: rgb(143, 164, 31);
/* oklch */ color: oklch(67.9% 0.150 118.8);
Tailwind
colors: {
  custom: {
    50: '#b3be68',
    500: '#8fa41f',
    950: '#000000',
  },
}
SCSS
$custom: #8fa41f;
$custom-light: #b3be68;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa41f",
  "rgb": {
    "r": 143,
    "g": 164,
    "b": 31
  },
  "hsl": {
    "h": 69.474,
    "s": 68.205,
    "l": 38.235
  },
  "oklch": {
    "l": 0.67928,
    "c": 0.1499,
    "h": 118.8
  },
  "luminance": 0.32489
}

Semantic roles & 50–950 ramp

primary
#8FA41F
secondary
#6B5AC5
accent
#3DEB58
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #8FA41F

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

Preview Lab → · Contrast checker → · Palette generator →

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