#8FAF2B#8FAF2B

#8FAF2B 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#8FAF2B
RGBrgb(143, 175, 43)
HSLhsl(75, 61%, 43%)
HSVhsv(75, 75%, 69%)
CMYKcmyk(18.3%, 0%, 75.4%, 31.4%)
CIE-LABlab(67.03, -28.83, 59.61)
CIE-LCHlch(67.03, 66.22, 115.81°)
OKLaboklab(70.6% -0.0845 0.1319)
OKLCHoklch(70.6% 0.157 122.6)
XYZxyz(27.0941, 36.6739, 7.9364)
Luminance0.3667 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FAF2B #4B2BAF
analogous
#AF8D2B #8FAF2B #4DAF2B
triadic
#8FAF2B #2B8FAF #AF2B8F
tetradic
#8FAF2B #2BAF8D #4B2BAF #AF2B4D
square
#8FAF2B #2BAF8D #4B2BAF #AF2B4D
split-complementary
#8FAF2B #2B4DAF #8D2BAF
monochromatic
#3F4D13 #677E1F #8FAF2B #B0D146 #C5DE77

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #8faf2b;
/* rgb */ color: rgb(143, 175, 43);
/* oklch */ color: oklch(70.6% 0.157 122.6);
Tailwind
colors: {
  custom: {
    50: '#b3c76f',
    500: '#8faf2b',
    950: '#000000',
  },
}
SCSS
$custom: #8faf2b;
$custom-light: #b3c76f;
$custom-dark: #000000;
JSON
{
  "hex": "#8faf2b",
  "rgb": {
    "r": 143,
    "g": 175,
    "b": 43
  },
  "hsl": {
    "h": 74.545,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.70598,
    "c": 0.15669,
    "h": 122.6
  },
  "luminance": 0.36674
}

Semantic roles & 50–950 ramp

primary
#8FAF2B
secondary
#8570C5
accent
#44E46B
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8FAF2B

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

Preview Lab → · Contrast checker → · Palette generator →

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