#5FB318#5FB318

#5FB318 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#5FB318
RGBrgb(95, 179, 24)
HSLhsl(93, 76%, 40%)
HSVhsv(93, 87%, 70%)
CMYKcmyk(46.9%, 0%, 86.6%, 29.8%)
CIE-LABlab(65.54, -49.19, 62.58)
CIE-LCHlch(65.54, 79.60, 128.17°)
OKLaboklab(68.66% -0.1378 0.1365)
OKLCHoklch(68.66% 0.194 135.3)
XYZxyz(21.0038, 34.7377, 6.4623)
Luminance0.3474 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FB318 #6C18B3
analogous
#ADB318 #5FB318 #18B31E
triadic
#5FB318 #185FB3 #B3185F
tetradic
#5FB318 #18ADB3 #6C18B3 #B31E18
square
#5FB318 #18ADB3 #6C18B3 #B31E18
split-complementary
#5FB318 #1E18B3 #B318AD
monochromatic
#26470A #427D11 #5FB318 #7CE226 #9DE95C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #5fb318;
/* rgb */ color: rgb(95, 179, 24);
/* oklch */ color: oklch(68.7% 0.194 135.3);
Tailwind
colors: {
  custom: {
    50: '#95ca67',
    500: '#5fb318',
    950: '#000000',
  },
}
SCSS
$custom: #5fb318;
$custom-light: #95ca67;
$custom-dark: #000000;
JSON
{
  "hex": "#5fb318",
  "rgb": {
    "r": 95,
    "g": 179,
    "b": 24
  },
  "hsl": {
    "h": 92.516,
    "s": 76.355,
    "l": 39.804
  },
  "oklch": {
    "l": 0.68665,
    "c": 0.19397,
    "h": 135.3
  },
  "luminance": 0.34739
}

Semantic roles & 50–950 ramp

primary
#5FB318
secondary
#985ACD
accent
#35F39C
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5FB318

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

Preview Lab → · Contrast checker → · Palette generator →

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