#5F9C19#5F9C19

#5F9C19 is a light, vivid yellow-green. Relative luminance 0.263; OKLCH L 62.7% C 0.166 H 132.6°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#5F9C19
RGBrgb(95, 156, 25)
HSLhsl(88, 72%, 35%)
HSVhsv(88, 84%, 61%)
CMYKcmyk(39.1%, 0%, 84%, 38.8%)
CIE-LABlab(58.30, -39.75, 55.98)
CIE-LCHlch(58.30, 68.66, 125.38°)
OKLaboklab(62.72% -0.1125 0.1226)
OKLCHoklch(62.72% 0.166 132.6)
XYZxyz(16.7830, 26.2792, 5.1076)
Luminance0.2628 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9C19 #56199C
analogous
#9C9719 #5F9C19 #1D9C19
triadic
#5F9C19 #195F9C #9C195F
tetradic
#5F9C19 #199C97 #56199C #9C191D
square
#5F9C19 #199C97 #56199C #9C191D
split-complementary
#5F9C19 #191D9C #97199C
monochromatic
#1F3308 #3F6711 #5F9C19 #7FD121 #9DE24D

Accessibility & contrast

On white

3.36
#5F9C19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#5F9C19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F9C19
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9C19#FFFFFF#000000##000000
##5F9C191.003.366.266.26
#FFFFFF3.361.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A38F00
Deuteranopia (green-blind)
#9B8A29
Tritanopia (blue-blind)
#609585
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5f9c19;
/* rgb */ color: rgb(95, 156, 25);
/* oklch */ color: oklch(62.7% 0.166 132.6);
Tailwind
colors: {
  custom: {
    50: '#92b964',
    500: '#5f9c19',
    950: '#000000',
  },
}
SCSS
$custom: #5f9c19;
$custom-light: #92b964;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9c19",
  "rgb": {
    "r": 95,
    "g": 156,
    "b": 25
  },
  "hsl": {
    "h": 87.939,
    "s": 72.376,
    "l": 35.49
  },
  "oklch": {
    "l": 0.62724,
    "c": 0.16642,
    "h": 132.6
  },
  "luminance": 0.2628
}

Semantic roles & 50–950 ramp

primary
#5F9C19
secondary
#844CC4
accent
#39EF8E
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1106
muted
#7E807A

Preview Lab

Preview with #5F9C19

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

Preview Lab → · Contrast checker → · Palette generator →

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