#5FA626#5FA626

#5FA626 is a light, vivid yellow-green. Relative luminance 0.298; OKLCH L 65.4% C 0.172 H 134.7°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#5FA626
RGBrgb(95, 166, 38)
HSLhsl(93, 63%, 40%)
HSVhsv(93, 77%, 65%)
CMYKcmyk(42.8%, 0%, 77.1%, 34.9%)
CIE-LABlab(61.52, -43.30, 55.06)
CIE-LCHlch(61.52, 70.05, 128.19°)
OKLaboklab(65.38% -0.1213 0.1227)
OKLCHoklch(65.38% 0.172 134.7)
XYZxyz(18.7050, 29.8442, 6.6083)
Luminance0.2984 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA626 #6D26A6
analogous
#9FA626 #5FA626 #26A62D
triadic
#5FA626 #265FA6 #A6265F
tetradic
#5FA626 #269FA6 #6D26A6 #A62D26
square
#5FA626 #269FA6 #6D26A6 #A62D26
split-complementary
#5FA626 #2D26A6 #A6269F
monochromatic
#26420F #43741B #5FA626 #7CD138 #9DDD6A

Accessibility & contrast

On white

3.01
#5FA626 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#5FA626 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5FA626
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA626#FFFFFF#000000##000000
##5FA6261.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9805
Deuteranopia (green-blind)
#A39234
Tritanopia (blue-blind)
#5E9F8E
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5fa626;
/* rgb */ color: rgb(95, 166, 38);
/* oklch */ color: oklch(65.4% 0.172 134.7);
Tailwind
colors: {
  custom: {
    50: '#93c16a',
    500: '#5fa626',
    950: '#000000',
  },
}
SCSS
$custom: #5fa626;
$custom-light: #93c16a;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa626",
  "rgb": {
    "r": 95,
    "g": 166,
    "b": 38
  },
  "hsl": {
    "h": 93.281,
    "s": 62.745,
    "l": 40
  },
  "oklch": {
    "l": 0.65381,
    "c": 0.17249,
    "h": 134.7
  },
  "luminance": 0.29845
}

Semantic roles & 50–950 ramp

primary
#5FA626
secondary
#9965C3
accent
#42E69D
background
#F9FBF6
surface
#F2F7EC
border
#CCD0C7
text
#0E1207
muted
#7E817A

Preview Lab

Preview with #5FA626

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

Preview Lab → · Contrast checker → · Palette generator →

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