#5FA118#5FA118

#5FA118 is a light, vivid yellow-green. Relative luminance 0.280; OKLCH L 64.0% C 0.173 H 133.2°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#5FA118
RGBrgb(95, 161, 24)
HSLhsl(89, 74%, 36%)
HSVhsv(89, 85%, 63%)
CMYKcmyk(41%, 0%, 85.1%, 36.9%)
CIE-LABlab(59.88, -41.91, 57.63)
CIE-LCHlch(59.88, 71.26, 126.03°)
OKLaboklab(64.01% -0.1184 0.126)
OKLCHoklch(64.01% 0.173 133.2)
XYZxyz(17.6288, 27.9877, 5.3373)
Luminance0.2799 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA118 #5A18A1
analogous
#A19F18 #5FA118 #1BA118
triadic
#5FA118 #185FA1 #A1185F
tetradic
#5FA118 #18A19F #5A18A1 #A1181B
square
#5FA118 #18A19F #5A18A1 #A1181B
split-complementary
#5FA118 #181BA1 #9F18A1
monochromatic
#203608 #406C10 #5FA118 #7ED620 #9CE54F

Accessibility & contrast

On white

3.18
#5FA118 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#5FA118 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5FA118
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA118#FFFFFF#000000##000000
##5FA1181.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89400
Deuteranopia (green-blind)
#9F8E2A
Tritanopia (blue-blind)
#5F9A89
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5fa118;
/* rgb */ color: rgb(95, 161, 24);
/* oklch */ color: oklch(64.0% 0.173 133.2);
Tailwind
colors: {
  custom: {
    50: '#93bd64',
    500: '#5fa118',
    950: '#000000',
  },
}
SCSS
$custom: #5fa118;
$custom-light: #93bd64;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa118",
  "rgb": {
    "r": 95,
    "g": 161,
    "b": 24
  },
  "hsl": {
    "h": 88.905,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.64014,
    "c": 0.17285,
    "h": 133.2
  },
  "luminance": 0.27989
}

Semantic roles & 50–950 ramp

primary
#5FA118
secondary
#884EC7
accent
#37F191
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1206
muted
#7E817A

Preview Lab

Preview with #5FA118

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

Preview Lab → · Contrast checker → · Palette generator →

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