#558126#558126

#558126 is a mid, vivid yellow-green. Relative luminance 0.178; OKLCH L 55.2% C 0.130 H 131.7°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#558126
RGBrgb(85, 129, 38)
HSLhsl(89, 54%, 33%)
HSVhsv(89, 71%, 51%)
CMYKcmyk(34.1%, 0%, 70.5%, 49.4%)
CIE-LABlab(49.22, -30.65, 42.62)
CIE-LCHlch(49.22, 52.49, 125.73°)
OKLaboklab(55.19% -0.0863 0.0968)
OKLCHoklch(55.19% 0.13 131.7)
XYZxyz(11.9463, 17.7713, 4.6341)
Luminance0.1777 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#558126 #522681
analogous
#817F26 #558126 #278126
triadic
#558126 #265581 #812655
tetradic
#558126 #26817F #522681 #812627
square
#558126 #26817F #522681 #812627
split-complementary
#558126 #262781 #7F2681
monochromatic
#17220A #365218 #558126 #74B034 #93CD55

Accessibility & contrast

On white

4.61
#558126 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#558126 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #558126
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##558126#FFFFFF#000000##FFFFFF
##5581261.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877719
Deuteranopia (green-blind)
#81742E
Tritanopia (blue-blind)
#567C6F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #558126;
/* rgb */ color: rgb(85, 129, 38);
/* oklch */ color: oklch(55.2% 0.130 131.7);
Tailwind
colors: {
  custom: {
    50: '#88a666',
    500: '#558126',
    950: '#000000',
  },
}
SCSS
$custom: #558126;
$custom-light: #88a666;
$custom-dark: #000000;
JSON
{
  "hex": "#558126",
  "rgb": {
    "r": 85,
    "g": 129,
    "b": 38
  },
  "hsl": {
    "h": 89.011,
    "s": 54.491,
    "l": 32.745
  },
  "oklch": {
    "l": 0.55186,
    "c": 0.1297,
    "h": 131.7
  },
  "luminance": 0.17772
}

Semantic roles & 50–950 ramp

primary
#558126
secondary
#8051B1
accent
#4ADE91
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #558126

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

Preview Lab → · Contrast checker → · Palette generator →

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