#558127#558127

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

Color values

HEX#558127
RGBrgb(85, 129, 39)
HSLhsl(89, 54%, 33%)
HSVhsv(89, 70%, 51%)
CMYKcmyk(34.1%, 0%, 69.8%, 49.4%)
CIE-LABlab(49.23, -30.57, 42.20)
CIE-LCHlch(49.23, 52.11, 125.92°)
OKLaboklab(55.2% -0.086 0.0961)
OKLCHoklch(55.2% 0.129 131.8)
XYZxyz(11.9626, 17.7779, 4.7202)
Luminance0.1778 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#558127 #532781
analogous
#818027 #558127 #288127
triadic
#558127 #275581 #812755
tetradic
#558127 #278180 #532781 #812728
square
#558127 #278180 #532781 #812728
split-complementary
#558127 #272881 #802781
monochromatic
#17230B #365219 #558127 #74B035 #93CC56

Accessibility & contrast

On white

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

On black

4.56
#558127 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##558127#FFFFFF#000000##FFFFFF
##5581271.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#87771A
Deuteranopia (green-blind)
#80742F
Tritanopia (blue-blind)
#567C6F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #558127;
/* rgb */ color: rgb(85, 129, 39);
/* oklch */ color: oklch(55.2% 0.129 131.8);
Tailwind
colors: {
  custom: {
    50: '#88a666',
    500: '#558127',
    950: '#000000',
  },
}
SCSS
$custom: #558127;
$custom-light: #88a666;
$custom-dark: #000000;
JSON
{
  "hex": "#558127",
  "rgb": {
    "r": 85,
    "g": 129,
    "b": 39
  },
  "hsl": {
    "h": 89.333,
    "s": 53.571,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55195,
    "c": 0.12895,
    "h": 131.8
  },
  "luminance": 0.17778
}

Semantic roles & 50–950 ramp

primary
#558127
secondary
#8153B1
accent
#4BDD92
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #558127

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

Preview Lab → · Contrast checker → · Palette generator →

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