#5F9518#5F9518

#5F9518 is a mid, vivid yellow-green. Relative luminance 0.240; OKLCH L 60.9% C 0.158 H 131.3°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#5F9518
RGBrgb(95, 149, 24)
HSLhsl(86, 72%, 34%)
HSVhsv(86, 84%, 58%)
CMYKcmyk(36.2%, 0%, 83.9%, 41.6%)
CIE-LABlab(56.08, -36.75, 54.26)
CIE-LCHlch(56.08, 65.54, 124.11°)
OKLaboklab(60.91% -0.1045 0.1188)
OKLCHoklch(60.91% 0.158 131.3)
XYZxyz(15.6315, 23.9931, 4.6715)
Luminance0.2399 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9518 #4E1895
analogous
#958D18 #5F9518 #219518
triadic
#5F9518 #185F95 #95185F
tetradic
#5F9518 #18958D #4E1895 #951821
square
#5F9518 #18958D #4E1895 #951821
split-complementary
#5F9518 #182195 #8D1895
monochromatic
#1C2C07 #3D6010 #5F9518 #81CA20 #9EE146

Accessibility & contrast

On white

3.62
#5F9518 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#5F9518 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F9518
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9518#FFFFFF#000000##000000
##5F95181.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8900
Deuteranopia (green-blind)
#958527
Tritanopia (blue-blind)
#618E7F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5f9518;
/* rgb */ color: rgb(95, 149, 24);
/* oklch */ color: oklch(60.9% 0.158 131.3);
Tailwind
colors: {
  custom: {
    50: '#92b462',
    500: '#5f9518',
    950: '#000000',
  },
}
SCSS
$custom: #5f9518;
$custom-light: #92b462;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9518",
  "rgb": {
    "r": 95,
    "g": 149,
    "b": 24
  },
  "hsl": {
    "h": 85.92,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.60908,
    "c": 0.15826,
    "h": 131.3
  },
  "luminance": 0.23994
}

Semantic roles & 50–950 ramp

primary
#5F9518
secondary
#7C46C2
accent
#39EF88
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5F9518

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

Preview Lab → · Contrast checker → · Palette generator →

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