#558125#558125

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

Color values

HEX#558125
RGBrgb(85, 129, 37)
HSLhsl(89, 55%, 33%)
HSVhsv(89, 71%, 51%)
CMYKcmyk(34.1%, 0%, 71.3%, 49.4%)
CIE-LABlab(49.21, -30.73, 43.03)
CIE-LCHlch(49.21, 52.87, 125.53°)
OKLaboklab(55.18% -0.0866 0.0975)
OKLCHoklch(55.18% 0.13 131.6)
XYZxyz(11.9304, 17.7649, 4.5503)
Luminance0.1777 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#558125 #512581
analogous
#817F25 #558125 #278125
triadic
#558125 #255581 #812555
tetradic
#558125 #25817F #512581 #812527
square
#558125 #25817F #512581 #812527
split-complementary
#558125 #252781 #7F2581
monochromatic
#16220A #365117 #558125 #74B133 #93CE53

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##558125#FFFFFF#000000##FFFFFF
##5581251.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)
#877717
Deuteranopia (green-blind)
#81742D
Tritanopia (blue-blind)
#567C6F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #558125;
/* rgb */ color: rgb(85, 129, 37);
/* oklch */ color: oklch(55.2% 0.130 131.6);
Tailwind
colors: {
  custom: {
    50: '#88a665',
    500: '#558125',
    950: '#000000',
  },
}
SCSS
$custom: #558125;
$custom-light: #88a665;
$custom-dark: #000000;
JSON
{
  "hex": "#558125",
  "rgb": {
    "r": 85,
    "g": 129,
    "b": 37
  },
  "hsl": {
    "h": 88.696,
    "s": 55.422,
    "l": 32.549
  },
  "oklch": {
    "l": 0.55177,
    "c": 0.13043,
    "h": 131.6
  },
  "luminance": 0.17765
}

Semantic roles & 50–950 ramp

primary
#558125
secondary
#7F50B2
accent
#49DF91
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #558125

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

Preview Lab → · Contrast checker → · Palette generator →

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