#5F892E#5F892E

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

Color values

HEX#5F892E
RGBrgb(95, 137, 46)
HSLhsl(88, 50%, 36%)
HSVhsv(88, 66%, 54%)
CMYKcmyk(30.7%, 0%, 66.4%, 46.3%)
CIE-LABlab(52.42, -29.87, 42.72)
CIE-LCHlch(52.42, 52.13, 124.96°)
OKLaboklab(57.97% -0.0842 0.098)
OKLCHoklch(57.97% 0.129 130.7)
XYZxyz(14.1580, 20.5210, 5.7993)
Luminance0.2052 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F892E #582E89
analogous
#89852E #5F892E #31892E
triadic
#5F892E #2E5F89 #892E5F
tetradic
#5F892E #2E8985 #582E89 #892E31
square
#5F892E #2E8985 #582E89 #892E31
split-complementary
#5F892E #2E3189 #852E89
monochromatic
#1F2D0F #3F5B1F #5F892E #7FB73D #9DCC66

Accessibility & contrast

On white

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

On black

5.10
#5F892E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F892E
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F892E#FFFFFF#000000##000000
##5F892E1.004.115.105.10
#FFFFFF4.111.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f892e;
/* rgb */ color: rgb(95, 137, 46);
/* oklch */ color: oklch(58.0% 0.129 130.7);
Tailwind
colors: {
  custom: {
    50: '#90ab6b',
    500: '#5f892e',
    950: '#000000',
  },
}
SCSS
$custom: #5f892e;
$custom-light: #90ab6b;
$custom-dark: #000000;
JSON
{
  "hex": "#5f892e",
  "rgb": {
    "r": 95,
    "g": 137,
    "b": 46
  },
  "hsl": {
    "h": 87.692,
    "s": 49.727,
    "l": 35.882
  },
  "oklch": {
    "l": 0.57969,
    "c": 0.12915,
    "h": 130.7
  },
  "luminance": 0.20521
}

Semantic roles & 50–950 ramp

primary
#5F892E
secondary
#8660B2
accent
#4FD98F
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #5F892E

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

Preview Lab → · Contrast checker → · Palette generator →

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