#8FA118#8FA118

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

Color values

HEX#8FA118
RGBrgb(143, 161, 24)
HSLhsl(68, 74%, 36%)
HSVhsv(68, 85%, 63%)
CMYKcmyk(11.2%, 0%, 85.1%, 36.9%)
CIE-LABlab(62.84, -22.76, 61.35)
CIE-LCHlch(62.84, 65.43, 110.35°)
OKLaboklab(67.19% -0.0693 0.1324)
OKLCHoklch(67.19% 0.149 117.6)
XYZxyz(24.2381, 31.3956, 5.6471)
Luminance0.3140 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA118 #2A18A1
analogous
#A16F18 #8FA118 #4BA118
triadic
#8FA118 #188FA1 #A1188F
tetradic
#8FA118 #18A16F #2A18A1 #A1184B
square
#8FA118 #18A16F #2A18A1 #A1184B
split-complementary
#8FA118 #184BA1 #6F18A1
monochromatic
#303608 #606C10 #8FA118 #BED620 #D1E54F

Accessibility & contrast

On white

2.89
#8FA118 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#8FA118 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA118
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA118#FFFFFF#000000##000000
##8FA1181.002.897.287.28
#FFFFFF2.891.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9800
Deuteranopia (green-blind)
#AB9928
Tritanopia (blue-blind)
#989789
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8fa118;
/* rgb */ color: rgb(143, 161, 24);
/* oklch */ color: oklch(67.2% 0.149 117.6);
Tailwind
colors: {
  custom: {
    50: '#b4bc65',
    500: '#8fa118',
    950: '#000000',
  },
}
SCSS
$custom: #8fa118;
$custom-light: #b4bc65;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa118",
  "rgb": {
    "r": 143,
    "g": 161,
    "b": 24
  },
  "hsl": {
    "h": 67.883,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.6719,
    "c": 0.14942,
    "h": 117.6
  },
  "luminance": 0.31395
}

Semantic roles & 50–950 ramp

primary
#8FA118
secondary
#5E4EC7
accent
#37F14F
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#121206
muted
#81817A

Preview Lab

Preview with #8FA118

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

Preview Lab → · Contrast checker → · Palette generator →

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