#5FA031#5FA031

#5FA031 is a light, vivid yellow-green. Relative luminance 0.278; OKLCH L 63.9% C 0.158 H 134.9°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#5FA031
RGBrgb(95, 160, 49)
HSLhsl(95, 53%, 41%)
HSVhsv(95, 69%, 63%)
CMYKcmyk(40.6%, 0%, 69.4%, 37.3%)
CIE-LABlab(59.70, -40.01, 49.16)
CIE-LCHlch(59.70, 63.38, 129.14°)
OKLaboklab(63.92% -0.1116 0.1119)
OKLCHoklch(63.92% 0.158 134.9)
XYZxyz(17.8441, 27.7953, 7.3299)
Luminance0.2780 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA031 #7231A0
analogous
#96A031 #5FA031 #31A03A
triadic
#5FA031 #315FA0 #A0315F
tetradic
#5FA031 #3196A0 #7231A0 #A03A31
square
#5FA031 #3196A0 #7231A0 #A03A31
split-complementary
#5FA031 #3A31A0 #A03196
monochromatic
#274214 #437123 #5FA031 #7CC747 #9ED576

Accessibility & contrast

On white

3.20
#5FA031 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#5FA031 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5FA031
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA031#FFFFFF#000000##000000
##5FA0311.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69321
Deuteranopia (green-blind)
#9D8E3B
Tritanopia (blue-blind)
#5E9A8A
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5fa031;
/* rgb */ color: rgb(95, 160, 49);
/* oklch */ color: oklch(63.9% 0.158 134.9);
Tailwind
colors: {
  custom: {
    50: '#91bc6f',
    500: '#5fa031',
    950: '#000000',
  },
}
SCSS
$custom: #5fa031;
$custom-light: #91bc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa031",
  "rgb": {
    "r": 95,
    "g": 160,
    "b": 49
  },
  "hsl": {
    "h": 95.135,
    "s": 53.11,
    "l": 40.98
  },
  "oklch": {
    "l": 0.63917,
    "c": 0.15803,
    "h": 134.9
  },
  "luminance": 0.27796
}

Semantic roles & 50–950 ramp

primary
#5FA031
secondary
#9D70BD
accent
#4BDDA0
background
#F9FBF6
surface
#F2F6EC
border
#CCD0C7
text
#0D1208
muted
#7E817B

Preview Lab

Preview with #5FA031

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

Preview Lab → · Contrast checker → · Palette generator →

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