#5F8236#5F8236

#5F8236 is a mid, moderate yellow-green. Relative luminance 0.187; OKLCH L 56.3% C 0.112 H 130.0°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#5F8236
RGBrgb(95, 130, 54)
HSLhsl(88, 41%, 36%)
HSVhsv(88, 58%, 51%)
CMYKcmyk(26.9%, 0%, 58.5%, 49%)
CIE-LABlab(50.29, -25.72, 36.58)
CIE-LCHlch(50.29, 44.72, 125.11°)
OKLaboklab(56.27% -0.072 0.0858)
OKLCHoklch(56.27% 0.112 130)
XYZxyz(13.3677, 18.6642, 6.3876)
Luminance0.1867 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8236 #593682
analogous
#827F36 #5F8236 #398236
triadic
#5F8236 #365F82 #82365F
tetradic
#5F8236 #36827F #593682 #823639
square
#5F8236 #36827F #593682 #823639
split-complementary
#5F8236 #363982 #7F3682
monochromatic
#202C12 #3F5724 #5F8236 #7FAD48 #9DC36F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F8236#FFFFFF#000000##000000
##5F82361.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)
#88792E
Deuteranopia (green-blind)
#83773B
Tritanopia (blue-blind)
#617D71
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5f8236;
/* rgb */ color: rgb(95, 130, 54);
/* oklch */ color: oklch(56.3% 0.112 130.0);
Tailwind
colors: {
  custom: {
    50: '#8fa670',
    500: '#5f8236',
    950: '#000000',
  },
}
SCSS
$custom: #5f8236;
$custom-light: #8fa670;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8236",
  "rgb": {
    "r": 95,
    "g": 130,
    "b": 54
  },
  "hsl": {
    "h": 87.632,
    "s": 41.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.56267,
    "c": 0.11204,
    "h": 130
  },
  "luminance": 0.18665
}

Semantic roles & 50–950 ramp

primary
#5F8236
secondary
#8768AC
accent
#57D18F
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0C0F07
muted
#7D7F7A

Preview Lab

Preview with #5F8236

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

Preview Lab → · Contrast checker → · Palette generator →

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