#8FAF3C#8FAF3C

#8FAF3C is a light, vivid yellow-green. Relative luminance 0.368; OKLCH L 70.7% C 0.145 H 123.5°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#8FAF3C
RGBrgb(143, 175, 60)
HSLhsl(77, 49%, 46%)
HSVhsv(77, 66%, 69%)
CMYKcmyk(18.3%, 0%, 65.7%, 31.4%)
CIE-LABlab(67.15, -27.79, 53.32)
CIE-LCHlch(67.15, 60.13, 117.53°)
OKLaboklab(70.73% -0.0802 0.1213)
OKLCHoklch(70.73% 0.145 123.5)
XYZxyz(27.4735, 36.8257, 9.9348)
Luminance0.3683 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FAF3C #5C3CAF
analogous
#AF953C #8FAF3C #55AF3C
triadic
#8FAF3C #3C8FAF #AF3C8F
tetradic
#8FAF3C #3CAF95 #5C3CAF #AF3C55
square
#8FAF3C #3CAF95 #5C3CAF #AF3C55
split-complementary
#8FAF3C #3C55AF #953CAF
monochromatic
#45541D #6A812C #8FAF3C #ABC860 #C3D88D

Accessibility & contrast

On white

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

On black

8.37
#8FAF3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FAF3C
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FAF3C#FFFFFF#000000##000000
##8FAF3C1.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A42D
Deuteranopia (green-blind)
#B5A345
Tritanopia (blue-blind)
#96A797
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #8faf3c;
/* rgb */ color: rgb(143, 175, 60);
/* oklch */ color: oklch(70.7% 0.145 123.5);
Tailwind
colors: {
  custom: {
    50: '#b3c778',
    500: '#8faf3c',
    950: '#000000',
  },
}
SCSS
$custom: #8faf3c;
$custom-light: #b3c778;
$custom-dark: #000000;
JSON
{
  "hex": "#8faf3c",
  "rgb": {
    "r": 143,
    "g": 175,
    "b": 60
  },
  "hsl": {
    "h": 76.696,
    "s": 48.936,
    "l": 46.078
  },
  "oklch": {
    "l": 0.70727,
    "c": 0.14543,
    "h": 123.5
  },
  "luminance": 0.36826
}

Semantic roles & 50–950 ramp

primary
#8FAF3C
secondary
#9584C3
accent
#4FD875
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111309
muted
#80827B

Preview Lab

Preview with #8FAF3C

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

Preview Lab → · Contrast checker → · Palette generator →

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