#5FAF38#5FAF38

#5FAF38 is a light, vivid green. Relative luminance 0.334; OKLCH L 67.8% C 0.173 H 137.1°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#5FAF38
RGBrgb(95, 175, 56)
HSLhsl(100, 52%, 45%)
HSVhsv(100, 68%, 69%)
CMYKcmyk(45.7%, 0%, 68%, 31.4%)
CIE-LABlab(64.47, -45.70, 51.33)
CIE-LCHlch(64.47, 68.73, 131.68°)
OKLaboklab(67.84% -0.1265 0.1174)
OKLCHoklch(67.84% 0.173 137.1)
XYZxyz(20.7625, 33.3771, 9.0890)
Luminance0.3338 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FAF38 #8838AF
analogous
#9AAF38 #5FAF38 #38AF4C
triadic
#5FAF38 #385FAF #AF385F
tetradic
#5FAF38 #389AAF #8838AF #AF4C38
square
#5FAF38 #389AAF #8838AF #AF4C38
split-complementary
#5FAF38 #4C38AF #AF389A
monochromatic
#2D521A #468129 #5FAF38 #7FCA5A #A3D988

Accessibility & contrast

On white

2.74
#5FAF38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#5FAF38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FAF38
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FAF38#FFFFFF#000000##000000
##5FAF381.002.747.687.68
#FFFFFF2.741.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A127
Deuteranopia (green-blind)
#AA9A43
Tritanopia (blue-blind)
#5BA997
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #5faf38;
/* rgb */ color: rgb(95, 175, 56);
/* oklch */ color: oklch(67.8% 0.173 137.1);
Tailwind
colors: {
  custom: {
    50: '#93c775',
    500: '#5faf38',
    950: '#000000',
  },
}
SCSS
$custom: #5faf38;
$custom-light: #93c775;
$custom-dark: #000000;
JSON
{
  "hex": "#5faf38",
  "rgb": {
    "r": 95,
    "g": 175,
    "b": 56
  },
  "hsl": {
    "h": 100.336,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.67835,
    "c": 0.17258,
    "h": 137.1
  },
  "luminance": 0.33378
}

Semantic roles & 50–950 ramp

primary
#5FAF38
secondary
#AD80C3
accent
#4DDBAC
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0E1309
muted
#7E827B

Preview Lab

Preview with #5FAF38

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

Preview Lab → · Contrast checker → · Palette generator →

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