#8FA12C#8FA12C

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

Color values

HEX#8FA12C
RGBrgb(143, 161, 44)
HSLhsl(69, 57%, 40%)
HSVhsv(69, 73%, 63%)
CMYKcmyk(11.2%, 0%, 72.7%, 36.9%)
CIE-LABlab(62.94, -21.92, 55.32)
CIE-LCHlch(62.94, 59.51, 111.61°)
OKLaboklab(67.3% -0.0654 0.1231)
OKLCHoklch(67.3% 0.139 118)
XYZxyz(24.5277, 31.5115, 7.1726)
Luminance0.3151 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA12C #3E2CA1
analogous
#A1792C #8FA12C #54A12C
triadic
#8FA12C #2C8FA1 #A12C8F
tetradic
#8FA12C #2CA179 #3E2CA1 #A12C54
square
#8FA12C #2CA179 #3E2CA1 #A12C54
split-complementary
#8FA12C #2C54A1 #792CA1
monochromatic
#3A4112 #64711F #8FA12C #B5CB40 #C8D870

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8FA12C#FFFFFF#000000##000000
##8FA12C1.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)
#AC9816
Deuteranopia (green-blind)
#AA9936
Tritanopia (blue-blind)
#98988A
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8fa12c;
/* rgb */ color: rgb(143, 161, 44);
/* oklch */ color: oklch(67.3% 0.139 118.0);
Tailwind
colors: {
  custom: {
    50: '#b3bc6d',
    500: '#8fa12c',
    950: '#000000',
  },
}
SCSS
$custom: #8fa12c;
$custom-light: #b3bc6d;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa12c",
  "rgb": {
    "r": 143,
    "g": 161,
    "b": 44
  },
  "hsl": {
    "h": 69.231,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.67299,
    "c": 0.13937,
    "h": 118
  },
  "luminance": 0.31511
}

Semantic roles & 50–950 ramp

primary
#8FA12C
secondary
#776ABF
accent
#47E05F
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111208
muted
#80817B

Preview Lab

Preview with #8FA12C

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

Preview Lab → · Contrast checker → · Palette generator →

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