#8FAF2C#8FAF2C

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

Color values

HEX#8FAF2C
RGBrgb(143, 175, 44)
HSLhsl(75, 60%, 43%)
HSVhsv(75, 75%, 69%)
CMYKcmyk(18.3%, 0%, 74.9%, 31.4%)
CIE-LABlab(67.04, -28.78, 59.28)
CIE-LCHlch(67.04, 65.90, 115.89°)
OKLaboklab(70.6% -0.0843 0.1314)
OKLCHoklch(70.6% 0.156 122.7)
XYZxyz(27.1127, 36.6813, 8.0342)
Luminance0.3668 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FAF2C #4C2CAF
analogous
#AF8D2C #8FAF2C #4EAF2C
triadic
#8FAF2C #2C8FAF #AF2C8F
tetradic
#8FAF2C #2CAF8D #4C2CAF #AF2C4E
square
#8FAF2C #2CAF8D #4C2CAF #AF2C4E
split-complementary
#8FAF2C #2C4EAF #8D2CAF
monochromatic
#3F4D13 #677E20 #8FAF2C #AFD147 #C4DD78

Accessibility & contrast

On white

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

On black

8.34
#8FAF2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FAF2C
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FAF2C#FFFFFF#000000##000000
##8FAF2C1.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8faf2c;
/* rgb */ color: rgb(143, 175, 44);
/* oklch */ color: oklch(70.6% 0.156 122.7);
Tailwind
colors: {
  custom: {
    50: '#b3c76f',
    500: '#8faf2c',
    950: '#000000',
  },
}
SCSS
$custom: #8faf2c;
$custom-light: #b3c76f;
$custom-dark: #000000;
JSON
{
  "hex": "#8faf2c",
  "rgb": {
    "r": 143,
    "g": 175,
    "b": 44
  },
  "hsl": {
    "h": 74.656,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.70604,
    "c": 0.15611,
    "h": 122.7
  },
  "luminance": 0.36681
}

Semantic roles & 50–950 ramp

primary
#8FAF2C
secondary
#8672C5
accent
#45E36B
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8FAF2C

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

Preview Lab → · Contrast checker → · Palette generator →

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