#5F892B#5F892B

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

Color values

HEX#5F892B
RGBrgb(95, 137, 43)
HSLhsl(87, 52%, 35%)
HSVhsv(87, 69%, 54%)
CMYKcmyk(30.7%, 0%, 68.6%, 46.3%)
CIE-LABlab(52.40, -30.12, 44.00)
CIE-LCHlch(52.40, 53.32, 124.39°)
OKLaboklab(57.94% -0.0851 0.1002)
OKLCHoklch(57.94% 0.131 130.3)
XYZxyz(14.1009, 20.4982, 5.4986)
Luminance0.2050 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F892B #552B89
analogous
#89842B #5F892B #30892B
triadic
#5F892B #2B5F89 #892B5F
tetradic
#5F892B #2B8984 #552B89 #892B30
square
#5F892B #2B8984 #552B89 #892B30
split-complementary
#5F892B #2B3089 #842B89
monochromatic
#1E2C0E #3F5A1C #5F892B #7FB83A #9DCD61

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F892B#FFFFFF#000000##000000
##5F892B1.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)
#8F7F1E
Deuteranopia (green-blind)
#897C33
Tritanopia (blue-blind)
#618376
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5f892b;
/* rgb */ color: rgb(95, 137, 43);
/* oklch */ color: oklch(57.9% 0.131 130.3);
Tailwind
colors: {
  custom: {
    50: '#90ab6a',
    500: '#5f892b',
    950: '#000000',
  },
}
SCSS
$custom: #5f892b;
$custom-light: #90ab6a;
$custom-dark: #000000;
JSON
{
  "hex": "#5f892b",
  "rgb": {
    "r": 95,
    "g": 137,
    "b": 43
  },
  "hsl": {
    "h": 86.809,
    "s": 52.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.57941,
    "c": 0.13149,
    "h": 130.3
  },
  "luminance": 0.20499
}

Semantic roles & 50–950 ramp

primary
#5F892B
secondary
#835CB3
accent
#4CDC8C
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #5F892B

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

Preview Lab → · Contrast checker → · Palette generator →

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