#5F9D18#5F9D18

#5F9D18 is a light, vivid yellow-green. Relative luminance 0.266; OKLCH L 63.0% C 0.168 H 132.7°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#5F9D18
RGBrgb(95, 157, 24)
HSLhsl(88, 73%, 35%)
HSVhsv(88, 85%, 62%)
CMYKcmyk(39.5%, 0%, 84.7%, 38.4%)
CIE-LABlab(58.61, -40.22, 56.51)
CIE-LCHlch(58.61, 69.37, 125.44°)
OKLaboklab(62.98% -0.1138 0.1236)
OKLCHoklch(62.98% 0.168 132.7)
XYZxyz(16.9409, 26.6120, 5.1080)
Luminance0.2661 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9D18 #56189D
analogous
#9D9818 #5F9D18 #1C9D18
triadic
#5F9D18 #185F9D #9D185F
tetradic
#5F9D18 #189D98 #56189D #9D181C
square
#5F9D18 #189D98 #56189D #9D181C
split-complementary
#5F9D18 #181C9D #98189D
monochromatic
#1F3308 #3F6810 #5F9D18 #7FD220 #9DE44C

Accessibility & contrast

On white

3.32
#5F9D18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#5F9D18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F9D18
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9D18#FFFFFF#000000##000000
##5F9D181.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49000
Deuteranopia (green-blind)
#9C8B29
Tritanopia (blue-blind)
#609685
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5f9d18;
/* rgb */ color: rgb(95, 157, 24);
/* oklch */ color: oklch(63.0% 0.168 132.7);
Tailwind
colors: {
  custom: {
    50: '#92ba63',
    500: '#5f9d18',
    950: '#000000',
  },
}
SCSS
$custom: #5f9d18;
$custom-light: #92ba63;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9d18",
  "rgb": {
    "r": 95,
    "g": 157,
    "b": 24
  },
  "hsl": {
    "h": 87.97,
    "s": 73.481,
    "l": 35.49
  },
  "oklch": {
    "l": 0.62979,
    "c": 0.16804,
    "h": 132.7
  },
  "luminance": 0.26613
}

Semantic roles & 50–950 ramp

primary
#5F9D18
secondary
#844BC5
accent
#38F08E
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1106
muted
#7E807A

Preview Lab

Preview with #5F9D18

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

Preview Lab → · Contrast checker → · Palette generator →

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