#5FA12F#5FA12F

#5FA12F is a light, vivid yellow-green. Relative luminance 0.281; OKLCH L 64.2% C 0.161 H 134.8°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#5FA12F
RGBrgb(95, 161, 47)
HSLhsl(95, 55%, 41%)
HSVhsv(95, 71%, 63%)
CMYKcmyk(41%, 0%, 70.8%, 36.9%)
CIE-LABlab(60.00, -40.59, 50.27)
CIE-LCHlch(60.00, 64.62, 128.92°)
OKLaboklab(64.16% -0.1133 0.114)
OKLCHoklch(64.16% 0.161 134.8)
XYZxyz(17.9769, 28.1269, 7.1706)
Luminance0.2813 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA12F #712FA1
analogous
#98A12F #5FA12F #2FA138
triadic
#5FA12F #2F5FA1 #A12F5F
tetradic
#5FA12F #2F98A1 #712FA1 #A1382F
square
#5FA12F #2F98A1 #712FA1 #A1382F
split-complementary
#5FA12F #382FA1 #A12F98
monochromatic
#274213 #437221 #5FA12F #7CC945 #9DD674

Accessibility & contrast

On white

3.17
#5FA12F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#5FA12F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5FA12F
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA12F#FFFFFF#000000##000000
##5FA12F1.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7941D
Deuteranopia (green-blind)
#9E8F39
Tritanopia (blue-blind)
#5E9B8A
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5fa12f;
/* rgb */ color: rgb(95, 161, 47);
/* oklch */ color: oklch(64.2% 0.161 134.8);
Tailwind
colors: {
  custom: {
    50: '#92bd6e',
    500: '#5fa12f',
    950: '#000000',
  },
}
SCSS
$custom: #5fa12f;
$custom-light: #92bd6e;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa12f",
  "rgb": {
    "r": 95,
    "g": 161,
    "b": 47
  },
  "hsl": {
    "h": 94.737,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.64157,
    "c": 0.1607,
    "h": 134.8
  },
  "luminance": 0.28128
}

Semantic roles & 50–950 ramp

primary
#5FA12F
secondary
#9C6EBE
accent
#4ADEA0
background
#F9FBF6
surface
#F2F6EC
border
#CCD0C7
text
#0D1208
muted
#7E817B

Preview Lab

Preview with #5FA12F

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

Preview Lab → · Contrast checker → · Palette generator →

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