#5FA238#5FA238

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

Color values

HEX#5FA238
RGBrgb(95, 162, 56)
HSLhsl(98, 49%, 43%)
HSVhsv(98, 65%, 64%)
CMYKcmyk(41.4%, 0%, 65.4%, 36.5%)
CIE-LABlab(60.39, -40.27, 46.95)
CIE-LCHlch(60.39, 61.86, 130.62°)
OKLaboklab(64.5% -0.1117 0.1082)
OKLCHoklch(64.5% 0.156 135.9)
XYZxyz(18.3530, 28.5581, 8.2858)
Luminance0.2856 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA238 #7B38A2
analogous
#94A238 #5FA238 #38A246
triadic
#5FA238 #385FA2 #A2385F
tetradic
#5FA238 #3894A2 #7B38A2 #A24638
square
#5FA238 #3894A2 #7B38A2 #A24638
split-complementary
#5FA238 #4638A2 #A23894
monochromatic
#2A4719 #447528 #5FA238 #7DC453 #9FD381

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5FA238#FFFFFF#000000##000000
##5FA2381.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)
#A8952B
Deuteranopia (green-blind)
#9E9041
Tritanopia (blue-blind)
#5D9C8C
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5fa238;
/* rgb */ color: rgb(95, 162, 56);
/* oklch */ color: oklch(64.5% 0.156 135.9);
Tailwind
colors: {
  custom: {
    50: '#91be74',
    500: '#5fa238',
    950: '#000000',
  },
}
SCSS
$custom: #5fa238;
$custom-light: #91be74;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa238",
  "rgb": {
    "r": 95,
    "g": 162,
    "b": 56
  },
  "hsl": {
    "h": 97.925,
    "s": 48.624,
    "l": 42.745
  },
  "oklch": {
    "l": 0.64496,
    "c": 0.15552,
    "h": 135.9
  },
  "luminance": 0.28559
}

Semantic roles & 50–950 ramp

primary
#5FA238
secondary
#A479BD
accent
#50D8A6
background
#F9FBF7
surface
#F2F7ED
border
#CCD0C8
text
#0D1208
muted
#7E817B

Preview Lab

Preview with #5FA238

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

Preview Lab → · Contrast checker → · Palette generator →

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