#8FAF2E#8FAF2E

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

Color values

HEX#8FAF2E
RGBrgb(143, 175, 46)
HSLhsl(75, 58%, 43%)
HSVhsv(75, 74%, 69%)
CMYKcmyk(18.3%, 0%, 73.7%, 31.4%)
CIE-LABlab(67.05, -28.67, 58.60)
CIE-LCHlch(67.05, 65.24, 116.07°)
OKLaboklab(70.62% -0.0838 0.1303)
OKLCHoklch(70.62% 0.155 122.8)
XYZxyz(27.1512, 36.6967, 8.2370)
Luminance0.3670 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FAF2E #4E2EAF
analogous
#AF8E2E #8FAF2E #4EAF2E
triadic
#8FAF2E #2E8FAF #AF2E8F
tetradic
#8FAF2E #2EAF8E #4E2EAF #AF2E4E
square
#8FAF2E #2EAF8E #4E2EAF #AF2E4E
split-complementary
#8FAF2E #2E4EAF #8E2EAF
monochromatic
#404E15 #677F21 #8FAF2E #AFD04B #C4DC7B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8FAF2E#FFFFFF#000000##000000
##8FAF2E1.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)
#B9A414
Deuteranopia (green-blind)
#B5A33A
Tritanopia (blue-blind)
#96A696
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #8faf2e;
/* rgb */ color: rgb(143, 175, 46);
/* oklch */ color: oklch(70.6% 0.155 122.8);
Tailwind
colors: {
  custom: {
    50: '#b3c770',
    500: '#8faf2e',
    950: '#000000',
  },
}
SCSS
$custom: #8faf2e;
$custom-light: #b3c770;
$custom-dark: #000000;
JSON
{
  "hex": "#8faf2e",
  "rgb": {
    "r": 143,
    "g": 175,
    "b": 46
  },
  "hsl": {
    "h": 74.884,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.70617,
    "c": 0.15494,
    "h": 122.8
  },
  "luminance": 0.36697
}

Semantic roles & 50–950 ramp

primary
#8FAF2E
secondary
#8874C5
accent
#46E26D
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8FAF2E

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

Preview Lab → · Contrast checker → · Palette generator →

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