#8FA12E#8FA12E

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

Color values

HEX#8FA12E
RGBrgb(143, 161, 46)
HSLhsl(69, 56%, 41%)
HSVhsv(69, 71%, 63%)
CMYKcmyk(11.2%, 0%, 71.4%, 36.9%)
CIE-LABlab(62.95, -21.81, 54.59)
CIE-LCHlch(62.95, 58.79, 111.77°)
OKLaboklab(67.31% -0.0649 0.1219)
OKLCHoklch(67.31% 0.138 118)
XYZxyz(24.5662, 31.5269, 7.3754)
Luminance0.3153 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA12E #402EA1
analogous
#A1792E #8FA12E #55A12E
triadic
#8FA12E #2E8FA1 #A12E8F
tetradic
#8FA12E #2EA179 #402EA1 #A12E55
square
#8FA12E #2EA179 #402EA1 #A12E55
split-complementary
#8FA12E #2E55A1 #792EA1
monochromatic
#3A4213 #657120 #8FA12E #B4C943 #C7D773

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8FA12E#FFFFFF#000000##000000
##8FA12E1.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)
#AC981A
Deuteranopia (green-blind)
#AA9937
Tritanopia (blue-blind)
#98988A
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8fa12e;
/* rgb */ color: rgb(143, 161, 46);
/* oklch */ color: oklch(67.3% 0.138 118.0);
Tailwind
colors: {
  custom: {
    50: '#b3bc6e',
    500: '#8fa12e',
    950: '#000000',
  },
}
SCSS
$custom: #8fa12e;
$custom-light: #b3bc6e;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa12e",
  "rgb": {
    "r": 143,
    "g": 161,
    "b": 46
  },
  "hsl": {
    "h": 69.391,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.67313,
    "c": 0.13808,
    "h": 118
  },
  "luminance": 0.31527
}

Semantic roles & 50–950 ramp

primary
#8FA12E
secondary
#796CBE
accent
#49DF60
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111208
muted
#80817B

Preview Lab

Preview with #8FA12E

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

Preview Lab → · Contrast checker → · Palette generator →

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