#558B2E#558B2E

#558B2E is a mid, vivid yellow-green. Relative luminance 0.206; OKLCH L 57.9% C 0.137 H 134.5°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#558B2E
RGBrgb(85, 139, 46)
HSLhsl(95, 50%, 36%)
HSVhsv(95, 67%, 55%)
CMYKcmyk(38.8%, 0%, 66.9%, 45.5%)
CIE-LABlab(52.50, -34.57, 42.64)
CIE-LCHlch(52.50, 54.89, 129.03°)
OKLaboklab(57.89% -0.0963 0.0979)
OKLCHoklch(57.89% 0.137 134.5)
XYZxyz(13.4718, 20.5931, 5.8493)
Luminance0.2059 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#558B2E #642E8B
analogous
#848B2E #558B2E #2E8B36
triadic
#558B2E #2E558B #8B2E55
tetradic
#558B2E #2E848B #642E8B #8B362E
square
#558B2E #2E848B #642E8B #8B362E
split-complementary
#558B2E #362E8B #8B2E84
monochromatic
#1D2F10 #395D1F #558B2E #71B93D #91CD67

Accessibility & contrast

On white

4.10
#558B2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#558B2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #558B2E
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##558B2E#FFFFFF#000000##000000
##558B2E1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#908022
Deuteranopia (green-blind)
#897C36
Tritanopia (blue-blind)
#548678
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #558b2e;
/* rgb */ color: rgb(85, 139, 46);
/* oklch */ color: oklch(57.9% 0.137 134.5);
Tailwind
colors: {
  custom: {
    50: '#89ad6b',
    500: '#558b2e',
    950: '#000000',
  },
}
SCSS
$custom: #558b2e;
$custom-light: #89ad6b;
$custom-dark: #000000;
JSON
{
  "hex": "#558b2e",
  "rgb": {
    "r": 85,
    "g": 139,
    "b": 46
  },
  "hsl": {
    "h": 94.839,
    "s": 50.27,
    "l": 36.275
  },
  "oklch": {
    "l": 0.57886,
    "c": 0.13739,
    "h": 134.5
  },
  "luminance": 0.20594
}

Semantic roles & 50–950 ramp

primary
#558B2E
secondary
#9161B3
accent
#4EDA9F
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #558B2E

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

Preview Lab → · Contrast checker → · Palette generator →

#558B2E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva