#8FA12A#8FA12A

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

Color values

HEX#8FA12A
RGBrgb(143, 161, 42)
HSLhsl(69, 59%, 40%)
HSVhsv(69, 74%, 63%)
CMYKcmyk(11.2%, 0%, 73.9%, 36.9%)
CIE-LABlab(62.92, -22.02, 56.04)
CIE-LCHlch(62.92, 60.21, 111.46°)
OKLaboklab(67.29% -0.0659 0.1242)
OKLCHoklch(67.29% 0.141 117.9)
XYZxyz(24.4910, 31.4968, 6.9793)
Luminance0.3150 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA12A #3C2AA1
analogous
#A1782A #8FA12A #53A12A
triadic
#8FA12A #2A8FA1 #A12A8F
tetradic
#8FA12A #2AA178 #3C2AA1 #A12A53
square
#8FA12A #2AA178 #3C2AA1 #A12A53
split-complementary
#8FA12A #2A53A1 #782AA1
monochromatic
#394011 #64701D #8FA12A #B6CC3C #C8D96D

Accessibility & contrast

On white

2.88
#8FA12A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#8FA12A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA12A
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA12A#FFFFFF#000000##000000
##8FA12A1.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9812
Deuteranopia (green-blind)
#AA9934
Tritanopia (blue-blind)
#98988A
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8fa12a;
/* rgb */ color: rgb(143, 161, 42);
/* oklch */ color: oklch(67.3% 0.141 117.9);
Tailwind
colors: {
  custom: {
    50: '#b3bc6c',
    500: '#8fa12a',
    950: '#000000',
  },
}
SCSS
$custom: #8fa12a;
$custom-light: #b3bc6c;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa12a",
  "rgb": {
    "r": 143,
    "g": 161,
    "b": 42
  },
  "hsl": {
    "h": 69.076,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.67285,
    "c": 0.14061,
    "h": 117.9
  },
  "luminance": 0.31497
}

Semantic roles & 50–950 ramp

primary
#8FA12A
secondary
#7567C0
accent
#46E25E
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8FA12A

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

Preview Lab → · Contrast checker → · Palette generator →

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