#8FA128#8FA128

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

Color values

HEX#8FA128
RGBrgb(143, 161, 40)
HSLhsl(69, 60%, 39%)
HSVhsv(69, 75%, 63%)
CMYKcmyk(11.2%, 0%, 75.2%, 36.9%)
CIE-LABlab(62.91, -22.12, 56.72)
CIE-LCHlch(62.91, 60.89, 111.31°)
OKLaboklab(67.27% -0.0663 0.1253)
OKLCHoklch(67.27% 0.142 117.9)
XYZxyz(24.4561, 31.4828, 6.7955)
Luminance0.3148 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA128 #3A28A1
analogous
#A17728 #8FA128 #52A128
triadic
#8FA128 #288FA1 #A1288F
tetradic
#8FA128 #28A177 #3A28A1 #A12852
square
#8FA128 #28A177 #3A28A1 #A12852
split-complementary
#8FA128 #2852A1 #7728A1
monochromatic
#383F10 #63701C #8FA128 #B7CE39 #C9DA6A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8FA128#FFFFFF#000000##000000
##8FA1281.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)
#AC980D
Deuteranopia (green-blind)
#AA9933
Tritanopia (blue-blind)
#98988A
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8fa128;
/* rgb */ color: rgb(143, 161, 40);
/* oklch */ color: oklch(67.3% 0.142 117.9);
Tailwind
colors: {
  custom: {
    50: '#b3bc6b',
    500: '#8fa128',
    950: '#000000',
  },
}
SCSS
$custom: #8fa128;
$custom-light: #b3bc6b;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa128",
  "rgb": {
    "r": 143,
    "g": 161,
    "b": 40
  },
  "hsl": {
    "h": 68.926,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.67272,
    "c": 0.1418,
    "h": 117.9
  },
  "luminance": 0.31483
}

Semantic roles & 50–950 ramp

primary
#8FA128
secondary
#7265C0
accent
#44E35C
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8FA128

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

Preview Lab → · Contrast checker → · Palette generator →

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