#5FB317#5FB317

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

Color values

HEX#5FB317
RGBrgb(95, 179, 23)
HSLhsl(92, 77%, 40%)
HSVhsv(92, 87%, 70%)
CMYKcmyk(46.9%, 0%, 87.2%, 29.8%)
CIE-LABlab(65.54, -49.23, 62.79)
CIE-LCHlch(65.54, 79.79, 128.10°)
OKLaboklab(68.66% -0.138 0.1368)
OKLCHoklch(68.66% 0.194 135.3)
XYZxyz(20.9936, 34.7336, 6.4085)
Luminance0.3473 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FB317 #6B17B3
analogous
#ADB317 #5FB317 #17B31D
triadic
#5FB317 #175FB3 #B3175F
tetradic
#5FB317 #17ADB3 #6B17B3 #B31D17
square
#5FB317 #17ADB3 #6B17B3 #B31D17
split-complementary
#5FB317 #1D17B3 #B317AD
monochromatic
#254709 #427D10 #5FB317 #7CE324 #9DEA5B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5FB317#FFFFFF#000000##000000
##5FB3171.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)
#AF9D2D
Tritanopia (blue-blind)
#5CAC98
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #5fb317;
/* rgb */ color: rgb(95, 179, 23);
/* oklch */ color: oklch(68.7% 0.194 135.3);
Tailwind
colors: {
  custom: {
    50: '#95ca67',
    500: '#5fb317',
    950: '#000000',
  },
}
SCSS
$custom: #5fb317;
$custom-light: #95ca67;
$custom-dark: #000000;
JSON
{
  "hex": "#5fb317",
  "rgb": {
    "r": 95,
    "g": 179,
    "b": 23
  },
  "hsl": {
    "h": 92.308,
    "s": 77.228,
    "l": 39.608
  },
  "oklch": {
    "l": 0.68662,
    "c": 0.19429,
    "h": 135.3
  },
  "luminance": 0.34735
}

Semantic roles & 50–950 ramp

primary
#5FB317
secondary
#9758CD
accent
#34F49B
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5FB317

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

Preview Lab → · Contrast checker → · Palette generator →

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