#558B2C#558B2C

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

Color values

HEX#558B2C
RGBrgb(85, 139, 44)
HSLhsl(94, 52%, 36%)
HSVhsv(94, 68%, 55%)
CMYKcmyk(38.8%, 0%, 68.3%, 45.5%)
CIE-LABlab(52.48, -34.74, 43.49)
CIE-LCHlch(52.48, 55.67, 128.62°)
OKLaboklab(57.87% -0.097 0.0995)
OKLCHoklch(57.87% 0.139 134.3)
XYZxyz(13.4333, 20.5777, 5.6465)
Luminance0.2058 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#558B2C #622C8B
analogous
#848B2C #558B2C #2C8B32
triadic
#558B2C #2C558B #8B2C55
tetradic
#558B2C #2C848B #622C8B #8B322C
square
#558B2C #2C848B #622C8B #8B322C
split-complementary
#558B2C #322C8B #8B2C84
monochromatic
#1C2E0F #395D1D #558B2C #71B93B #91CE64

Accessibility & contrast

On white

4.11
#558B2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##558B2C#FFFFFF#000000##000000
##558B2C1.004.115.125.12
#FFFFFF4.111.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#90801F
Deuteranopia (green-blind)
#897C34
Tritanopia (blue-blind)
#548678
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #558b2c;
/* rgb */ color: rgb(85, 139, 44);
/* oklch */ color: oklch(57.9% 0.139 134.3);
Tailwind
colors: {
  custom: {
    50: '#89ad6a',
    500: '#558b2c',
    950: '#000000',
  },
}
SCSS
$custom: #558b2c;
$custom-light: #89ad6a;
$custom-dark: #000000;
JSON
{
  "hex": "#558b2c",
  "rgb": {
    "r": 85,
    "g": 139,
    "b": 44
  },
  "hsl": {
    "h": 94.105,
    "s": 51.913,
    "l": 35.882
  },
  "oklch": {
    "l": 0.57867,
    "c": 0.13893,
    "h": 134.3
  },
  "luminance": 0.20578
}

Semantic roles & 50–950 ramp

primary
#558B2C
secondary
#8F5FB4
accent
#4CDB9E
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #558B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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