#5FA938#5FA938

#5FA938 is a light, vivid yellow-green. Relative luminance 0.311; OKLCH L 66.3% C 0.165 H 136.6°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#5FA938
RGBrgb(95, 169, 56)
HSLhsl(99, 50%, 44%)
HSVhsv(99, 67%, 66%)
CMYKcmyk(43.8%, 0%, 66.9%, 33.7%)
CIE-LABlab(62.59, -43.23, 49.32)
CIE-LCHlch(62.59, 65.59, 131.23°)
OKLaboklab(66.29% -0.1198 0.1132)
OKLCHoklch(66.29% 0.165 136.6)
XYZxyz(19.6205, 31.0932, 8.7083)
Luminance0.3109 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA938 #8238A9
analogous
#98A938 #5FA938 #38A94A
triadic
#5FA938 #385FA9 #A9385F
tetradic
#5FA938 #3898A9 #8238A9 #A94A38
square
#5FA938 #3898A9 #8238A9 #A94A38
split-complementary
#5FA938 #4A38A9 #A93898
monochromatic
#2B4D1A #457B29 #5FA938 #7EC757 #A1D785

Accessibility & contrast

On white

2.91
#5FA938 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#5FA938 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FA938
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA938#FFFFFF#000000##000000
##5FA9381.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B29
Deuteranopia (green-blind)
#A59542
Tritanopia (blue-blind)
#5CA392
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5fa938;
/* rgb */ color: rgb(95, 169, 56);
/* oklch */ color: oklch(66.3% 0.165 136.6);
Tailwind
colors: {
  custom: {
    50: '#92c374',
    500: '#5fa938',
    950: '#000000',
  },
}
SCSS
$custom: #5fa938;
$custom-light: #92c374;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa938",
  "rgb": {
    "r": 95,
    "g": 169,
    "b": 56
  },
  "hsl": {
    "h": 99.292,
    "s": 50.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.66294,
    "c": 0.16481,
    "h": 136.6
  },
  "luminance": 0.31094
}

Semantic roles & 50–950 ramp

primary
#5FA938
secondary
#A97CC0
accent
#4EDAAA
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0D1208
muted
#7E817B

Preview Lab

Preview with #5FA938

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

Preview Lab → · Contrast checker → · Palette generator →

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