#5FA02A#5FA02A

#5FA02A is a light, vivid yellow-green. Relative luminance 0.277; OKLCH L 63.9% C 0.163 H 134.3°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#5FA02A
RGBrgb(95, 160, 42)
HSLhsl(93, 58%, 40%)
HSVhsv(93, 74%, 63%)
CMYKcmyk(40.6%, 0%, 73.8%, 37.3%)
CIE-LABlab(59.65, -40.52, 51.83)
CIE-LCHlch(59.65, 65.79, 128.02°)
OKLaboklab(63.86% -0.1135 0.1165)
OKLCHoklch(63.86% 0.163 134.3)
XYZxyz(17.7077, 27.7408, 6.6115)
Luminance0.2774 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA02A #6B2AA0
analogous
#9AA02A #5FA02A #2AA030
triadic
#5FA02A #2A5FA0 #A02A5F
tetradic
#5FA02A #2A9AA0 #6B2AA0 #A0302A
square
#5FA02A #2A9AA0 #6B2AA0 #A0302A
split-complementary
#5FA02A #302AA0 #A02A9A
monochromatic
#253F11 #42701D #5FA02A #7CCC3C #9DD86C

Accessibility & contrast

On white

3.21
#5FA02A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#5FA02A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5FA02A
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA02A#FFFFFF#000000##000000
##5FA02A1.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69314
Deuteranopia (green-blind)
#9D8E35
Tritanopia (blue-blind)
#5E9A89
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5fa02a;
/* rgb */ color: rgb(95, 160, 42);
/* oklch */ color: oklch(63.9% 0.163 134.3);
Tailwind
colors: {
  custom: {
    50: '#92bc6c',
    500: '#5fa02a',
    950: '#000000',
  },
}
SCSS
$custom: #5fa02a;
$custom-light: #92bc6c;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa02a",
  "rgb": {
    "r": 95,
    "g": 160,
    "b": 42
  },
  "hsl": {
    "h": 93.051,
    "s": 58.416,
    "l": 39.608
  },
  "oklch": {
    "l": 0.6386,
    "c": 0.16264,
    "h": 134.3
  },
  "luminance": 0.27742
}

Semantic roles & 50–950 ramp

primary
#5FA02A
secondary
#9767BF
accent
#46E29C
background
#F9FBF6
surface
#F2F6EC
border
#CCD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5FA02A

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

Preview Lab → · Contrast checker → · Palette generator →

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