#8FA12F#8FA12F

#8FA12F is a light, vivid yellow. Relative luminance 0.315; OKLCH L 67.3% C 0.137 H 118.1°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#8FA12F
RGBrgb(143, 161, 47)
HSLhsl(69, 55%, 41%)
HSVhsv(69, 71%, 63%)
CMYKcmyk(11.2%, 0%, 70.8%, 36.9%)
CIE-LABlab(62.96, -21.75, 54.22)
CIE-LCHlch(62.96, 58.42, 111.86°)
OKLaboklab(67.32% -0.0647 0.1213)
OKLCHoklch(67.32% 0.137 118.1)
XYZxyz(24.5862, 31.5348, 7.4804)
Luminance0.3154 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA12F #412FA1
analogous
#A17A2F #8FA12F #56A12F
triadic
#8FA12F #2F8FA1 #A12F8F
tetradic
#8FA12F #2FA17A #412FA1 #A12F56
square
#8FA12F #2FA17A #412FA1 #A12F56
split-complementary
#8FA12F #2F56A1 #7A2FA1
monochromatic
#3B4213 #657221 #8FA12F #B4C945 #C7D674

Accessibility & contrast

On white

2.87
#8FA12F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#8FA12F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA12F
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA12F#FFFFFF#000000##000000
##8FA12F1.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC981C
Deuteranopia (green-blind)
#AA9938
Tritanopia (blue-blind)
#98988B
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8fa12f;
/* rgb */ color: rgb(143, 161, 47);
/* oklch */ color: oklch(67.3% 0.137 118.1);
Tailwind
colors: {
  custom: {
    50: '#b3bc6f',
    500: '#8fa12f',
    950: '#000000',
  },
}
SCSS
$custom: #8fa12f;
$custom-light: #b3bc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa12f",
  "rgb": {
    "r": 143,
    "g": 161,
    "b": 47
  },
  "hsl": {
    "h": 69.474,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.67321,
    "c": 0.13741,
    "h": 118.1
  },
  "luminance": 0.31535
}

Semantic roles & 50–950 ramp

primary
#8FA12F
secondary
#7A6EBE
accent
#4ADE61
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111208
muted
#80817B

Preview Lab

Preview with #8FA12F

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

Preview Lab → · Contrast checker → · Palette generator →

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