#5FBA31#5FBA31

#5FBA31 is a light, vivid yellow-green. Relative luminance 0.378; OKLCH L 70.6% C 0.191 H 137.3°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#5FBA31
RGBrgb(95, 186, 49)
HSLhsl(100, 58%, 46%)
HSVhsv(100, 74%, 73%)
CMYKcmyk(48.9%, 0%, 73.7%, 27.1%)
CIE-LABlab(67.85, -50.61, 57.47)
CIE-LCHlch(67.85, 76.58, 131.37°)
OKLaboklab(70.6% -0.1403 0.1293)
OKLCHoklch(70.6% 0.191 137.3)
XYZxyz(22.8319, 37.7709, 8.9925)
Luminance0.3777 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FBA31 #8C31BA
analogous
#A3BA31 #5FBA31 #31BA47
triadic
#5FBA31 #315FBA #BA315F
tetradic
#5FBA31 #31A3BA #8C31BA #BA4731
square
#5FBA31 #31A3BA #8C31BA #BA4731
split-complementary
#5FBA31 #4731BA #BA31A3
monochromatic
#2E5917 #468A24 #5FBA31 #80D256 #A4DF86

Accessibility & contrast

On white

2.45
#5FBA31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.55
#5FBA31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FBA31
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FBA31#FFFFFF#000000##000000
##5FBA311.002.458.558.55
#FFFFFF2.451.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA16
Deuteranopia (green-blind)
#B4A23F
Tritanopia (blue-blind)
#59B3A0
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #5fba31;
/* rgb */ color: rgb(95, 186, 49);
/* oklch */ color: oklch(70.6% 0.191 137.3);
Tailwind
colors: {
  custom: {
    50: '#95cf72',
    500: '#5fba31',
    950: '#000000',
  },
}
SCSS
$custom: #5fba31;
$custom-light: #95cf72;
$custom-dark: #000000;
JSON
{
  "hex": "#5fba31",
  "rgb": {
    "r": 95,
    "g": 186,
    "b": 49
  },
  "hsl": {
    "h": 99.854,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.706,
    "c": 0.19078,
    "h": 137.3
  },
  "luminance": 0.37772
}

Semantic roles & 50–950 ramp

primary
#5FBA31
secondary
#B07EC9
accent
#46E2AD
background
#F9FCF7
surface
#F2F9ED
border
#CCD2C8
text
#0E1408
muted
#7E827B

Preview Lab

Preview with #5FBA31

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

Preview Lab → · Contrast checker → · Palette generator →

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