#5F8A37#5F8A37

#5F8A37 is a mid, vivid yellow-green. Relative luminance 0.209; OKLCH L 58.3% C 0.123 H 132.1°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#5F8A37
RGBrgb(95, 138, 55)
HSLhsl(91, 43%, 38%)
HSVhsv(91, 60%, 54%)
CMYKcmyk(31.2%, 0%, 60.1%, 45.9%)
CIE-LABlab(52.82, -29.51, 39.00)
CIE-LCHlch(52.82, 48.90, 127.11°)
OKLaboklab(58.32% -0.0824 0.0911)
OKLCHoklch(58.32% 0.123 132.1)
XYZxyz(14.4972, 20.8852, 6.8811)
Luminance0.2089 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8A37 #62378A
analogous
#888A37 #5F8A37 #378A38
triadic
#5F8A37 #375F8A #8A375F
tetradic
#5F8A37 #37888A #62378A #8A3837
square
#5F8A37 #37888A #62378A #8A3837
split-complementary
#5F8A37 #38378A #8A3788
monochromatic
#233214 #415E26 #5F8A37 #7DB648 #9CC874

Accessibility & contrast

On white

4.06
#5F8A37 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#5F8A37 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8A37
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8A37#FFFFFF#000000##000000
##5F8A371.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#90802E
Deuteranopia (green-blind)
#897D3D
Tritanopia (blue-blind)
#608578
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5f8a37;
/* rgb */ color: rgb(95, 138, 55);
/* oklch */ color: oklch(58.3% 0.123 132.1);
Tailwind
colors: {
  custom: {
    50: '#8fac71',
    500: '#5f8a37',
    950: '#000000',
  },
}
SCSS
$custom: #5f8a37;
$custom-light: #8fac71;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8a37",
  "rgb": {
    "r": 95,
    "g": 138,
    "b": 55
  },
  "hsl": {
    "h": 91.084,
    "s": 43.005,
    "l": 37.843
  },
  "oklch": {
    "l": 0.58324,
    "c": 0.12284,
    "h": 132.1
  },
  "luminance": 0.20886
}

Semantic roles & 50–950 ramp

primary
#5F8A37
secondary
#906DB0
accent
#55D396
background
#F9FAF6
surface
#F1F4EC
border
#CBCEC7
text
#0D1008
muted
#7E7F7B

Preview Lab

Preview with #5F8A37

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

Preview Lab → · Contrast checker → · Palette generator →

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