#5FA236#5FA236

#5FA236 is a light, vivid yellow-green. Relative luminance 0.285; OKLCH L 64.5% C 0.157 H 135.7°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#5FA236
RGBrgb(95, 162, 54)
HSLhsl(97, 50%, 42%)
HSVhsv(97, 67%, 64%)
CMYKcmyk(41.4%, 0%, 66.7%, 36.5%)
CIE-LABlab(60.37, -40.45, 47.79)
CIE-LCHlch(60.37, 62.61, 130.24°)
OKLaboklab(64.48% -0.1124 0.1097)
OKLCHoklch(64.48% 0.157 135.7)
XYZxyz(18.3051, 28.5389, 8.0334)
Luminance0.2854 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA236 #7936A2
analogous
#95A236 #5FA236 #36A243
triadic
#5FA236 #365FA2 #A2365F
tetradic
#5FA236 #3695A2 #7936A2 #A24336
square
#5FA236 #3695A2 #7936A2 #A24336
split-complementary
#5FA236 #4336A2 #A23695
monochromatic
#294617 #447427 #5FA236 #7DC550 #9FD47E

Accessibility & contrast

On white

3.13
#5FA236 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#5FA236 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5FA236
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA236#FFFFFF#000000##000000
##5FA2361.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89528
Deuteranopia (green-blind)
#9F8F3F
Tritanopia (blue-blind)
#5D9C8C
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5fa236;
/* rgb */ color: rgb(95, 162, 54);
/* oklch */ color: oklch(64.5% 0.157 135.7);
Tailwind
colors: {
  custom: {
    50: '#91be72',
    500: '#5fa236',
    950: '#000000',
  },
}
SCSS
$custom: #5fa236;
$custom-light: #91be72;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa236",
  "rgb": {
    "r": 95,
    "g": 162,
    "b": 54
  },
  "hsl": {
    "h": 97.222,
    "s": 50,
    "l": 42.353
  },
  "oklch": {
    "l": 0.64477,
    "c": 0.15704,
    "h": 135.7
  },
  "luminance": 0.2854
}

Semantic roles & 50–950 ramp

primary
#5FA236
secondary
#A277BD
accent
#4EDAA5
background
#F9FBF7
surface
#F2F7ED
border
#CCD0C8
text
#0D1208
muted
#7E817B

Preview Lab

Preview with #5FA236

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

Preview Lab → · Contrast checker → · Palette generator →

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