#5FA62A#5FA62A

#5FA62A is a light, vivid yellow-green. Relative luminance 0.299; OKLCH L 65.4% C 0.170 H 135.0°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#5FA62A
RGBrgb(95, 166, 42)
HSLhsl(94, 60%, 41%)
HSVhsv(94, 75%, 65%)
CMYKcmyk(42.8%, 0%, 74.7%, 34.9%)
CIE-LABlab(61.54, -43.05, 53.70)
CIE-LCHlch(61.54, 68.83, 128.72°)
OKLaboklab(65.41% -0.1203 0.1204)
OKLCHoklch(65.41% 0.17 135)
XYZxyz(18.7730, 29.8715, 6.9666)
Luminance0.2987 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA62A #712AA6
analogous
#9DA62A #5FA62A #2AA633
triadic
#5FA62A #2A5FA6 #A62A5F
tetradic
#5FA62A #2A9DA6 #712AA6 #A6332A
square
#5FA62A #2A9DA6 #712AA6 #A6332A
split-complementary
#5FA62A #332AA6 #A62A9D
monochromatic
#274411 #43751E #5FA62A #7CCE3F #9DDB70

Accessibility & contrast

On white

3.01
#5FA62A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#5FA62A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5FA62A
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA62A#FFFFFF#000000##000000
##5FA62A1.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9811
Deuteranopia (green-blind)
#A39236
Tritanopia (blue-blind)
#5DA08E
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5fa62a;
/* rgb */ color: rgb(95, 166, 42);
/* oklch */ color: oklch(65.4% 0.170 135.0);
Tailwind
colors: {
  custom: {
    50: '#92c16c',
    500: '#5fa62a',
    950: '#000000',
  },
}
SCSS
$custom: #5fa62a;
$custom-light: #92c16c;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa62a",
  "rgb": {
    "r": 95,
    "g": 166,
    "b": 42
  },
  "hsl": {
    "h": 94.355,
    "s": 59.615,
    "l": 40.784
  },
  "oklch": {
    "l": 0.65407,
    "c": 0.17024,
    "h": 135
  },
  "luminance": 0.29872
}

Semantic roles & 50–950 ramp

primary
#5FA62A
secondary
#9C6AC2
accent
#45E39F
background
#F9FBF6
surface
#F2F7EC
border
#CCD0C7
text
#0E1207
muted
#7E817A

Preview Lab

Preview with #5FA62A

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

Preview Lab → · Contrast checker → · Palette generator →

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