#8FA127#8FA127

#8FA127 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#8FA127
RGBrgb(143, 161, 39)
HSLhsl(69, 61%, 39%)
HSVhsv(69, 76%, 63%)
CMYKcmyk(11.2%, 0%, 75.8%, 36.9%)
CIE-LABlab(62.91, -22.17, 57.06)
CIE-LCHlch(62.91, 61.22, 111.24°)
OKLaboklab(67.27% -0.0665 0.1259)
OKLCHoklch(67.27% 0.142 117.9)
XYZxyz(24.4393, 31.4761, 6.7071)
Luminance0.3148 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA127 #3927A1
analogous
#A17627 #8FA127 #52A127
triadic
#8FA127 #278FA1 #A1278F
tetradic
#8FA127 #27A176 #3927A1 #A12752
square
#8FA127 #27A176 #3927A1 #A12752
split-complementary
#8FA127 #2752A1 #7627A1
monochromatic
#373E0F #63701B #8FA127 #B8CE37 #CADA68

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8FA127#FFFFFF#000000##000000
##8FA1271.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)
#AC980A
Deuteranopia (green-blind)
#AA9932
Tritanopia (blue-blind)
#98988A
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8fa127;
/* rgb */ color: rgb(143, 161, 39);
/* oklch */ color: oklch(67.3% 0.142 117.9);
Tailwind
colors: {
  custom: {
    50: '#b3bc6b',
    500: '#8fa127',
    950: '#000000',
  },
}
SCSS
$custom: #8fa127;
$custom-light: #b3bc6b;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa127",
  "rgb": {
    "r": 143,
    "g": 161,
    "b": 39
  },
  "hsl": {
    "h": 68.852,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.67266,
    "c": 0.14237,
    "h": 117.9
  },
  "luminance": 0.31476
}

Semantic roles & 50–950 ramp

primary
#8FA127
secondary
#7163C0
accent
#44E45B
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8FA127

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

Preview Lab → · Contrast checker → · Palette generator →

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