#8FA61B#8FA61B

#8FA61B is a light, vivid yellow. Relative luminance 0.332; OKLCH L 68.4% C 0.154 H 119.4°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#8FA61B
RGBrgb(143, 166, 27)
HSLhsl(70, 72%, 38%)
HSVhsv(70, 84%, 65%)
CMYKcmyk(13.9%, 0%, 83.7%, 34.9%)
CIE-LABlab(64.32, -25.14, 61.87)
CIE-LCHlch(64.32, 66.78, 112.11°)
OKLaboklab(68.38% -0.0756 0.134)
OKLCHoklch(68.38% 0.154 119.4)
XYZxyz(25.1623, 33.1914, 6.1177)
Luminance0.3319 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA61B #321BA6
analogous
#A6771B #8FA61B #49A61B
triadic
#8FA61B #1B8FA6 #A61B8F
tetradic
#8FA61B #1BA677 #321BA6 #A61B49
square
#8FA61B #1BA677 #321BA6 #A61B49
split-complementary
#8FA61B #1B49A6 #771BA6
monochromatic
#343D0A #627112 #8FA61B #BCDB24 #CDE458

Accessibility & contrast

On white

2.75
#8FA61B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#8FA61B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA61B
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA61B#FFFFFF#000000##000000
##8FA61B1.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#AF9C2B
Tritanopia (blue-blind)
#989D8D
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #8fa61b;
/* rgb */ color: rgb(143, 166, 27);
/* oklch */ color: oklch(68.4% 0.154 119.4);
Tailwind
colors: {
  custom: {
    50: '#b4c067',
    500: '#8fa61b',
    950: '#000000',
  },
}
SCSS
$custom: #8fa61b;
$custom-light: #b4c067;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa61b",
  "rgb": {
    "r": 143,
    "g": 166,
    "b": 27
  },
  "hsl": {
    "h": 69.928,
    "s": 72.021,
    "l": 37.843
  },
  "oklch": {
    "l": 0.68382,
    "c": 0.15387,
    "h": 119.4
  },
  "luminance": 0.33191
}

Semantic roles & 50–950 ramp

primary
#8FA61B
secondary
#6856C7
accent
#39EF57
background
#FBFBF6
surface
#F6F7EB
border
#D0D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #8FA61B

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

Preview Lab → · Contrast checker → · Palette generator →

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