#5F8232#5F8232

#5F8232 is a mid, moderate yellow-green. Relative luminance 0.186; OKLCH L 56.2% C 0.116 H 129.4°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#5F8232
RGBrgb(95, 130, 50)
HSLhsl(86, 44%, 35%)
HSVhsv(86, 62%, 51%)
CMYKcmyk(26.9%, 0%, 61.5%, 49%)
CIE-LABlab(50.25, -26.12, 38.48)
CIE-LCHlch(50.25, 46.51, 124.17°)
OKLaboklab(56.22% -0.0735 0.0895)
OKLCHoklch(56.22% 0.116 129.4)
XYZxyz(13.2776, 18.6281, 5.9130)
Luminance0.1863 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8232 #553282
analogous
#827D32 #5F8232 #378232
triadic
#5F8232 #325F82 #82325F
tetradic
#5F8232 #32827D #553282 #823237
square
#5F8232 #32827D #553282 #823237
split-complementary
#5F8232 #323782 #7D3282
monochromatic
#1E2A10 #3F5621 #5F8232 #7FAE43 #9DC569

Accessibility & contrast

On white

4.44
#5F8232 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#5F8232 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8232
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8232#FFFFFF#000000##000000
##5F82321.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#887929
Deuteranopia (green-blind)
#837738
Tritanopia (blue-blind)
#627D71
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5f8232;
/* rgb */ color: rgb(95, 130, 50);
/* oklch */ color: oklch(56.2% 0.116 129.4);
Tailwind
colors: {
  custom: {
    50: '#8fa66d',
    500: '#5f8232',
    950: '#000000',
  },
}
SCSS
$custom: #5f8232;
$custom-light: #8fa66d;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8232",
  "rgb": {
    "r": 95,
    "g": 130,
    "b": 50
  },
  "hsl": {
    "h": 86.25,
    "s": 44.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56219,
    "c": 0.11578,
    "h": 129.4
  },
  "luminance": 0.18628
}

Semantic roles & 50–950 ramp

primary
#5F8232
secondary
#8363AD
accent
#54D48C
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0D0F07
muted
#7D7F7A

Preview Lab

Preview with #5F8232

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

Preview Lab → · Contrast checker → · Palette generator →

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