#5FB31E#5FB31E

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

Color values

HEX#5FB31E
RGBrgb(95, 179, 30)
HSLhsl(94, 71%, 41%)
HSVhsv(94, 83%, 70%)
CMYKcmyk(46.9%, 0%, 83.2%, 29.8%)
CIE-LABlab(65.57, -48.95, 61.17)
CIE-LCHlch(65.57, 78.35, 128.67°)
OKLaboklab(68.69% -0.1369 0.1343)
OKLCHoklch(68.69% 0.192 135.6)
XYZxyz(21.0732, 34.7655, 6.8280)
Luminance0.3477 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FB31E #721EB3
analogous
#A9B31E #5FB31E #1EB328
triadic
#5FB31E #1E5FB3 #B31E5F
tetradic
#5FB31E #1EA9B3 #721EB3 #B3281E
square
#5FB31E #1EA9B3 #721EB3 #B3281E
split-complementary
#5FB31E #281EB3 #B31EA9
monochromatic
#274A0C #437F15 #5FB31E #7CDD32 #9EE566

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5FB31E#FFFFFF#000000##000000
##5FB31E1.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)
#BAA400
Deuteranopia (green-blind)
#AF9D31
Tritanopia (blue-blind)
#5CAC98
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #5fb31e;
/* rgb */ color: rgb(95, 179, 30);
/* oklch */ color: oklch(68.7% 0.192 135.6);
Tailwind
colors: {
  custom: {
    50: '#94ca69',
    500: '#5fb31e',
    950: '#000000',
  },
}
SCSS
$custom: #5fb31e;
$custom-light: #94ca69;
$custom-dark: #000000;
JSON
{
  "hex": "#5fb31e",
  "rgb": {
    "r": 95,
    "g": 179,
    "b": 30
  },
  "hsl": {
    "h": 93.826,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.6869,
    "c": 0.1918,
    "h": 135.6
  },
  "luminance": 0.34767
}

Semantic roles & 50–950 ramp

primary
#5FB31E
secondary
#9D62CB
accent
#3AEE9F
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5FB31E

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

Preview Lab → · Contrast checker → · Palette generator →

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