#8FAF45#8FAF45

#8FAF45 is a light, vivid yellow-green. Relative luminance 0.369; OKLCH L 70.8% C 0.138 H 124.1°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#8FAF45
RGBrgb(143, 175, 69)
HSLhsl(78, 43%, 48%)
HSVhsv(78, 61%, 69%)
CMYKcmyk(18.3%, 0%, 60.6%, 31.4%)
CIE-LABlab(67.22, -27.10, 49.51)
CIE-LCHlch(67.22, 56.44, 118.69°)
OKLaboklab(70.81% -0.0774 0.1145)
OKLCHoklch(70.81% 0.138 124.1)
XYZxyz(27.7320, 36.9291, 11.2961)
Luminance0.3693 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FAF45 #6545AF
analogous
#AF9A45 #8FAF45 #5AAF45
triadic
#8FAF45 #458FAF #AF458F
tetradic
#8FAF45 #45AF9A #6545AF #AF455A
square
#8FAF45 #45AF9A #6545AF #AF455A
split-complementary
#8FAF45 #455AAF #9A45AF
monochromatic
#475722 #6B8334 #8FAF45 #AAC56C #C4D698

Accessibility & contrast

On white

2.50
#8FAF45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#8FAF45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FAF45
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FAF45#FFFFFF#000000##000000
##8FAF451.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A539
Deuteranopia (green-blind)
#B4A34C
Tritanopia (blue-blind)
#95A798
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #8faf45;
/* rgb */ color: rgb(143, 175, 69);
/* oklch */ color: oklch(70.8% 0.138 124.1);
Tailwind
colors: {
  custom: {
    50: '#b2c77d',
    500: '#8faf45',
    950: '#000000',
  },
}
SCSS
$custom: #8faf45;
$custom-light: #b2c77d;
$custom-dark: #000000;
JSON
{
  "hex": "#8faf45",
  "rgb": {
    "r": 143,
    "g": 175,
    "b": 69
  },
  "hsl": {
    "h": 78.113,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.70814,
    "c": 0.13816,
    "h": 124.1
  },
  "luminance": 0.36929
}

Semantic roles & 50–950 ramp

primary
#8FAF45
secondary
#9D8DC2
accent
#55D37B
background
#FBFCF7
surface
#F6F8EE
border
#D0D1C9
text
#11130A
muted
#80827C

Preview Lab

Preview with #8FAF45

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

Preview Lab → · Contrast checker → · Palette generator →

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