#5FA11F#5FA11F

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

Color values

HEX#5FA11F
RGBrgb(95, 161, 31)
HSLhsl(90, 68%, 38%)
HSVhsv(90, 81%, 63%)
CMYKcmyk(41%, 0%, 80.7%, 36.9%)
CIE-LABlab(59.91, -41.60, 55.75)
CIE-LCHlch(59.91, 69.56, 126.73°)
OKLaboklab(64.05% -0.1171 0.123)
OKLCHoklch(64.05% 0.17 133.6)
XYZxyz(17.7112, 28.0207, 5.7714)
Luminance0.2802 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA11F #611FA1
analogous
#A0A11F #5FA11F #1FA120
triadic
#5FA11F #1F5FA1 #A11F5F
tetradic
#5FA11F #1FA0A1 #611FA1 #A1201F
square
#5FA11F #1FA0A1 #611FA1 #A1201F
split-complementary
#5FA11F #201FA1 #A11FA0
monochromatic
#223A0B #416E15 #5FA11F #7DD429 #9CDF5B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5FA11F#FFFFFF#000000##000000
##5FA11F1.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)
#9F8E2E
Tritanopia (blue-blind)
#5F9A89
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5fa11f;
/* rgb */ color: rgb(95, 161, 31);
/* oklch */ color: oklch(64.0% 0.170 133.6);
Tailwind
colors: {
  custom: {
    50: '#92bd67',
    500: '#5fa11f',
    950: '#000000',
  },
}
SCSS
$custom: #5fa11f;
$custom-light: #92bd67;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa11f",
  "rgb": {
    "r": 95,
    "g": 161,
    "b": 31
  },
  "hsl": {
    "h": 90.462,
    "s": 67.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.64048,
    "c": 0.16988,
    "h": 133.6
  },
  "luminance": 0.28022
}

Semantic roles & 50–950 ramp

primary
#5FA11F
secondary
#8F58C4
accent
#3DEB95
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1206
muted
#7E817A

Preview Lab

Preview with #5FA11F

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

Preview Lab → · Contrast checker → · Palette generator →

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