#5FAB2B#5FAB2B

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

Color values

HEX#5FAB2B
RGBrgb(95, 171, 43)
HSLhsl(96, 60%, 42%)
HSVhsv(96, 75%, 67%)
CMYKcmyk(44.4%, 0%, 74.9%, 32.9%)
CIE-LABlab(63.12, -45.05, 54.90)
CIE-LCHlch(63.12, 71.02, 129.37°)
OKLaboklab(66.7% -0.1257 0.1231)
OKLCHoklch(66.7% 0.176 135.6)
XYZxyz(19.7178, 31.7320, 7.3709)
Luminance0.3173 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FAB2B #772BAB
analogous
#9FAB2B #5FAB2B #2BAB37
triadic
#5FAB2B #2B5FAB #AB2B5F
tetradic
#5FAB2B #2B9FAB #772BAB #AB372B
square
#5FAB2B #2B9FAB #772BAB #AB372B
split-complementary
#5FAB2B #372BAB #AB2B9F
monochromatic
#294912 #447A1F #5FAB2B #7CD043 #9EDC74

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5FAB2B#FFFFFF#000000##000000
##5FAB2B1.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)
#B19D10
Deuteranopia (green-blind)
#A79638
Tritanopia (blue-blind)
#5CA492
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #5fab2b;
/* rgb */ color: rgb(95, 171, 43);
/* oklch */ color: oklch(66.7% 0.176 135.6);
Tailwind
colors: {
  custom: {
    50: '#93c46d',
    500: '#5fab2b',
    950: '#000000',
  },
}
SCSS
$custom: #5fab2b;
$custom-light: #93c46d;
$custom-dark: #000000;
JSON
{
  "hex": "#5fab2b",
  "rgb": {
    "r": 95,
    "g": 171,
    "b": 43
  },
  "hsl": {
    "h": 95.625,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.66703,
    "c": 0.17589,
    "h": 135.6
  },
  "luminance": 0.31733
}

Semantic roles & 50–950 ramp

primary
#5FAB2B
secondary
#A16EC4
accent
#45E3A3
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5FAB2B

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

Preview Lab → · Contrast checker → · Palette generator →

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