#5FA338#5FA338

#5FA338 is a light, vivid yellow-green. Relative luminance 0.289; OKLCH L 64.8% C 0.157 H 136.0°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#5FA338
RGBrgb(95, 163, 56)
HSLhsl(98, 49%, 43%)
HSVhsv(98, 66%, 64%)
CMYKcmyk(41.7%, 0%, 65.6%, 36.1%)
CIE-LABlab(60.70, -40.70, 47.29)
CIE-LCHlch(60.70, 62.39, 130.71°)
OKLaboklab(64.75% -0.1129 0.1089)
OKLCHoklch(64.75% 0.157 136)
XYZxyz(18.5298, 28.9118, 8.3448)
Luminance0.2891 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA338 #7C38A3
analogous
#94A338 #5FA338 #38A347
triadic
#5FA338 #385FA3 #A3385F
tetradic
#5FA338 #3894A3 #7C38A3 #A34738
square
#5FA338 #3894A3 #7C38A3 #A34738
split-complementary
#5FA338 #4738A3 #A33894
monochromatic
#2A4819 #447528 #5FA338 #7DC454 #A0D482

Accessibility & contrast

On white

3.10
#5FA338 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#5FA338 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5FA338
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA338#FFFFFF#000000##000000
##5FA3381.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9962A
Deuteranopia (green-blind)
#9F9041
Tritanopia (blue-blind)
#5D9D8D
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5fa338;
/* rgb */ color: rgb(95, 163, 56);
/* oklch */ color: oklch(64.8% 0.157 136.0);
Tailwind
colors: {
  custom: {
    50: '#91bf74',
    500: '#5fa338',
    950: '#000000',
  },
}
SCSS
$custom: #5fa338;
$custom-light: #91bf74;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa338",
  "rgb": {
    "r": 95,
    "g": 163,
    "b": 56
  },
  "hsl": {
    "h": 98.131,
    "s": 48.858,
    "l": 42.941
  },
  "oklch": {
    "l": 0.64753,
    "c": 0.15687,
    "h": 136
  },
  "luminance": 0.28913
}

Semantic roles & 50–950 ramp

primary
#5FA338
secondary
#A579BD
accent
#4FD8A6
background
#F9FBF7
surface
#F2F7ED
border
#CCD0C8
text
#0D1208
muted
#7E817B

Preview Lab

Preview with #5FA338

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

Preview Lab → · Contrast checker → · Palette generator →

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