#8FA525#8FA525

#8FA525 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#8FA525
RGBrgb(143, 165, 37)
HSLhsl(70, 63%, 40%)
HSVhsv(70, 78%, 65%)
CMYKcmyk(13.3%, 0%, 77.6%, 35.3%)
CIE-LABlab(64.07, -24.25, 58.80)
CIE-LCHlch(64.07, 63.60, 112.42°)
OKLaboklab(68.19% -0.0725 0.1292)
OKLCHoklch(68.19% 0.148 119.3)
XYZxyz(25.1173, 32.8836, 6.7739)
Luminance0.3288 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA525 #3B25A5
analogous
#A57B25 #8FA525 #4FA525
triadic
#8FA525 #258FA5 #A5258F
tetradic
#8FA525 #25A57B #3B25A5 #A5254F
square
#8FA525 #25A57B #3B25A5 #A5254F
split-complementary
#8FA525 #254FA5 #7B25A5
monochromatic
#38410F #64731A #8FA525 #B7D235 #C9DD67

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8FA525#FFFFFF#000000##000000
##8FA5251.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)
#B09B01
Deuteranopia (green-blind)
#AD9C31
Tritanopia (blue-blind)
#989C8D
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #8fa525;
/* rgb */ color: rgb(143, 165, 37);
/* oklch */ color: oklch(68.2% 0.148 119.3);
Tailwind
colors: {
  custom: {
    50: '#b3bf6b',
    500: '#8fa525',
    950: '#000000',
  },
}
SCSS
$custom: #8fa525;
$custom-light: #b3bf6b;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa525",
  "rgb": {
    "r": 143,
    "g": 165,
    "b": 37
  },
  "hsl": {
    "h": 70.313,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.68195,
    "c": 0.14811,
    "h": 119.3
  },
  "luminance": 0.32883
}

Semantic roles & 50–950 ramp

primary
#8FA525
secondary
#7363C3
accent
#41E65E
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8FA525

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

Preview Lab → · Contrast checker → · Palette generator →

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