#5FB931#5FB931

#5FB931 is a light, vivid yellow-green. Relative luminance 0.374; OKLCH L 70.3% C 0.190 H 137.3°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#5FB931
RGBrgb(95, 185, 49)
HSLhsl(100, 58%, 46%)
HSVhsv(100, 74%, 73%)
CMYKcmyk(48.6%, 0%, 73.5%, 27.5%)
CIE-LABlab(67.54, -50.22, 57.16)
CIE-LCHlch(67.54, 76.09, 131.30°)
OKLaboklab(70.34% -0.1392 0.1287)
OKLCHoklch(70.34% 0.19 137.3)
XYZxyz(22.6219, 37.3510, 8.9226)
Luminance0.3735 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FB931 #8B31B9
analogous
#A3B931 #5FB931 #31B947
triadic
#5FB931 #315FB9 #B9315F
tetradic
#5FB931 #31A3B9 #8B31B9 #B94731
square
#5FB931 #31A3B9 #8B31B9 #B94731
split-complementary
#5FB931 #4731B9 #B931A3
monochromatic
#2D5817 #468924 #5FB931 #7FD255 #A4DF86

Accessibility & contrast

On white

2.48
#5FB931 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#5FB931 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FB931
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FB931#FFFFFF#000000##000000
##5FB9311.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA917
Deuteranopia (green-blind)
#B3A23F
Tritanopia (blue-blind)
#59B29F
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #5fb931;
/* rgb */ color: rgb(95, 185, 49);
/* oklch */ color: oklch(70.3% 0.190 137.3);
Tailwind
colors: {
  custom: {
    50: '#94cf72',
    500: '#5fb931',
    950: '#000000',
  },
}
SCSS
$custom: #5fb931;
$custom-light: #94cf72;
$custom-dark: #000000;
JSON
{
  "hex": "#5fb931",
  "rgb": {
    "r": 95,
    "g": 185,
    "b": 49
  },
  "hsl": {
    "h": 99.706,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.70344,
    "c": 0.18957,
    "h": 137.3
  },
  "luminance": 0.37353
}

Semantic roles & 50–950 ramp

primary
#5FB931
secondary
#AF7DC8
accent
#46E1AD
background
#F9FCF7
surface
#F2F9ED
border
#CCD2C8
text
#0E1408
muted
#7E827B

Preview Lab

Preview with #5FB931

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

Preview Lab → · Contrast checker → · Palette generator →

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