#5FAB2F#5FAB2F

#5FAB2F is a light, vivid yellow-green. Relative luminance 0.318; OKLCH L 66.7% C 0.173 H 135.9°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#5FAB2F
RGBrgb(95, 171, 47)
HSLhsl(97, 57%, 43%)
HSVhsv(97, 73%, 67%)
CMYKcmyk(44.4%, 0%, 72.5%, 32.9%)
CIE-LABlab(63.15, -44.77, 53.48)
CIE-LCHlch(63.15, 69.75, 129.94°)
OKLaboklab(66.73% -0.1246 0.1207)
OKLCHoklch(66.73% 0.173 135.9)
XYZxyz(19.7948, 31.7628, 7.7766)
Luminance0.3176 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FAB2F #7B2FAB
analogous
#9DAB2F #5FAB2F #2FAB3D
triadic
#5FAB2F #2F5FAB #AB2F5F
tetradic
#5FAB2F #2F9DAB #7B2FAB #AB3D2F
square
#5FAB2F #2F9DAB #7B2FAB #AB3D2F
split-complementary
#5FAB2F #3D2FAB #AB2F9D
monochromatic
#2A4B15 #447B22 #5FAB2F #7DCD4A #9FDA7A

Accessibility & contrast

On white

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

On black

7.35
#5FAB2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FAB2F
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FAB2F#FFFFFF#000000##000000
##5FAB2F1.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D19
Deuteranopia (green-blind)
#A7973B
Tritanopia (blue-blind)
#5CA593
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #5fab2f;
/* rgb */ color: rgb(95, 171, 47);
/* oklch */ color: oklch(66.7% 0.173 135.9);
Tailwind
colors: {
  custom: {
    50: '#93c46f',
    500: '#5fab2f',
    950: '#000000',
  },
}
SCSS
$custom: #5fab2f;
$custom-light: #93c46f;
$custom-dark: #000000;
JSON
{
  "hex": "#5fab2f",
  "rgb": {
    "r": 95,
    "g": 171,
    "b": 47
  },
  "hsl": {
    "h": 96.774,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.66732,
    "c": 0.17348,
    "h": 135.9
  },
  "luminance": 0.31764
}

Semantic roles & 50–950 ramp

primary
#5FAB2F
secondary
#A473C3
accent
#48E0A5
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5FAB2F

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

Preview Lab → · Contrast checker → · Palette generator →

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