#5FAB1F#5FAB1F

#5FAB1F is a light, vivid yellow-green. Relative luminance 0.317; OKLCH L 66.6% C 0.182 H 134.8°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#5FAB1F
RGBrgb(95, 171, 31)
HSLhsl(93, 69%, 40%)
HSVhsv(93, 82%, 67%)
CMYKcmyk(44.4%, 0%, 81.9%, 32.9%)
CIE-LABlab(63.06, -45.72, 58.64)
CIE-LCHlch(63.06, 74.36, 127.95°)
OKLaboklab(66.63% -0.1282 0.1291)
OKLCHoklch(66.63% 0.182 134.8)
XYZxyz(19.5291, 31.6565, 6.3773)
Luminance0.3166 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FAB1F #6B1FAB
analogous
#A5AB1F #5FAB1F #1FAB25
triadic
#5FAB1F #1F5FAB #AB1F5F
tetradic
#5FAB1F #1FA5AB #6B1FAB #AB251F
square
#5FAB1F #1FA5AB #6B1FAB #AB251F
split-complementary
#5FAB1F #251FAB #AB1FA5
monochromatic
#25430C #427716 #5FAB1F #7CD92E #9DE362

Accessibility & contrast

On white

2.86
#5FAB1F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#5FAB1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FAB1F
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FAB1F#FFFFFF#000000##000000
##5FAB1F1.002.867.337.33
#FFFFFF2.861.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29C00
Deuteranopia (green-blind)
#A89630
Tritanopia (blue-blind)
#5DA492
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #5fab1f;
/* rgb */ color: rgb(95, 171, 31);
/* oklch */ color: oklch(66.6% 0.182 134.8);
Tailwind
colors: {
  custom: {
    50: '#93c468',
    500: '#5fab1f',
    950: '#000000',
  },
}
SCSS
$custom: #5fab1f;
$custom-light: #93c468;
$custom-dark: #000000;
JSON
{
  "hex": "#5fab1f",
  "rgb": {
    "r": 95,
    "g": 171,
    "b": 31
  },
  "hsl": {
    "h": 92.571,
    "s": 69.307,
    "l": 39.608
  },
  "oklch": {
    "l": 0.66631,
    "c": 0.18196,
    "h": 134.8
  },
  "luminance": 0.31658
}

Semantic roles & 50–950 ramp

primary
#5FAB1F
secondary
#975EC7
accent
#3CEC9B
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5FAB1F

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

Preview Lab → · Contrast checker → · Palette generator →

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