#5F892D#5F892D

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

Color values

HEX#5F892D
RGBrgb(95, 137, 45)
HSLhsl(87, 51%, 36%)
HSVhsv(87, 67%, 54%)
CMYKcmyk(30.7%, 0%, 67.2%, 46.3%)
CIE-LABlab(52.41, -29.96, 43.15)
CIE-LCHlch(52.41, 52.53, 124.77°)
OKLaboklab(57.96% -0.0845 0.0987)
OKLCHoklch(57.96% 0.13 130.6)
XYZxyz(14.1385, 20.5133, 5.6966)
Luminance0.2051 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F892D #572D89
analogous
#89852D #5F892D #31892D
triadic
#5F892D #2D5F89 #892D5F
tetradic
#5F892D #2D8985 #572D89 #892D31
square
#5F892D #2D8985 #572D89 #892D31
split-complementary
#5F892D #2D3189 #852D89
monochromatic
#1F2D0F #3F5B1E #5F892D #7FB73C #9DCC64

Accessibility & contrast

On white

4.12
#5F892D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F892D#FFFFFF#000000##000000
##5F892D1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f892d;
/* rgb */ color: rgb(95, 137, 45);
/* oklch */ color: oklch(58.0% 0.130 130.6);
Tailwind
colors: {
  custom: {
    50: '#90ab6b',
    500: '#5f892d',
    950: '#000000',
  },
}
SCSS
$custom: #5f892d;
$custom-light: #90ab6b;
$custom-dark: #000000;
JSON
{
  "hex": "#5f892d",
  "rgb": {
    "r": 95,
    "g": 137,
    "b": 45
  },
  "hsl": {
    "h": 87.391,
    "s": 50.549,
    "l": 35.686
  },
  "oklch": {
    "l": 0.5796,
    "c": 0.12994,
    "h": 130.6
  },
  "luminance": 0.20514
}

Semantic roles & 50–950 ramp

primary
#5F892D
secondary
#855FB3
accent
#4EDA8E
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #5F892D

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

Preview Lab → · Contrast checker → · Palette generator →

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