#5FB31A#5FB31A

#5FB31A is a light, vivid yellow-green. Relative luminance 0.347; OKLCH L 68.7% C 0.193 H 135.4°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#5FB31A
RGBrgb(95, 179, 26)
HSLhsl(93, 75%, 40%)
HSVhsv(93, 85%, 70%)
CMYKcmyk(46.9%, 0%, 85.5%, 29.8%)
CIE-LABlab(65.55, -49.12, 62.14)
CIE-LCHlch(65.55, 79.21, 128.33°)
OKLaboklab(68.67% -0.1376 0.1358)
OKLCHoklch(68.67% 0.193 135.4)
XYZxyz(21.0254, 34.7463, 6.5759)
Luminance0.3475 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FB31A #6E1AB3
analogous
#ABB31A #5FB31A #1AB321
triadic
#5FB31A #1A5FB3 #B31A5F
tetradic
#5FB31A #1AABB3 #6E1AB3 #B3211A
square
#5FB31A #1AABB3 #6E1AB3 #B3211A
split-complementary
#5FB31A #211AB3 #B31AAB
monochromatic
#26480A #437E12 #5FB31A #7CE02A #9DE860

Accessibility & contrast

On white

2.64
#5FB31A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#5FB31A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FB31A
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FB31A#FFFFFF#000000##000000
##5FB31A1.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA300
Deuteranopia (green-blind)
#AF9D2F
Tritanopia (blue-blind)
#5CAC98
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #5fb31a;
/* rgb */ color: rgb(95, 179, 26);
/* oklch */ color: oklch(68.7% 0.193 135.4);
Tailwind
colors: {
  custom: {
    50: '#95ca68',
    500: '#5fb31a',
    950: '#000000',
  },
}
SCSS
$custom: #5fb31a;
$custom-light: #95ca68;
$custom-dark: #000000;
JSON
{
  "hex": "#5fb31a",
  "rgb": {
    "r": 95,
    "g": 179,
    "b": 26
  },
  "hsl": {
    "h": 92.941,
    "s": 74.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.68673,
    "c": 0.19329,
    "h": 135.4
  },
  "luminance": 0.34748
}

Semantic roles & 50–950 ramp

primary
#5FB31A
secondary
#9A5DCC
accent
#37F19D
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5FB31A

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

Preview Lab → · Contrast checker → · Palette generator →

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