#5FA931#5FA931

#5FA931 is a light, vivid yellow-green. Relative luminance 0.310; OKLCH L 66.2% C 0.170 H 135.9°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#5FA931
RGBrgb(95, 169, 49)
HSLhsl(97, 55%, 43%)
HSVhsv(97, 71%, 66%)
CMYKcmyk(43.8%, 0%, 71%, 33.7%)
CIE-LABlab(62.53, -43.80, 52.09)
CIE-LCHlch(62.53, 68.06, 130.06°)
OKLaboklab(66.23% -0.1219 0.1181)
OKLCHoklch(66.23% 0.17 135.9)
XYZxyz(19.4612, 31.0294, 7.8690)
Luminance0.3103 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA931 #7B31A9
analogous
#9BA931 #5FA931 #31A93F
triadic
#5FA931 #315FA9 #A9315F
tetradic
#5FA931 #319BA9 #7B31A9 #A93F31
square
#5FA931 #319BA9 #7B31A9 #A93F31
split-complementary
#5FA931 #3F31A9 #A9319B
monochromatic
#2A4A15 #447A23 #5FA931 #7DCB4C #9FD97C

Accessibility & contrast

On white

2.91
#5FA931 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#5FA931 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FA931
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA931#FFFFFF#000000##000000
##5FA9311.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B1E
Deuteranopia (green-blind)
#A5953C
Tritanopia (blue-blind)
#5CA391
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5fa931;
/* rgb */ color: rgb(95, 169, 49);
/* oklch */ color: oklch(66.2% 0.170 135.9);
Tailwind
colors: {
  custom: {
    50: '#92c370',
    500: '#5fa931',
    950: '#000000',
  },
}
SCSS
$custom: #5fa931;
$custom-light: #92c370;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa931",
  "rgb": {
    "r": 95,
    "g": 169,
    "b": 49
  },
  "hsl": {
    "h": 97,
    "s": 55.046,
    "l": 42.745
  },
  "oklch": {
    "l": 0.66233,
    "c": 0.16967,
    "h": 135.9
  },
  "luminance": 0.31031
}

Semantic roles & 50–950 ramp

primary
#5FA931
secondary
#A474C1
accent
#49DEA5
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0E1208
muted
#7E817B

Preview Lab

Preview with #5FA931

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

Preview Lab → · Contrast checker → · Palette generator →

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