#8FA23F#8FA23F

#8FA23F is a light, vivid yellow-green. Relative luminance 0.320; OKLCH L 67.7% C 0.126 H 119.1°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#8FA23F
RGBrgb(143, 162, 63)
HSLhsl(72, 44%, 44%)
HSVhsv(72, 61%, 64%)
CMYKcmyk(11.7%, 0%, 61.1%, 36.5%)
CIE-LABlab(63.38, -21.16, 47.96)
CIE-LCHlch(63.38, 52.42, 113.80°)
OKLaboklab(67.7% -0.0614 0.1104)
OKLCHoklch(67.7% 0.126 119.1)
XYZxyz(25.1456, 32.0393, 9.5612)
Luminance0.3204 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA23F #523FA2
analogous
#A2843F #8FA23F #5EA23F
triadic
#8FA23F #3F8FA2 #A23F8F
tetradic
#8FA23F #3FA284 #523FA2 #A23F5E
square
#8FA23F #3FA284 #523FA2 #A23F5E
split-complementary
#8FA23F #3F5EA2 #843FA2
monochromatic
#414A1D #68762E #8FA23F #ADC05E #C4D18A

Accessibility & contrast

On white

2.83
#8FA23F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#8FA23F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA23F
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA23F#FFFFFF#000000##000000
##8FA23F1.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9934
Deuteranopia (green-blind)
#AA9A46
Tritanopia (blue-blind)
#979A8D
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #8fa23f;
/* rgb */ color: rgb(143, 162, 63);
/* oklch */ color: oklch(67.7% 0.126 119.1);
Tailwind
colors: {
  custom: {
    50: '#b2bd78',
    500: '#8fa23f',
    950: '#000000',
  },
}
SCSS
$custom: #8fa23f;
$custom-light: #b2bd78;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa23f",
  "rgb": {
    "r": 143,
    "g": 162,
    "b": 63
  },
  "hsl": {
    "h": 71.515,
    "s": 44,
    "l": 44.118
  },
  "oklch": {
    "l": 0.67698,
    "c": 0.12635,
    "h": 119.1
  },
  "luminance": 0.32039
}

Semantic roles & 50–950 ramp

primary
#8FA23F
secondary
#8C81BC
accent
#54D46D
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111209
muted
#80817B

Preview Lab

Preview with #8FA23F

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

Preview Lab → · Contrast checker → · Palette generator →

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