#8FA231#8FA231

#8FA231 is a light, vivid yellow-green. Relative luminance 0.319; OKLCH L 67.6% C 0.137 H 118.5°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#8FA231
RGBrgb(143, 162, 49)
HSLhsl(70, 54%, 41%)
HSVhsv(70, 70%, 64%)
CMYKcmyk(11.7%, 0%, 69.8%, 36.5%)
CIE-LABlab(63.26, -22.13, 53.75)
CIE-LCHlch(63.26, 58.13, 112.38°)
OKLaboklab(67.57% -0.0655 0.1206)
OKLCHoklch(67.57% 0.137 118.5)
XYZxyz(24.8029, 31.9023, 7.7563)
Luminance0.3190 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA231 #4431A2
analogous
#A27D31 #8FA231 #57A231
triadic
#8FA231 #318FA2 #A2318F
tetradic
#8FA231 #31A27D #4431A2 #A23157
square
#8FA231 #31A27D #4431A2 #A23157
split-complementary
#8FA231 #3157A2 #7D31A2
monochromatic
#3C4415 #667323 #8FA231 #B2C848 #C6D677

Accessibility & contrast

On white

2.85
#8FA231 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#8FA231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA231
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA231#FFFFFF#000000##000000
##8FA2311.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD991F
Deuteranopia (green-blind)
#AB9A3A
Tritanopia (blue-blind)
#97998C
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #8fa231;
/* rgb */ color: rgb(143, 162, 49);
/* oklch */ color: oklch(67.6% 0.137 118.5);
Tailwind
colors: {
  custom: {
    50: '#b3bd70',
    500: '#8fa231',
    950: '#000000',
  },
}
SCSS
$custom: #8fa231;
$custom-light: #b3bd70;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa231",
  "rgb": {
    "r": 143,
    "g": 162,
    "b": 49
  },
  "hsl": {
    "h": 70.088,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.67571,
    "c": 0.13724,
    "h": 118.5
  },
  "luminance": 0.31902
}

Semantic roles & 50–950 ramp

primary
#8FA231
secondary
#7E71BE
accent
#4BDD63
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111208
muted
#80817B

Preview Lab

Preview with #8FA231

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

Preview Lab → · Contrast checker → · Palette generator →

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