#5FA131#5FA131

#5FA131 is a light, vivid yellow-green. Relative luminance 0.281; OKLCH L 64.2% C 0.159 H 135.0°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#5FA131
RGBrgb(95, 161, 49)
HSLhsl(95, 53%, 41%)
HSVhsv(95, 70%, 63%)
CMYKcmyk(41%, 0%, 69.6%, 36.9%)
CIE-LABlab(60.02, -40.44, 49.49)
CIE-LCHlch(60.02, 63.91, 129.25°)
OKLaboklab(64.17% -0.1127 0.1126)
OKLCHoklch(64.17% 0.159 135)
XYZxyz(18.0182, 28.1434, 7.3880)
Luminance0.2814 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA131 #7331A1
analogous
#97A131 #5FA131 #31A13B
triadic
#5FA131 #315FA1 #A1315F
tetradic
#5FA131 #3197A1 #7331A1 #A13B31
square
#5FA131 #3197A1 #7331A1 #A13B31
split-complementary
#5FA131 #3B31A1 #A13197
monochromatic
#284314 #437223 #5FA131 #7CC748 #9ED677

Accessibility & contrast

On white

3.17
#5FA131 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#5FA131 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5FA131
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA131#FFFFFF#000000##000000
##5FA1311.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79420
Deuteranopia (green-blind)
#9E8F3B
Tritanopia (blue-blind)
#5E9B8B
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5fa131;
/* rgb */ color: rgb(95, 161, 49);
/* oklch */ color: oklch(64.2% 0.159 135.0);
Tailwind
colors: {
  custom: {
    50: '#92bd6f',
    500: '#5fa131',
    950: '#000000',
  },
}
SCSS
$custom: #5fa131;
$custom-light: #92bd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa131",
  "rgb": {
    "r": 95,
    "g": 161,
    "b": 49
  },
  "hsl": {
    "h": 95.357,
    "s": 53.333,
    "l": 41.176
  },
  "oklch": {
    "l": 0.64174,
    "c": 0.15934,
    "h": 135
  },
  "luminance": 0.28144
}

Semantic roles & 50–950 ramp

primary
#5FA131
secondary
#9E70BE
accent
#4BDDA1
background
#F9FBF6
surface
#F2F6EC
border
#CCD0C7
text
#0D1208
muted
#7E817B

Preview Lab

Preview with #5FA131

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

Preview Lab → · Contrast checker → · Palette generator →

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