#8FA545#8FA545

#8FA545 is a light, vivid yellow-green. Relative luminance 0.332; OKLCH L 68.5% C 0.125 H 120.6°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#8FA545
RGBrgb(143, 165, 69)
HSLhsl(74, 41%, 46%)
HSVhsv(74, 58%, 65%)
CMYKcmyk(13.3%, 0%, 58.2%, 35.3%)
CIE-LABlab(64.31, -22.17, 46.25)
CIE-LCHlch(64.31, 51.29, 115.61°)
OKLaboklab(68.47% -0.0636 0.1075)
OKLCHoklch(68.47% 0.125 120.6)
XYZxyz(25.8573, 33.1796, 10.6712)
Luminance0.3318 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA545 #5B45A5
analogous
#A58B45 #8FA545 #5FA545
triadic
#8FA545 #458FA5 #A5458F
tetradic
#8FA545 #45A58B #5B45A5 #A5455F
square
#8FA545 #45A58B #5B45A5 #A5455F
split-complementary
#8FA545 #455FA5 #8B45A5
monochromatic
#444F21 #6A7A33 #8FA545 #ABC068 #C3D293

Accessibility & contrast

On white

2.75
#8FA545 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#8FA545 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA545
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA545#FFFFFF#000000##000000
##8FA5451.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9C3B
Deuteranopia (green-blind)
#AC9C4B
Tritanopia (blue-blind)
#969D90
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #8fa545;
/* rgb */ color: rgb(143, 165, 69);
/* oklch */ color: oklch(68.5% 0.125 120.6);
Tailwind
colors: {
  custom: {
    50: '#b2bf7c',
    500: '#8fa545',
    950: '#000000',
  },
}
SCSS
$custom: #8fa545;
$custom-light: #b2bf7c;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa545",
  "rgb": {
    "r": 143,
    "g": 165,
    "b": 69
  },
  "hsl": {
    "h": 73.75,
    "s": 41.026,
    "l": 45.882
  },
  "oklch": {
    "l": 0.68465,
    "c": 0.12492,
    "h": 120.6
  },
  "luminance": 0.3318
}

Semantic roles & 50–950 ramp

primary
#8FA545
secondary
#9588BD
accent
#57D173
background
#FBFBF7
surface
#F6F7EE
border
#D0D0C9
text
#11120A
muted
#80817C

Preview Lab

Preview with #8FA545

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

Preview Lab → · Contrast checker → · Palette generator →

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