#5F892C#5F892C

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

Color values

HEX#5F892C
RGBrgb(95, 137, 44)
HSLhsl(87, 51%, 35%)
HSVhsv(87, 68%, 54%)
CMYKcmyk(30.7%, 0%, 67.9%, 46.3%)
CIE-LABlab(52.40, -30.04, 43.58)
CIE-LCHlch(52.40, 52.93, 124.58°)
OKLaboklab(57.95% -0.0848 0.0995)
OKLCHoklch(57.95% 0.131 130.4)
XYZxyz(14.1195, 20.5056, 5.5965)
Luminance0.2051 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F892C #562C89
analogous
#89842C #5F892C #30892C
triadic
#5F892C #2C5F89 #892C5F
tetradic
#5F892C #2C8984 #562C89 #892C30
square
#5F892C #2C8984 #562C89 #892C30
split-complementary
#5F892C #2C3089 #842C89
monochromatic
#1F2C0E #3F5B1D #5F892C #7FB73B #9DCD63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F892C#FFFFFF#000000##000000
##5F892C1.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)
#8F7F1F
Deuteranopia (green-blind)
#897C34
Tritanopia (blue-blind)
#618376
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5f892c;
/* rgb */ color: rgb(95, 137, 44);
/* oklch */ color: oklch(58.0% 0.131 130.4);
Tailwind
colors: {
  custom: {
    50: '#90ab6a',
    500: '#5f892c',
    950: '#000000',
  },
}
SCSS
$custom: #5f892c;
$custom-light: #90ab6a;
$custom-dark: #000000;
JSON
{
  "hex": "#5f892c",
  "rgb": {
    "r": 95,
    "g": 137,
    "b": 44
  },
  "hsl": {
    "h": 87.097,
    "s": 51.381,
    "l": 35.49
  },
  "oklch": {
    "l": 0.5795,
    "c": 0.13072,
    "h": 130.4
  },
  "luminance": 0.20506
}

Semantic roles & 50–950 ramp

primary
#5F892C
secondary
#845EB3
accent
#4DDB8D
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #5F892C

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

Preview Lab → · Contrast checker → · Palette generator →

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