#5FA226#5FA226

#5FA226 is a light, vivid yellow-green. Relative luminance 0.284; OKLCH L 64.3% C 0.168 H 134.2°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#5FA226
RGBrgb(95, 162, 38)
HSLhsl(92, 62%, 39%)
HSVhsv(92, 77%, 64%)
CMYKcmyk(41.4%, 0%, 76.5%, 36.5%)
CIE-LABlab(60.26, -41.63, 53.84)
CIE-LCHlch(60.26, 68.06, 127.71°)
OKLaboklab(64.35% -0.1168 0.1201)
OKLCHoklch(64.35% 0.168 134.2)
XYZxyz(17.9892, 28.4126, 6.3696)
Luminance0.2841 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA226 #6926A2
analogous
#9DA226 #5FA226 #26A22B
triadic
#5FA226 #265FA2 #A2265F
tetradic
#5FA226 #269DA2 #6926A2 #A22B26
square
#5FA226 #269DA2 #6926A2 #A22B26
split-complementary
#5FA226 #2B26A2 #A2269D
monochromatic
#253F0F #42701A #5FA226 #7CD035 #9DDB67

Accessibility & contrast

On white

3.14
#5FA226 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#5FA226 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5FA226
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA226#FFFFFF#000000##000000
##5FA2261.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89508
Deuteranopia (green-blind)
#9F8F33
Tritanopia (blue-blind)
#5E9C8B
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5fa226;
/* rgb */ color: rgb(95, 162, 38);
/* oklch */ color: oklch(64.3% 0.168 134.2);
Tailwind
colors: {
  custom: {
    50: '#92be6a',
    500: '#5fa226',
    950: '#000000',
  },
}
SCSS
$custom: #5fa226;
$custom-light: #92be6a;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa226",
  "rgb": {
    "r": 95,
    "g": 162,
    "b": 38
  },
  "hsl": {
    "h": 92.419,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.64348,
    "c": 0.16752,
    "h": 134.2
  },
  "luminance": 0.28413
}

Semantic roles & 50–950 ramp

primary
#5FA226
secondary
#9663C1
accent
#43E59A
background
#F9FBF6
surface
#F2F7EB
border
#CCD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5FA226

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

Preview Lab → · Contrast checker → · Palette generator →

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