#558B20#558B20

#558B20 is a mid, vivid yellow-green. Relative luminance 0.205; OKLCH L 57.8% C 0.147 H 133.0°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#558B20
RGBrgb(85, 139, 32)
HSLhsl(90, 63%, 34%)
HSVhsv(90, 77%, 55%)
CMYKcmyk(38.8%, 0%, 77%, 45.5%)
CIE-LABlab(52.40, -35.63, 48.14)
CIE-LCHlch(52.40, 59.89, 126.51°)
OKLaboklab(57.77% -0.1003 0.1075)
OKLCHoklch(57.77% 0.147 133)
XYZxyz(13.2394, 20.5002, 4.6256)
Luminance0.2050 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#558B20 #56208B
analogous
#8A8B20 #558B20 #208B20
triadic
#558B20 #20558B #8B2055
tetradic
#558B20 #208A8B #56208B #8B2020
square
#558B20 #208A8B #56208B #8B2020
split-complementary
#558B20 #20208B #8B208A
monochromatic
#182809 #375915 #558B20 #73BD2B #92D64F

Accessibility & contrast

On white

4.12
#558B20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#558B20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #558B20
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##558B20#FFFFFF#000000##000000
##558B201.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)
#918008
Deuteranopia (green-blind)
#8A7B2B
Tritanopia (blue-blind)
#558577
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #558b20;
/* rgb */ color: rgb(85, 139, 32);
/* oklch */ color: oklch(57.8% 0.147 133.0);
Tailwind
colors: {
  custom: {
    50: '#8aad64',
    500: '#558b20',
    950: '#000000',
  },
}
SCSS
$custom: #558b20;
$custom-light: #8aad64;
$custom-dark: #000000;
JSON
{
  "hex": "#558b20",
  "rgb": {
    "r": 85,
    "g": 139,
    "b": 32
  },
  "hsl": {
    "h": 90.28,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.57769,
    "c": 0.14701,
    "h": 133
  },
  "luminance": 0.20501
}

Semantic roles & 50–950 ramp

primary
#558B20
secondary
#844DBA
accent
#42E695
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #558B20

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

Preview Lab → · Contrast checker → · Palette generator →

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