#5F9926#5F9926

#5F9926 is a light, vivid yellow-green. Relative luminance 0.254; OKLCH L 62.0% C 0.156 H 132.9°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#5F9926
RGBrgb(95, 153, 38)
HSLhsl(90, 60%, 37%)
HSVhsv(90, 75%, 60%)
CMYKcmyk(37.9%, 0%, 75.2%, 40%)
CIE-LABlab(57.42, -37.76, 51.07)
CIE-LCHlch(57.42, 63.52, 126.48°)
OKLaboklab(62.02% -0.1063 0.1143)
OKLCHoklch(62.02% 0.156 132.9)
XYZxyz(16.4602, 25.3546, 5.8600)
Luminance0.2535 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9926 #602699
analogous
#989926 #5F9926 #269927
triadic
#5F9926 #265F99 #99265F
tetradic
#5F9926 #269899 #602699 #992726
square
#5F9926 #269899 #602699 #992726
split-complementary
#5F9926 #272699 #992698
monochromatic
#22370E #41681A #5F9926 #7DCA32 #9CD862

Accessibility & contrast

On white

3.46
#5F9926 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#5F9926 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F9926
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9926#FFFFFF#000000##000000
##5F99261.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D0F
Deuteranopia (green-blind)
#988831
Tritanopia (blue-blind)
#609383
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5f9926;
/* rgb */ color: rgb(95, 153, 38);
/* oklch */ color: oklch(62.0% 0.156 132.9);
Tailwind
colors: {
  custom: {
    50: '#91b769',
    500: '#5f9926',
    950: '#000000',
  },
}
SCSS
$custom: #5f9926;
$custom-light: #91b769;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9926",
  "rgb": {
    "r": 95,
    "g": 153,
    "b": 38
  },
  "hsl": {
    "h": 90.261,
    "s": 60.209,
    "l": 37.451
  },
  "oklch": {
    "l": 0.62024,
    "c": 0.15611,
    "h": 132.9
  },
  "luminance": 0.25355
}

Semantic roles & 50–950 ramp

primary
#5F9926
secondary
#8E5EBD
accent
#44E395
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5F9926

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

Preview Lab → · Contrast checker → · Palette generator →

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