#8FAF3B#8FAF3B

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

Color values

HEX#8FAF3B
RGBrgb(143, 175, 59)
HSLhsl(77, 50%, 46%)
HSVhsv(77, 66%, 69%)
CMYKcmyk(18.3%, 0%, 66.3%, 31.4%)
CIE-LABlab(67.14, -27.87, 53.72)
CIE-LCHlch(67.14, 60.52, 117.42°)
OKLaboklab(70.72% -0.0805 0.1221)
OKLCHoklch(70.72% 0.146 123.4)
XYZxyz(27.4473, 36.8152, 9.7969)
Luminance0.3681 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FAF3B #5B3BAF
analogous
#AF953B #8FAF3B #55AF3B
triadic
#8FAF3B #3B8FAF #AF3B8F
tetradic
#8FAF3B #3BAF95 #5B3BAF #AF3B55
square
#8FAF3B #3BAF95 #5B3BAF #AF3B55
split-complementary
#8FAF3B #3B55AF #953BAF
monochromatic
#44531C #6A812C #8FAF3B #ABC95E #C3D88C

Accessibility & contrast

On white

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

On black

8.36
#8FAF3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FAF3B
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FAF3B#FFFFFF#000000##000000
##8FAF3B1.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8faf3b;
/* rgb */ color: rgb(143, 175, 59);
/* oklch */ color: oklch(70.7% 0.146 123.4);
Tailwind
colors: {
  custom: {
    50: '#b3c777',
    500: '#8faf3b',
    950: '#000000',
  },
}
SCSS
$custom: #8faf3b;
$custom-light: #b3c777;
$custom-dark: #000000;
JSON
{
  "hex": "#8faf3b",
  "rgb": {
    "r": 143,
    "g": 175,
    "b": 59
  },
  "hsl": {
    "h": 76.552,
    "s": 49.573,
    "l": 45.882
  },
  "oklch": {
    "l": 0.70718,
    "c": 0.14618,
    "h": 123.4
  },
  "luminance": 0.36815
}

Semantic roles & 50–950 ramp

primary
#8FAF3B
secondary
#9583C3
accent
#4FD975
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111309
muted
#80827B

Preview Lab

Preview with #8FAF3B

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

Preview Lab → · Contrast checker → · Palette generator →

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