#5FB417#5FB417

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

Color values

HEX#5FB417
RGBrgb(95, 180, 23)
HSLhsl(92, 77%, 40%)
HSVhsv(92, 87%, 71%)
CMYKcmyk(47.2%, 0%, 87.2%, 29.4%)
CIE-LABlab(65.85, -49.62, 63.06)
CIE-LCHlch(65.85, 80.24, 128.20°)
OKLaboklab(68.92% -0.139 0.1374)
OKLCHoklch(68.92% 0.195 135.3)
XYZxyz(21.1947, 35.1359, 6.4755)
Luminance0.3514 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FB417 #6C17B4
analogous
#AEB417 #5FB417 #17B41D
triadic
#5FB417 #175FB4 #B4175F
tetradic
#5FB417 #17AEB4 #6C17B4 #B41D17
square
#5FB417 #17AEB4 #6C17B4 #B41D17
split-complementary
#5FB417 #1D17B4 #B417AE
monochromatic
#264709 #427E10 #5FB417 #7CE325 #9DEA5B

Accessibility & contrast

On white

2.62
#5FB417 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5FB417#FFFFFF#000000##000000
##5FB4171.002.628.038.03
#FFFFFF2.621.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5fb417;
/* rgb */ color: rgb(95, 180, 23);
/* oklch */ color: oklch(68.9% 0.195 135.3);
Tailwind
colors: {
  custom: {
    50: '#95cb67',
    500: '#5fb417',
    950: '#000000',
  },
}
SCSS
$custom: #5fb417;
$custom-light: #95cb67;
$custom-dark: #000000;
JSON
{
  "hex": "#5fb417",
  "rgb": {
    "r": 95,
    "g": 180,
    "b": 23
  },
  "hsl": {
    "h": 92.484,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.68919,
    "c": 0.19543,
    "h": 135.3
  },
  "luminance": 0.35137
}

Semantic roles & 50–950 ramp

primary
#5FB417
secondary
#9859CE
accent
#34F49C
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5FB417

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

Preview Lab → · Contrast checker → · Palette generator →

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