#5FA62B#5FA62B

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

Color values

HEX#5FA62B
RGBrgb(95, 166, 43)
HSLhsl(95, 59%, 41%)
HSVhsv(95, 74%, 65%)
CMYKcmyk(42.8%, 0%, 74.1%, 34.9%)
CIE-LABlab(61.55, -42.99, 53.35)
CIE-LCHlch(61.55, 68.51, 128.86°)
OKLaboklab(65.42% -0.1201 0.1198)
OKLCHoklch(65.42% 0.17 135.1)
XYZxyz(18.7912, 29.8787, 7.0621)
Luminance0.2988 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA62B #722BA6
analogous
#9CA62B #5FA62B #2BA634
triadic
#5FA62B #2B5FA6 #A62B5F
tetradic
#5FA62B #2B9CA6 #722BA6 #A6342B
square
#5FA62B #2B9CA6 #722BA6 #A6342B
split-complementary
#5FA62B #342BA6 #A62B9C
monochromatic
#274512 #43751E #5FA62B #7CCE41 #9EDA71

Accessibility & contrast

On white

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

On black

6.98
#5FA62B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5FA62B
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA62B#FFFFFF#000000##000000
##5FA62B1.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5fa62b;
/* rgb */ color: rgb(95, 166, 43);
/* oklch */ color: oklch(65.4% 0.170 135.1);
Tailwind
colors: {
  custom: {
    50: '#92c16d',
    500: '#5fa62b',
    950: '#000000',
  },
}
SCSS
$custom: #5fa62b;
$custom-light: #92c16d;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa62b",
  "rgb": {
    "r": 95,
    "g": 166,
    "b": 43
  },
  "hsl": {
    "h": 94.634,
    "s": 58.852,
    "l": 40.98
  },
  "oklch": {
    "l": 0.65415,
    "c": 0.16964,
    "h": 135.1
  },
  "luminance": 0.2988
}

Semantic roles & 50–950 ramp

primary
#5FA62B
secondary
#9D6BC1
accent
#46E2A0
background
#F9FBF6
surface
#F2F7EC
border
#CCD0C7
text
#0E1207
muted
#7E817A

Preview Lab

Preview with #5FA62B

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

Preview Lab → · Contrast checker → · Palette generator →

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