#5FA127#5FA127

#5FA127 is a light, vivid yellow-green. Relative luminance 0.281; OKLCH L 64.1% C 0.166 H 134.1°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#5FA127
RGBrgb(95, 161, 39)
HSLhsl(92, 61%, 39%)
HSVhsv(92, 76%, 63%)
CMYKcmyk(41%, 0%, 75.8%, 36.9%)
CIE-LABlab(59.95, -41.15, 53.20)
CIE-LCHlch(59.95, 67.25, 127.72°)
OKLaboklab(64.1% -0.1154 0.1189)
OKLCHoklch(64.1% 0.166 134.1)
XYZxyz(17.8301, 28.0682, 6.3973)
Luminance0.2807 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA127 #6927A1
analogous
#9CA127 #5FA127 #27A12C
triadic
#5FA127 #275FA1 #A1275F
tetradic
#5FA127 #279CA1 #6927A1 #A12C27
square
#5FA127 #279CA1 #6927A1 #A12C27
split-complementary
#5FA127 #2C27A1 #A1279C
monochromatic
#253E0F #42701B #5FA127 #7CCE37 #9DDA68

Accessibility & contrast

On white

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

On black

6.61
#5FA127 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5FA127
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA127#FFFFFF#000000##000000
##5FA1271.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7940C
Deuteranopia (green-blind)
#9E8F33
Tritanopia (blue-blind)
#5E9B8A
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5fa127;
/* rgb */ color: rgb(95, 161, 39);
/* oklch */ color: oklch(64.1% 0.166 134.1);
Tailwind
colors: {
  custom: {
    50: '#92bd6a',
    500: '#5fa127',
    950: '#000000',
  },
}
SCSS
$custom: #5fa127;
$custom-light: #92bd6a;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa127",
  "rgb": {
    "r": 95,
    "g": 161,
    "b": 39
  },
  "hsl": {
    "h": 92.459,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.64097,
    "c": 0.1657,
    "h": 134.1
  },
  "luminance": 0.28069
}

Semantic roles & 50–950 ramp

primary
#5FA127
secondary
#9663C0
accent
#44E49A
background
#F9FBF6
surface
#F2F6EC
border
#CCD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5FA127

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

Preview Lab → · Contrast checker → · Palette generator →

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