#5FA81F#5FA81F

#5FA81F is a light, vivid yellow-green. Relative luminance 0.305; OKLCH L 65.9% C 0.178 H 134.5°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#5FA81F
RGBrgb(95, 168, 31)
HSLhsl(92, 69%, 39%)
HSVhsv(92, 82%, 66%)
CMYKcmyk(43.5%, 0%, 81.5%, 34.1%)
CIE-LABlab(62.11, -44.50, 57.77)
CIE-LCHlch(62.11, 72.93, 127.61°)
OKLaboklab(65.86% -0.1249 0.1273)
OKLCHoklch(65.86% 0.178 134.5)
XYZxyz(18.9689, 30.5360, 6.1906)
Luminance0.3054 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA81F #681FA8
analogous
#A4A81F #5FA81F #1FA824
triadic
#5FA81F #1F5FA8 #A81F5F
tetradic
#5FA81F #1FA4A8 #681FA8 #A8241F
square
#5FA81F #1FA4A8 #681FA8 #A8241F
split-complementary
#5FA81F #241FA8 #A81FA4
monochromatic
#25410C #427415 #5FA81F #7CD82C #9CE260

Accessibility & contrast

On white

2.95
#5FA81F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#5FA81F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FA81F
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA81F#FFFFFF#000000##000000
##5FA81F1.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A00
Deuteranopia (green-blind)
#A5942F
Tritanopia (blue-blind)
#5EA18F
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5fa81f;
/* rgb */ color: rgb(95, 168, 31);
/* oklch */ color: oklch(65.9% 0.178 134.5);
Tailwind
colors: {
  custom: {
    50: '#93c268',
    500: '#5fa81f',
    950: '#000000',
  },
}
SCSS
$custom: #5fa81f;
$custom-light: #93c268;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa81f",
  "rgb": {
    "r": 95,
    "g": 168,
    "b": 31
  },
  "hsl": {
    "h": 91.971,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.65857,
    "c": 0.17837,
    "h": 134.5
  },
  "luminance": 0.30537
}

Semantic roles & 50–950 ramp

primary
#5FA81F
secondary
#955DC6
accent
#3CEC9A
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0E1207
muted
#7E817A

Preview Lab

Preview with #5FA81F

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

Preview Lab → · Contrast checker → · Palette generator →

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