#8FA526#8FA526

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

Color values

HEX#8FA526
RGBrgb(143, 165, 38)
HSLhsl(70, 63%, 40%)
HSVhsv(70, 77%, 65%)
CMYKcmyk(13.3%, 0%, 77%, 35.3%)
CIE-LABlab(64.07, -24.21, 58.48)
CIE-LCHlch(64.07, 63.29, 112.49°)
OKLaboklab(68.2% -0.0722 0.1287)
OKLCHoklch(68.2% 0.148 119.3)
XYZxyz(25.1332, 32.8900, 6.8577)
Luminance0.3289 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA526 #3C26A5
analogous
#A57C26 #8FA526 #4FA526
triadic
#8FA526 #268FA5 #A5268F
tetradic
#8FA526 #26A57C #3C26A5 #A5264F
square
#8FA526 #26A57C #3C26A5 #A5264F
split-complementary
#8FA526 #264FA5 #7C26A5
monochromatic
#39420F #64731B #8FA526 #B6D137 #C8DC69

Accessibility & contrast

On white

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

On black

7.58
#8FA526 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA526
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA526#FFFFFF#000000##000000
##8FA5261.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8fa526;
/* rgb */ color: rgb(143, 165, 38);
/* oklch */ color: oklch(68.2% 0.148 119.3);
Tailwind
colors: {
  custom: {
    50: '#b3bf6b',
    500: '#8fa526',
    950: '#000000',
  },
}
SCSS
$custom: #8fa526;
$custom-light: #b3bf6b;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa526",
  "rgb": {
    "r": 143,
    "g": 165,
    "b": 38
  },
  "hsl": {
    "h": 70.394,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.68201,
    "c": 0.14758,
    "h": 119.3
  },
  "luminance": 0.3289
}

Semantic roles & 50–950 ramp

primary
#8FA526
secondary
#7564C3
accent
#42E65E
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8FA526

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

Preview Lab → · Contrast checker → · Palette generator →

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