#5F8A36#5F8A36

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

Color values

HEX#5F8A36
RGBrgb(95, 138, 54)
HSLhsl(91, 44%, 38%)
HSVhsv(91, 61%, 54%)
CMYKcmyk(31.2%, 0%, 60.9%, 45.9%)
CIE-LABlab(52.81, -29.61, 39.46)
CIE-LCHlch(52.81, 49.34, 126.88°)
OKLaboklab(58.31% -0.0827 0.092)
OKLCHoklch(58.31% 0.124 132)
XYZxyz(14.4735, 20.8757, 6.7562)
Luminance0.2088 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8A36 #61368A
analogous
#898A36 #5F8A36 #368A37
triadic
#5F8A36 #365F8A #8A365F
tetradic
#5F8A36 #36898A #61368A #8A3736
square
#5F8A36 #36898A #61368A #8A3736
split-complementary
#5F8A36 #37368A #8A3689
monochromatic
#223214 #415E25 #5F8A36 #7DB647 #9CC872

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F8A36#FFFFFF#000000##000000
##5F8A361.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)
#90802D
Deuteranopia (green-blind)
#8A7D3C
Tritanopia (blue-blind)
#608578
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5f8a36;
/* rgb */ color: rgb(95, 138, 54);
/* oklch */ color: oklch(58.3% 0.124 132.0);
Tailwind
colors: {
  custom: {
    50: '#8fac70',
    500: '#5f8a36',
    950: '#000000',
  },
}
SCSS
$custom: #5f8a36;
$custom-light: #8fac70;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8a36",
  "rgb": {
    "r": 95,
    "g": 138,
    "b": 54
  },
  "hsl": {
    "h": 90.714,
    "s": 43.75,
    "l": 37.647
  },
  "oklch": {
    "l": 0.58313,
    "c": 0.12375,
    "h": 132
  },
  "luminance": 0.20876
}

Semantic roles & 50–950 ramp

primary
#5F8A36
secondary
#8F6BB1
accent
#54D395
background
#F9FAF6
surface
#F1F4EC
border
#CBCEC7
text
#0D1008
muted
#7E7F7B

Preview Lab

Preview with #5F8A36

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

Preview Lab → · Contrast checker → · Palette generator →

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