#5FAB2A#5FAB2A

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

Color values

HEX#5FAB2A
RGBrgb(95, 171, 42)
HSLhsl(95, 61%, 42%)
HSVhsv(95, 75%, 67%)
CMYKcmyk(44.4%, 0%, 75.4%, 32.9%)
CIE-LABlab(63.11, -45.11, 55.25)
CIE-LCHlch(63.11, 71.33, 129.23°)
OKLaboklab(66.7% -0.1259 0.1237)
OKLCHoklch(66.7% 0.176 135.5)
XYZxyz(19.6997, 31.7247, 7.2755)
Luminance0.3173 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FAB2A #762AAB
analogous
#A0AB2A #5FAB2A #2AAB36
triadic
#5FAB2A #2A5FAB #AB2A5F
tetradic
#5FAB2A #2AA0AB #762AAB #AB362A
square
#5FAB2A #2AA0AB #762AAB #AB362A
split-complementary
#5FAB2A #362AAB #AB2AA0
monochromatic
#284912 #447A1E #5FAB2A #7CD142 #9EDD73

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5FAB2A#FFFFFF#000000##000000
##5FAB2A1.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)
#B19D0E
Deuteranopia (green-blind)
#A79637
Tritanopia (blue-blind)
#5DA492
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #5fab2a;
/* rgb */ color: rgb(95, 171, 42);
/* oklch */ color: oklch(66.7% 0.176 135.5);
Tailwind
colors: {
  custom: {
    50: '#93c46d',
    500: '#5fab2a',
    950: '#000000',
  },
}
SCSS
$custom: #5fab2a;
$custom-light: #93c46d;
$custom-dark: #000000;
JSON
{
  "hex": "#5fab2a",
  "rgb": {
    "r": 95,
    "g": 171,
    "b": 42
  },
  "hsl": {
    "h": 95.349,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.66696,
    "c": 0.17646,
    "h": 135.5
  },
  "luminance": 0.31726
}

Semantic roles & 50–950 ramp

primary
#5FAB2A
secondary
#A06DC4
accent
#44E4A2
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5FAB2A

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

Preview Lab → · Contrast checker → · Palette generator →

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