#558118#558118

#558118 is a mid, vivid yellow-green. Relative luminance 0.177; OKLCH L 55.1% C 0.138 H 130.5°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#558118
RGBrgb(85, 129, 24)
HSLhsl(85, 69%, 30%)
HSVhsv(85, 81%, 51%)
CMYKcmyk(34.1%, 0%, 81.4%, 49.4%)
CIE-LABlab(49.13, -31.56, 47.74)
CIE-LCHlch(49.13, 57.23, 123.47°)
OKLaboklab(55.08% -0.0899 0.1053)
OKLCHoklch(55.08% 0.138 130.5)
XYZxyz(11.7614, 17.6973, 3.6602)
Luminance0.1770 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#558118 #441881
analogous
#817818 #558118 #218118
triadic
#558118 #185581 #811855
tetradic
#558118 #188178 #441881 #811821
square
#558118 #188178 #441881 #811821
split-complementary
#558118 #182181 #781881
monochromatic
#111A05 #334D0E #558118 #77B522 #97DA39

Accessibility & contrast

On white

4.63
#558118 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#558118 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #558118
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##558118#FFFFFF#000000##FFFFFF
##5581181.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#817423
Tritanopia (blue-blind)
#577B6E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #558118;
/* rgb */ color: rgb(85, 129, 24);
/* oklch */ color: oklch(55.1% 0.138 130.5);
Tailwind
colors: {
  custom: {
    50: '#89a65f',
    500: '#558118',
    950: '#000000',
  },
}
SCSS
$custom: #558118;
$custom-light: #89a65f;
$custom-dark: #000000;
JSON
{
  "hex": "#558118",
  "rgb": {
    "r": 85,
    "g": 129,
    "b": 24
  },
  "hsl": {
    "h": 85.143,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.55083,
    "c": 0.13846,
    "h": 130.5
  },
  "luminance": 0.17698
}

Semantic roles & 50–950 ramp

primary
#558118
secondary
#7140B5
accent
#3CEB86
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #558118

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

Preview Lab → · Contrast checker → · Palette generator →

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