#5FB41C#5FB41C

#5FB41C is a light, vivid yellow-green. Relative luminance 0.352; OKLCH L 68.9% C 0.194 H 135.6°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#5FB41C
RGBrgb(95, 180, 28)
HSLhsl(94, 73%, 41%)
HSVhsv(94, 84%, 71%)
CMYKcmyk(47.2%, 0%, 84.4%, 29.4%)
CIE-LABlab(65.87, -49.43, 61.94)
CIE-LCHlch(65.87, 79.25, 128.59°)
OKLaboklab(68.94% -0.1383 0.1357)
OKLCHoklch(68.94% 0.194 135.6)
XYZxyz(21.2497, 35.1579, 6.7648)
Luminance0.3516 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FB41C #711CB4
analogous
#ABB41C #5FB41C #1CB425
triadic
#5FB41C #1C5FB4 #B41C5F
tetradic
#5FB41C #1CABB4 #711CB4 #B4251C
square
#5FB41C #1CABB4 #711CB4 #B4251C
split-complementary
#5FB41C #251CB4 #B41CAB
monochromatic
#274A0C #437F14 #5FB41C #7CDF2F #9DE764

Accessibility & contrast

On white

2.61
#5FB41C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#5FB41C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FB41C
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FB41C#FFFFFF#000000##000000
##5FB41C1.002.618.038.03
#FFFFFF2.611.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA400
Deuteranopia (green-blind)
#B09E30
Tritanopia (blue-blind)
#5CAD99
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #5fb41c;
/* rgb */ color: rgb(95, 180, 28);
/* oklch */ color: oklch(68.9% 0.194 135.6);
Tailwind
colors: {
  custom: {
    50: '#95cb68',
    500: '#5fb41c',
    950: '#000000',
  },
}
SCSS
$custom: #5fb41c;
$custom-light: #95cb68;
$custom-dark: #000000;
JSON
{
  "hex": "#5fb41c",
  "rgb": {
    "r": 95,
    "g": 180,
    "b": 28
  },
  "hsl": {
    "h": 93.553,
    "s": 73.077,
    "l": 40.784
  },
  "oklch": {
    "l": 0.68939,
    "c": 0.19373,
    "h": 135.6
  },
  "luminance": 0.35159
}

Semantic roles & 50–950 ramp

primary
#5FB41C
secondary
#9C60CC
accent
#38F09F
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5FB41C

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

Preview Lab → · Contrast checker → · Palette generator →

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