#8FA120#8FA120

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

Color values

HEX#8FA120
RGBrgb(143, 161, 32)
HSLhsl(68, 67%, 38%)
HSVhsv(68, 80%, 63%)
CMYKcmyk(11.2%, 0%, 80.1%, 36.9%)
CIE-LABlab(62.87, -22.48, 59.24)
CIE-LCHlch(62.87, 63.36, 110.78°)
OKLaboklab(67.23% -0.068 0.1293)
OKLCHoklch(67.23% 0.146 117.7)
XYZxyz(24.3339, 31.4339, 6.1517)
Luminance0.3143 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA120 #3220A1
analogous
#A17220 #8FA120 #4FA120
triadic
#8FA120 #208FA1 #A1208F
tetradic
#8FA120 #20A172 #3220A1 #A1204F
square
#8FA120 #20A172 #3220A1 #A1204F
split-complementary
#8FA120 #204FA1 #7220A1
monochromatic
#343B0C #626E16 #8FA120 #BCD42A #CDDF5D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8FA120#FFFFFF#000000##000000
##8FA1201.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)
#AA992D
Tritanopia (blue-blind)
#989889
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8fa120;
/* rgb */ color: rgb(143, 161, 32);
/* oklch */ color: oklch(67.2% 0.146 117.7);
Tailwind
colors: {
  custom: {
    50: '#b3bc68',
    500: '#8fa120',
    950: '#000000',
  },
}
SCSS
$custom: #8fa120;
$custom-light: #b3bc68;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa120",
  "rgb": {
    "r": 143,
    "g": 161,
    "b": 32
  },
  "hsl": {
    "h": 68.372,
    "s": 66.839,
    "l": 37.843
  },
  "oklch": {
    "l": 0.67226,
    "c": 0.14603,
    "h": 117.7
  },
  "luminance": 0.31434
}

Semantic roles & 50–950 ramp

primary
#8FA120
secondary
#685AC3
accent
#3EEA56
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #8FA120

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

Preview Lab → · Contrast checker → · Palette generator →

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