#5FA837#5FA837

#5FA837 is a light, vivid yellow-green. Relative luminance 0.307; OKLCH L 66.0% C 0.164 H 136.4°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#5FA837
RGBrgb(95, 168, 55)
HSLhsl(99, 51%, 44%)
HSVhsv(99, 67%, 66%)
CMYKcmyk(43.5%, 0%, 67.3%, 34.1%)
CIE-LABlab(62.26, -42.90, 49.40)
CIE-LCHlch(62.26, 65.43, 130.97°)
OKLaboklab(66.03% -0.119 0.1132)
OKLCHoklch(66.03% 0.164 136.4)
XYZxyz(19.4110, 30.7129, 8.5191)
Luminance0.3071 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA837 #8037A8
analogous
#97A837 #5FA837 #37A847
triadic
#5FA837 #375FA8 #A8375F
tetradic
#5FA837 #3797A8 #8037A8 #A84737
square
#5FA837 #3797A8 #8037A8 #A84737
split-complementary
#5FA837 #4737A8 #A83797
monochromatic
#2B4C19 #457A28 #5FA837 #7DC755 #A1D683

Accessibility & contrast

On white

2.94
#5FA837 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#5FA837 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FA837
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA837#FFFFFF#000000##000000
##5FA8371.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A28
Deuteranopia (green-blind)
#A49441
Tritanopia (blue-blind)
#5CA291
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5fa837;
/* rgb */ color: rgb(95, 168, 55);
/* oklch */ color: oklch(66.0% 0.164 136.4);
Tailwind
colors: {
  custom: {
    50: '#92c273',
    500: '#5fa837',
    950: '#000000',
  },
}
SCSS
$custom: #5fa837;
$custom-light: #92c273;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa837",
  "rgb": {
    "r": 95,
    "g": 168,
    "b": 55
  },
  "hsl": {
    "h": 98.761,
    "s": 50.673,
    "l": 43.725
  },
  "oklch": {
    "l": 0.66028,
    "c": 0.16423,
    "h": 136.4
  },
  "luminance": 0.30714
}

Semantic roles & 50–950 ramp

primary
#5FA837
secondary
#A87BC0
accent
#4EDAA8
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0D1208
muted
#7E817B

Preview Lab

Preview with #5FA837

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

Preview Lab → · Contrast checker → · Palette generator →

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