#5F892F#5F892F

#5F892F is a mid, vivid yellow-green. Relative luminance 0.205; OKLCH L 58.0% C 0.128 H 130.8°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#5F892F
RGBrgb(95, 137, 47)
HSLhsl(88, 49%, 36%)
HSVhsv(88, 66%, 54%)
CMYKcmyk(30.7%, 0%, 65.7%, 46.3%)
CIE-LABlab(52.43, -29.79, 42.28)
CIE-LCHlch(52.43, 51.72, 125.16°)
OKLaboklab(57.98% -0.0838 0.0972)
OKLCHoklch(57.98% 0.128 130.8)
XYZxyz(14.1779, 20.5290, 5.9043)
Luminance0.2053 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F892F #592F89
analogous
#89862F #5F892F #32892F
triadic
#5F892F #2F5F89 #892F5F
tetradic
#5F892F #2F8986 #592F89 #892F32
square
#5F892F #2F8986 #592F89 #892F32
split-complementary
#5F892F #2F3289 #862F89
monochromatic
#202E10 #3F5B1F #5F892F #7FB73F #9DCB67

Accessibility & contrast

On white

4.11
#5F892F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#5F892F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F892F
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F892F#FFFFFF#000000##000000
##5F892F1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F24
Deuteranopia (green-blind)
#897C36
Tritanopia (blue-blind)
#618376
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5f892f;
/* rgb */ color: rgb(95, 137, 47);
/* oklch */ color: oklch(58.0% 0.128 130.8);
Tailwind
colors: {
  custom: {
    50: '#8fab6c',
    500: '#5f892f',
    950: '#000000',
  },
}
SCSS
$custom: #5f892f;
$custom-light: #8fab6c;
$custom-dark: #000000;
JSON
{
  "hex": "#5f892f",
  "rgb": {
    "r": 95,
    "g": 137,
    "b": 47
  },
  "hsl": {
    "h": 88,
    "s": 48.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.57979,
    "c": 0.12833,
    "h": 130.8
  },
  "luminance": 0.20529
}

Semantic roles & 50–950 ramp

primary
#5F892F
secondary
#8762B2
accent
#4FD88F
background
#F9FAF6
surface
#F1F4EC
border
#CBCEC7
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #5F892F

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

Preview Lab → · Contrast checker → · Palette generator →

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