#5FB831#5FB831

#5FB831 is a light, vivid yellow-green. Relative luminance 0.369; OKLCH L 70.1% C 0.188 H 137.2°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#5FB831
RGBrgb(95, 184, 49)
HSLhsl(100, 58%, 46%)
HSVhsv(100, 73%, 72%)
CMYKcmyk(48.4%, 0%, 73.4%, 27.8%)
CIE-LABlab(67.23, -49.83, 56.85)
CIE-LCHlch(67.23, 75.60, 131.24°)
OKLaboklab(70.09% -0.1382 0.128)
OKLCHoklch(70.09% 0.188 137.2)
XYZxyz(22.4135, 36.9341, 8.8531)
Luminance0.3694 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FB831 #8A31B8
analogous
#A2B831 #5FB831 #31B847
triadic
#5FB831 #315FB8 #B8315F
tetradic
#5FB831 #31A2B8 #8A31B8 #B84731
square
#5FB831 #31A2B8 #8A31B8 #B84731
split-complementary
#5FB831 #4731B8 #B831A2
monochromatic
#2D5717 #468824 #5FB831 #7FD255 #A3DE85

Accessibility & contrast

On white

2.50
#5FB831 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#5FB831 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FB831
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FB831#FFFFFF#000000##000000
##5FB8311.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA817
Deuteranopia (green-blind)
#B2A13F
Tritanopia (blue-blind)
#5AB19E
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #5fb831;
/* rgb */ color: rgb(95, 184, 49);
/* oklch */ color: oklch(70.1% 0.188 137.2);
Tailwind
colors: {
  custom: {
    50: '#94ce72',
    500: '#5fb831',
    950: '#000000',
  },
}
SCSS
$custom: #5fb831;
$custom-light: #94ce72;
$custom-dark: #000000;
JSON
{
  "hex": "#5fb831",
  "rgb": {
    "r": 95,
    "g": 184,
    "b": 49
  },
  "hsl": {
    "h": 99.556,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.70087,
    "c": 0.18835,
    "h": 137.2
  },
  "luminance": 0.36936
}

Semantic roles & 50–950 ramp

primary
#5FB831
secondary
#AE7DC8
accent
#47E1AD
background
#F9FCF7
surface
#F2F9ED
border
#CCD2C8
text
#0E1408
muted
#7E827B

Preview Lab

Preview with #5FB831

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

Preview Lab → · Contrast checker → · Palette generator →

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