#8FAF2A#8FAF2A

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

Color values

HEX#8FAF2A
RGBrgb(143, 175, 42)
HSLhsl(74, 61%, 43%)
HSVhsv(74, 76%, 69%)
CMYKcmyk(18.3%, 0%, 76%, 31.4%)
CIE-LABlab(67.03, -28.88, 59.94)
CIE-LCHlch(67.03, 66.53, 115.72°)
OKLaboklab(70.59% -0.0848 0.1325)
OKLCHoklch(70.59% 0.157 122.6)
XYZxyz(27.0760, 36.6666, 7.8410)
Luminance0.3667 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FAF2A #4A2AAF
analogous
#AF8C2A #8FAF2A #4DAF2A
triadic
#8FAF2A #2A8FAF #AF2A8F
tetradic
#8FAF2A #2AAF8C #4A2AAF #AF2A4D
square
#8FAF2A #2AAF8C #4A2AAF #AF2A4D
split-complementary
#8FAF2A #2A4DAF #8C2AAF
monochromatic
#3E4C12 #677E1E #8FAF2A #B0D244 #C5DE75

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8FAF2A#FFFFFF#000000##000000
##8FAF2A1.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)
#BAA409
Deuteranopia (green-blind)
#B5A337
Tritanopia (blue-blind)
#97A696
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #8faf2a;
/* rgb */ color: rgb(143, 175, 42);
/* oklch */ color: oklch(70.6% 0.157 122.6);
Tailwind
colors: {
  custom: {
    50: '#b3c76e',
    500: '#8faf2a',
    950: '#000000',
  },
}
SCSS
$custom: #8faf2a;
$custom-light: #b3c76e;
$custom-dark: #000000;
JSON
{
  "hex": "#8faf2a",
  "rgb": {
    "r": 143,
    "g": 175,
    "b": 42
  },
  "hsl": {
    "h": 74.436,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.70592,
    "c": 0.15724,
    "h": 122.6
  },
  "luminance": 0.36667
}

Semantic roles & 50–950 ramp

primary
#8FAF2A
secondary
#846FC6
accent
#43E46A
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8FAF2A

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

Preview Lab → · Contrast checker → · Palette generator →

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