#558138#558138

#558138 is a mid, moderate yellow-green. Relative luminance 0.179; OKLCH L 55.4% C 0.114 H 134.5°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#558138
RGBrgb(85, 129, 56)
HSLhsl(96, 39%, 36%)
HSVhsv(96, 57%, 51%)
CMYKcmyk(34.1%, 0%, 56.6%, 49.4%)
CIE-LABlab(49.40, -28.90, 34.38)
CIE-LCHlch(49.40, 44.92, 130.05°)
OKLaboklab(55.39% -0.08 0.0814)
OKLCHoklch(55.39% 0.114 134.5)
XYZxyz(12.3101, 17.9168, 6.5503)
Luminance0.1792 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#558138 #643881
analogous
#7A8138 #558138 #388140
triadic
#558138 #385581 #813855
tetradic
#558138 #387A81 #643881 #814038
square
#558138 #387A81 #643881 #814038
split-complementary
#558138 #403881 #81387A
monochromatic
#1D2C13 #395625 #558138 #71AC4B #91C272

Accessibility & contrast

On white

4.58
#558138 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#558138 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #558138
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##558138#FFFFFF#000000##000000
##5581381.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#867831
Deuteranopia (green-blind)
#7F743D
Tritanopia (blue-blind)
#557C71
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #558138;
/* rgb */ color: rgb(85, 129, 56);
/* oklch */ color: oklch(55.4% 0.114 134.5);
Tailwind
colors: {
  custom: {
    50: '#87a671',
    500: '#558138',
    950: '#000000',
  },
}
SCSS
$custom: #558138;
$custom-light: #87a671;
$custom-dark: #000000;
JSON
{
  "hex": "#558138",
  "rgb": {
    "r": 85,
    "g": 129,
    "b": 56
  },
  "hsl": {
    "h": 96.164,
    "s": 39.459,
    "l": 36.275
  },
  "oklch": {
    "l": 0.55388,
    "c": 0.11414,
    "h": 134.5
  },
  "luminance": 0.17917
}

Semantic roles & 50–950 ramp

primary
#558138
secondary
#916AAB
accent
#58CFA0
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0B0F08
muted
#7C7F7B

Preview Lab

Preview with #558138

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

Preview Lab → · Contrast checker → · Palette generator →

#558138 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva