#8FA122#8FA122

#8FA122 is a light, vivid yellow. Relative luminance 0.314; OKLCH L 67.2% C 0.145 H 117.8°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#8FA122
RGBrgb(143, 161, 34)
HSLhsl(69, 65%, 38%)
HSVhsv(69, 79%, 63%)
CMYKcmyk(11.2%, 0%, 78.9%, 36.9%)
CIE-LABlab(62.88, -22.40, 58.65)
CIE-LCHlch(62.88, 62.78, 110.90°)
OKLaboklab(67.24% -0.0676 0.1283)
OKLCHoklch(67.24% 0.145 117.8)
XYZxyz(24.3619, 31.4451, 6.2992)
Luminance0.3145 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA122 #3422A1
analogous
#A17322 #8FA122 #4FA122
triadic
#8FA122 #228FA1 #A1228F
tetradic
#8FA122 #22A173 #3422A1 #A1224F
square
#8FA122 #22A173 #3422A1 #A1224F
split-complementary
#8FA122 #224FA1 #7322A1
monochromatic
#353C0D #626E17 #8FA122 #BBD32D #CCDD60

Accessibility & contrast

On white

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

On black

7.29
#8FA122 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA122
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA122#FFFFFF#000000##000000
##8FA1221.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8fa122;
/* rgb */ color: rgb(143, 161, 34);
/* oklch */ color: oklch(67.2% 0.145 117.8);
Tailwind
colors: {
  custom: {
    50: '#b3bc69',
    500: '#8fa122',
    950: '#000000',
  },
}
SCSS
$custom: #8fa122;
$custom-light: #b3bc69;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa122",
  "rgb": {
    "r": 143,
    "g": 161,
    "b": 34
  },
  "hsl": {
    "h": 68.504,
    "s": 65.128,
    "l": 38.235
  },
  "oklch": {
    "l": 0.67237,
    "c": 0.14505,
    "h": 117.8
  },
  "luminance": 0.31445
}

Semantic roles & 50–950 ramp

primary
#8FA122
secondary
#6B5DC2
accent
#40E858
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #8FA122

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

Preview Lab → · Contrast checker → · Palette generator →

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