#5F7E2E#5F7E2E

#5F7E2E is a mid, moderate yellow-green. Relative luminance 0.176; OKLCH L 55.2% C 0.114 H 127.7°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#5F7E2E
RGBrgb(95, 126, 46)
HSLhsl(83, 47%, 34%)
HSVhsv(83, 63%, 49%)
CMYKcmyk(24.6%, 0%, 63.5%, 50.6%)
CIE-LABlab(48.95, -24.51, 38.93)
CIE-LCHlch(48.95, 46.01, 122.19°)
OKLaboklab(55.15% -0.0694 0.09)
OKLCHoklch(55.15% 0.114 127.7)
XYZxyz(12.6733, 17.5516, 5.3043)
Luminance0.1755 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7E2E #4D2E7E
analogous
#7E752E #5F7E2E #377E2E
triadic
#5F7E2E #2E5F7E #7E2E5F
tetradic
#5F7E2E #2E7E75 #4D2E7E #7E2E37
square
#5F7E2E #2E7E75 #4D2E7E #7E2E37
split-complementary
#5F7E2E #2E377E #752E7E
monochromatic
#1B240D #3D511E #5F7E2E #81AB3E #9EC561

Accessibility & contrast

On white

4.66
#5F7E2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#5F7E2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5F7E2E
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7E2E#FFFFFF#000000##FFFFFF
##5F7E2E1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847625
Deuteranopia (green-blind)
#807434
Tritanopia (blue-blind)
#62786D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5f7e2e;
/* rgb */ color: rgb(95, 126, 46);
/* oklch */ color: oklch(55.2% 0.114 127.7);
Tailwind
colors: {
  custom: {
    50: '#8fa36a',
    500: '#5f7e2e',
    950: '#000000',
  },
}
SCSS
$custom: #5f7e2e;
$custom-light: #8fa36a;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7e2e",
  "rgb": {
    "r": 95,
    "g": 126,
    "b": 46
  },
  "hsl": {
    "h": 83.25,
    "s": 46.512,
    "l": 33.725
  },
  "oklch": {
    "l": 0.55152,
    "c": 0.11361,
    "h": 127.7
  },
  "luminance": 0.17552
}

Semantic roles & 50–950 ramp

primary
#5F7E2E
secondary
#7B5CAC
accent
#52D685
background
#F8FAF6
surface
#F0F3EB
border
#CBCDC6
text
#0D0F07
muted
#7D7F7A

Preview Lab

Preview with #5F7E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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