#558B2D#558B2D

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

Color values

HEX#558B2D
RGBrgb(85, 139, 45)
HSLhsl(94, 51%, 36%)
HSVhsv(94, 68%, 55%)
CMYKcmyk(38.8%, 0%, 67.6%, 45.5%)
CIE-LABlab(52.49, -34.66, 43.07)
CIE-LCHlch(52.49, 55.28, 128.82°)
OKLaboklab(57.88% -0.0967 0.0987)
OKLCHoklch(57.88% 0.138 134.4)
XYZxyz(13.4523, 20.5854, 5.7467)
Luminance0.2059 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#558B2D #632D8B
analogous
#848B2D #558B2D #2D8B34
triadic
#558B2D #2D558B #8B2D55
tetradic
#558B2D #2D848B #632D8B #8B342D
square
#558B2D #2D848B #632D8B #8B342D
split-complementary
#558B2D #342D8B #8B2D84
monochromatic
#1C2F0F #395D1E #558B2D #71B93C #91CD65

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##558B2D#FFFFFF#000000##000000
##558B2D1.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)
#908021
Deuteranopia (green-blind)
#897C35
Tritanopia (blue-blind)
#548678
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #558b2d;
/* rgb */ color: rgb(85, 139, 45);
/* oklch */ color: oklch(57.9% 0.138 134.4);
Tailwind
colors: {
  custom: {
    50: '#89ad6b',
    500: '#558b2d',
    950: '#000000',
  },
}
SCSS
$custom: #558b2d;
$custom-light: #89ad6b;
$custom-dark: #000000;
JSON
{
  "hex": "#558b2d",
  "rgb": {
    "r": 85,
    "g": 139,
    "b": 45
  },
  "hsl": {
    "h": 94.468,
    "s": 51.087,
    "l": 36.078
  },
  "oklch": {
    "l": 0.57876,
    "c": 0.13816,
    "h": 134.4
  },
  "luminance": 0.20586
}

Semantic roles & 50–950 ramp

primary
#558B2D
secondary
#9060B4
accent
#4DDB9E
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #558B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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