#8FA121#8FA121

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

Color values

HEX#8FA121
RGBrgb(143, 161, 33)
HSLhsl(68, 66%, 38%)
HSVhsv(68, 80%, 63%)
CMYKcmyk(11.2%, 0%, 79.5%, 36.9%)
CIE-LABlab(62.88, -22.44, 58.95)
CIE-LCHlch(62.88, 63.08, 110.84°)
OKLaboklab(67.23% -0.0678 0.1288)
OKLCHoklch(67.23% 0.146 117.8)
XYZxyz(24.3477, 31.4394, 6.2243)
Luminance0.3144 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA121 #3321A1
analogous
#A17321 #8FA121 #4FA121
triadic
#8FA121 #218FA1 #A1218F
tetradic
#8FA121 #21A173 #3321A1 #A1214F
square
#8FA121 #21A173 #3321A1 #A1214F
split-complementary
#8FA121 #214FA1 #7321A1
monochromatic
#353B0C #626E17 #8FA121 #BCD42C #CCDE5E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8FA121#FFFFFF#000000##000000
##8FA1211.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: #8fa121;
/* rgb */ color: rgb(143, 161, 33);
/* oklch */ color: oklch(67.2% 0.146 117.8);
Tailwind
colors: {
  custom: {
    50: '#b3bc68',
    500: '#8fa121',
    950: '#000000',
  },
}
SCSS
$custom: #8fa121;
$custom-light: #b3bc68;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa121",
  "rgb": {
    "r": 143,
    "g": 161,
    "b": 33
  },
  "hsl": {
    "h": 68.438,
    "s": 65.979,
    "l": 38.039
  },
  "oklch": {
    "l": 0.67231,
    "c": 0.14554,
    "h": 117.8
  },
  "luminance": 0.31439
}

Semantic roles & 50–950 ramp

primary
#8FA121
secondary
#6A5BC3
accent
#3FE957
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #8FA121

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

Preview Lab → · Contrast checker → · Palette generator →

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