#5FA81E#5FA81E

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

Color values

HEX#5FA81E
RGBrgb(95, 168, 30)
HSLhsl(92, 70%, 39%)
HSVhsv(92, 82%, 66%)
CMYKcmyk(43.5%, 0%, 82.1%, 34.1%)
CIE-LABlab(62.11, -44.55, 58.05)
CIE-LCHlch(62.11, 73.18, 127.50°)
OKLaboklab(65.85% -0.1251 0.1277)
OKLCHoklch(65.85% 0.179 134.4)
XYZxyz(18.9559, 30.5308, 6.1223)
Luminance0.3053 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA81E #671EA8
analogous
#A4A81E #5FA81E #1EA822
triadic
#5FA81E #1E5FA8 #A81E5F
tetradic
#5FA81E #1EA4A8 #671EA8 #A8221E
square
#5FA81E #1EA4A8 #671EA8 #A8221E
split-complementary
#5FA81E #221EA8 #A81EA4
monochromatic
#24400B #427415 #5FA81E #7DD92A #9CE25E

Accessibility & contrast

On white

2.96
#5FA81E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5FA81E#FFFFFF#000000##000000
##5FA81E1.002.967.117.11
#FFFFFF2.961.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: #5fa81e;
/* rgb */ color: rgb(95, 168, 30);
/* oklch */ color: oklch(65.9% 0.179 134.4);
Tailwind
colors: {
  custom: {
    50: '#93c267',
    500: '#5fa81e',
    950: '#000000',
  },
}
SCSS
$custom: #5fa81e;
$custom-light: #93c267;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa81e",
  "rgb": {
    "r": 95,
    "g": 168,
    "b": 30
  },
  "hsl": {
    "h": 91.739,
    "s": 69.697,
    "l": 38.824
  },
  "oklch": {
    "l": 0.65852,
    "c": 0.17881,
    "h": 134.4
  },
  "luminance": 0.30532
}

Semantic roles & 50–950 ramp

primary
#5FA81E
secondary
#945BC7
accent
#3BED99
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0E1207
muted
#7E817A

Preview Lab

Preview with #5FA81E

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

Preview Lab → · Contrast checker → · Palette generator →

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