#8FA522#8FA522

#8FA522 is a light, vivid yellow-green. Relative luminance 0.329; OKLCH L 68.2% C 0.150 H 119.2°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#8FA522
RGBrgb(143, 165, 34)
HSLhsl(70, 66%, 39%)
HSVhsv(70, 79%, 65%)
CMYKcmyk(13.3%, 0%, 79.4%, 35.3%)
CIE-LABlab(64.05, -24.38, 59.71)
CIE-LCHlch(64.05, 64.50, 112.21°)
OKLaboklab(68.18% -0.073 0.1306)
OKLCHoklch(68.18% 0.15 119.2)
XYZxyz(25.0721, 32.8656, 6.5359)
Luminance0.3286 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA522 #3822A5
analogous
#A57A22 #8FA522 #4EA522
triadic
#8FA522 #228FA5 #A5228F
tetradic
#8FA522 #22A57A #3822A5 #A5224E
square
#8FA522 #22A57A #3822A5 #A5224E
split-complementary
#8FA522 #224EA5 #7A22A5
monochromatic
#37400D #637218 #8FA522 #B9D430 #CADF63

Accessibility & contrast

On white

2.77
#8FA522 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#8FA522 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA522
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA522#FFFFFF#000000##000000
##8FA5221.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B00
Deuteranopia (green-blind)
#AE9C2F
Tritanopia (blue-blind)
#989C8D
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #8fa522;
/* rgb */ color: rgb(143, 165, 34);
/* oklch */ color: oklch(68.2% 0.150 119.2);
Tailwind
colors: {
  custom: {
    50: '#b3bf69',
    500: '#8fa522',
    950: '#000000',
  },
}
SCSS
$custom: #8fa522;
$custom-light: #b3bf69;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa522",
  "rgb": {
    "r": 143,
    "g": 165,
    "b": 34
  },
  "hsl": {
    "h": 70.076,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.68179,
    "c": 0.14964,
    "h": 119.2
  },
  "luminance": 0.32865
}

Semantic roles & 50–950 ramp

primary
#8FA522
secondary
#705FC4
accent
#3FE95C
background
#FBFBF6
surface
#F6F7EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #8FA522

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

Preview Lab → · Contrast checker → · Palette generator →

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