#8FAF41#8FAF41

#8FAF41 is a light, vivid yellow-green. Relative luminance 0.369; OKLCH L 70.8% C 0.141 H 123.8°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#8FAF41
RGBrgb(143, 175, 65)
HSLhsl(77, 46%, 47%)
HSVhsv(77, 63%, 69%)
CMYKcmyk(18.3%, 0%, 62.9%, 31.4%)
CIE-LABlab(67.19, -27.42, 51.24)
CIE-LCHlch(67.19, 58.11, 118.15°)
OKLaboklab(70.77% -0.0787 0.1176)
OKLCHoklch(70.77% 0.142 123.8)
XYZxyz(27.6120, 36.8811, 10.6641)
Luminance0.3688 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FAF41 #6141AF
analogous
#AF9841 #8FAF41 #58AF41
triadic
#8FAF41 #418FAF #AF418F
tetradic
#8FAF41 #41AF98 #6141AF #AF4158
square
#8FAF41 #41AF98 #6141AF #AF4158
split-complementary
#8FAF41 #4158AF #9841AF
monochromatic
#465620 #6B8230 #8FAF41 #ABC667 #C3D793

Accessibility & contrast

On white

2.51
#8FAF41 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#8FAF41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FAF41
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FAF41#FFFFFF#000000##000000
##8FAF411.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A534
Deuteranopia (green-blind)
#B4A349
Tritanopia (blue-blind)
#95A798
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #8faf41;
/* rgb */ color: rgb(143, 175, 65);
/* oklch */ color: oklch(70.8% 0.141 123.8);
Tailwind
colors: {
  custom: {
    50: '#b2c77a',
    500: '#8faf41',
    950: '#000000',
  },
}
SCSS
$custom: #8faf41;
$custom-light: #b2c77a;
$custom-dark: #000000;
JSON
{
  "hex": "#8faf41",
  "rgb": {
    "r": 143,
    "g": 175,
    "b": 65
  },
  "hsl": {
    "h": 77.455,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.70774,
    "c": 0.1415,
    "h": 123.8
  },
  "luminance": 0.36881
}

Semantic roles & 50–950 ramp

primary
#8FAF41
secondary
#9A89C2
accent
#52D578
background
#FBFCF7
surface
#F6F8EE
border
#D0D1C9
text
#11130A
muted
#80827C

Preview Lab

Preview with #8FAF41

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

Preview Lab → · Contrast checker → · Palette generator →

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