#8FA12B#8FA12B

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

Color values

HEX#8FA12B
RGBrgb(143, 161, 43)
HSLhsl(69, 58%, 40%)
HSVhsv(69, 73%, 63%)
CMYKcmyk(11.2%, 0%, 73.3%, 36.9%)
CIE-LABlab(62.93, -21.97, 55.68)
CIE-LCHlch(62.93, 59.86, 111.53°)
OKLaboklab(67.29% -0.0656 0.1237)
OKLCHoklch(67.29% 0.14 118)
XYZxyz(24.5092, 31.5040, 7.0748)
Luminance0.3150 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA12B #3D2BA1
analogous
#A1782B #8FA12B #54A12B
triadic
#8FA12B #2B8FA1 #A12B8F
tetradic
#8FA12B #2BA178 #3D2BA1 #A12B54
square
#8FA12B #2BA178 #3D2BA1 #A12B54
split-complementary
#8FA12B #2B54A1 #782BA1
monochromatic
#394011 #64711E #8FA12B #B6CB3E #C8D86E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8FA12B#FFFFFF#000000##000000
##8FA12B1.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)
#AC9814
Deuteranopia (green-blind)
#AA9935
Tritanopia (blue-blind)
#98988A
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8fa12b;
/* rgb */ color: rgb(143, 161, 43);
/* oklch */ color: oklch(67.3% 0.140 118.0);
Tailwind
colors: {
  custom: {
    50: '#b3bc6d',
    500: '#8fa12b',
    950: '#000000',
  },
}
SCSS
$custom: #8fa12b;
$custom-light: #b3bc6d;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa12b",
  "rgb": {
    "r": 143,
    "g": 161,
    "b": 43
  },
  "hsl": {
    "h": 69.153,
    "s": 57.843,
    "l": 40
  },
  "oklch": {
    "l": 0.67292,
    "c": 0.13999,
    "h": 118
  },
  "luminance": 0.31504
}

Semantic roles & 50–950 ramp

primary
#8FA12B
secondary
#7669BF
accent
#47E15E
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8FA12B

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

Preview Lab → · Contrast checker → · Palette generator →

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