#8FAF26#8FAF26

#8FAF26 is a light, vivid yellow-green. Relative luminance 0.366; OKLCH L 70.6% C 0.159 H 122.5°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#8FAF26
RGBrgb(143, 175, 38)
HSLhsl(74, 64%, 42%)
HSVhsv(74, 78%, 69%)
CMYKcmyk(18.3%, 0%, 78.3%, 31.4%)
CIE-LABlab(67.01, -29.07, 61.19)
CIE-LCHlch(67.01, 67.74, 115.41°)
OKLaboklab(70.57% -0.0856 0.1344)
OKLCHoklch(70.57% 0.159 122.5)
XYZxyz(27.0079, 36.6394, 7.4826)
Luminance0.3664 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FAF26 #4626AF
analogous
#AF8B26 #8FAF26 #4AAF26
triadic
#8FAF26 #268FAF #AF268F
tetradic
#8FAF26 #26AF8B #4626AF #AF264A
square
#8FAF26 #26AF8B #4626AF #AF264A
split-complementary
#8FAF26 #264AAF #8B26AF
monochromatic
#3D4A10 #667D1B #8FAF26 #B2D53D #C6E070

Accessibility & contrast

On white

2.52
#8FAF26 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#8FAF26 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FAF26
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FAF26#FFFFFF#000000##000000
##8FAF261.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA400
Deuteranopia (green-blind)
#B6A334
Tritanopia (blue-blind)
#97A696
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #8faf26;
/* rgb */ color: rgb(143, 175, 38);
/* oklch */ color: oklch(70.6% 0.159 122.5);
Tailwind
colors: {
  custom: {
    50: '#b4c76c',
    500: '#8faf26',
    950: '#000000',
  },
}
SCSS
$custom: #8faf26;
$custom-light: #b4c76c;
$custom-dark: #000000;
JSON
{
  "hex": "#8faf26",
  "rgb": {
    "r": 143,
    "g": 175,
    "b": 38
  },
  "hsl": {
    "h": 74.015,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.70568,
    "c": 0.15935,
    "h": 122.5
  },
  "luminance": 0.3664
}

Semantic roles & 50–950 ramp

primary
#8FAF26
secondary
#806AC7
accent
#40E767
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111308
muted
#80827B

Preview Lab

Preview with #8FAF26

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

Preview Lab → · Contrast checker → · Palette generator →

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