#5FA126#5FA126

#5FA126 is a light, vivid yellow-green. Relative luminance 0.281; OKLCH L 64.1% C 0.166 H 134.1°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#5FA126
RGBrgb(95, 161, 38)
HSLhsl(92, 62%, 39%)
HSVhsv(92, 76%, 63%)
CMYKcmyk(41%, 0%, 76.4%, 36.9%)
CIE-LABlab(59.94, -41.21, 53.54)
CIE-LCHlch(59.94, 67.56, 127.59°)
OKLaboklab(64.09% -0.1156 0.1195)
OKLCHoklch(64.09% 0.166 134.1)
XYZxyz(17.8137, 28.0617, 6.3112)
Luminance0.2806 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA126 #6826A1
analogous
#9DA126 #5FA126 #26A12B
triadic
#5FA126 #265FA1 #A1265F
tetradic
#5FA126 #269DA1 #6826A1 #A12B26
square
#5FA126 #269DA1 #6826A1 #A12B26
split-complementary
#5FA126 #2B26A1 #A1269D
monochromatic
#253E0F #426F1A #5FA126 #7CCF35 #9CDB66

Accessibility & contrast

On white

3.18
#5FA126 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#5FA126 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5FA126
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA126#FFFFFF#000000##000000
##5FA1261.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79409
Deuteranopia (green-blind)
#9F8F33
Tritanopia (blue-blind)
#5E9B8A
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5fa126;
/* rgb */ color: rgb(95, 161, 38);
/* oklch */ color: oklch(64.1% 0.166 134.1);
Tailwind
colors: {
  custom: {
    50: '#92bd6a',
    500: '#5fa126',
    950: '#000000',
  },
}
SCSS
$custom: #5fa126;
$custom-light: #92bd6a;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa126",
  "rgb": {
    "r": 95,
    "g": 161,
    "b": 38
  },
  "hsl": {
    "h": 92.195,
    "s": 61.809,
    "l": 39.02
  },
  "oklch": {
    "l": 0.6409,
    "c": 0.16627,
    "h": 134.1
  },
  "luminance": 0.28063
}

Semantic roles & 50–950 ramp

primary
#5FA126
secondary
#9562C1
accent
#43E59A
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5FA126

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

Preview Lab → · Contrast checker → · Palette generator →

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