#5FB731#5FB731

#5FB731 is a light, vivid yellow-green. Relative luminance 0.365; OKLCH L 69.8% C 0.187 H 137.1°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#5FB731
RGBrgb(95, 183, 49)
HSLhsl(99, 58%, 45%)
HSVhsv(99, 73%, 72%)
CMYKcmyk(48.1%, 0%, 73.2%, 28.2%)
CIE-LABlab(66.92, -49.44, 56.54)
CIE-LCHlch(66.92, 75.11, 131.17°)
OKLaboklab(69.83% -0.1371 0.1274)
OKLCHoklch(69.83% 0.187 137.1)
XYZxyz(22.2065, 36.5201, 8.7841)
Luminance0.3652 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FB731 #8931B7
analogous
#A2B731 #5FB731 #31B746
triadic
#5FB731 #315FB7 #B7315F
tetradic
#5FB731 #31A2B7 #8931B7 #B74631
square
#5FB731 #31A2B7 #8931B7 #B74631
split-complementary
#5FB731 #4631B7 #B731A2
monochromatic
#2D5617 #468724 #5FB731 #7FD154 #A3DE84

Accessibility & contrast

On white

2.53
#5FB731 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#5FB731 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FB731
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FB731#FFFFFF#000000##000000
##5FB7311.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA718
Deuteranopia (green-blind)
#B2A03E
Tritanopia (blue-blind)
#5AB09D
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #5fb731;
/* rgb */ color: rgb(95, 183, 49);
/* oklch */ color: oklch(69.8% 0.187 137.1);
Tailwind
colors: {
  custom: {
    50: '#94cd72',
    500: '#5fb731',
    950: '#000000',
  },
}
SCSS
$custom: #5fb731;
$custom-light: #94cd72;
$custom-dark: #000000;
JSON
{
  "hex": "#5fb731",
  "rgb": {
    "r": 95,
    "g": 183,
    "b": 49
  },
  "hsl": {
    "h": 99.403,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.69831,
    "c": 0.18714,
    "h": 137.1
  },
  "luminance": 0.36522
}

Semantic roles & 50–950 ramp

primary
#5FB731
secondary
#AE7CC8
accent
#47E1AC
background
#F9FCF7
surface
#F2F9ED
border
#CCD2C8
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5FB731

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

Preview Lab → · Contrast checker → · Palette generator →

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