#5FA61F#5FA61F

#5FA61F is a light, vivid yellow-green. Relative luminance 0.298; OKLCH L 65.3% C 0.176 H 134.2°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#5FA61F
RGBrgb(95, 166, 31)
HSLhsl(92, 69%, 39%)
HSVhsv(92, 81%, 65%)
CMYKcmyk(42.8%, 0%, 81.3%, 34.9%)
CIE-LABlab(61.48, -43.68, 57.20)
CIE-LCHlch(61.48, 71.97, 127.37°)
OKLaboklab(65.34% -0.1227 0.1261)
OKLCHoklch(65.34% 0.176 134.2)
XYZxyz(18.6025, 29.8032, 6.0685)
Luminance0.2980 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA61F #661FA6
analogous
#A2A61F #5FA61F #1FA623
triadic
#5FA61F #1F5FA6 #A61F5F
tetradic
#5FA61F #1FA2A6 #661FA6 #A6231F
square
#5FA61F #1FA2A6 #661FA6 #A6231F
split-complementary
#5FA61F #231FA6 #A61FA2
monochromatic
#243F0C #417215 #5FA61F #7DD72B #9CE15E

Accessibility & contrast

On white

3.02
#5FA61F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#5FA61F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5FA61F
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA61F#FFFFFF#000000##000000
##5FA61F1.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9800
Deuteranopia (green-blind)
#A3922F
Tritanopia (blue-blind)
#5E9F8D
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #5fa61f;
/* rgb */ color: rgb(95, 166, 31);
/* oklch */ color: oklch(65.3% 0.176 134.2);
Tailwind
colors: {
  custom: {
    50: '#93c167',
    500: '#5fa61f',
    950: '#000000',
  },
}
SCSS
$custom: #5fa61f;
$custom-light: #93c167;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa61f",
  "rgb": {
    "r": 95,
    "g": 166,
    "b": 31
  },
  "hsl": {
    "h": 91.556,
    "s": 68.528,
    "l": 38.627
  },
  "oklch": {
    "l": 0.6534,
    "c": 0.17597,
    "h": 134.2
  },
  "luminance": 0.29804
}

Semantic roles & 50–950 ramp

primary
#5FA61F
secondary
#935BC5
accent
#3CEB98
background
#F9FBF6
surface
#F2F7EB
border
#CCD0C6
text
#0E1207
muted
#7E817A

Preview Lab

Preview with #5FA61F

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

Preview Lab → · Contrast checker → · Palette generator →

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