#558018#558018

#558018 is a mid, vivid yellow-green. Relative luminance 0.174; OKLCH L 54.8% C 0.137 H 130.3°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#558018
RGBrgb(85, 128, 24)
HSLhsl(85, 68%, 30%)
HSVhsv(85, 81%, 50%)
CMYKcmyk(33.6%, 0%, 81.3%, 49.8%)
CIE-LABlab(48.80, -31.10, 47.44)
CIE-LCHlch(48.80, 56.72, 123.24°)
OKLaboklab(54.82% -0.0887 0.1047)
OKLCHoklch(54.82% 0.137 130.3)
XYZxyz(11.6303, 17.4352, 3.6165)
Luminance0.1744 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#558018 #431880
analogous
#807718 #558018 #218018
triadic
#558018 #185580 #801855
tetradic
#558018 #188077 #431880 #801821
square
#558018 #188077 #431880 #801821
split-complementary
#558018 #182180 #771880
monochromatic
#111A05 #334C0E #558018 #77B422 #97DA39

Accessibility & contrast

On white

4.68
#558018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#558018 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #558018
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##558018#FFFFFF#000000##FFFFFF
##5580181.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#807323
Tritanopia (blue-blind)
#577A6D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #558018;
/* rgb */ color: rgb(85, 128, 24);
/* oklch */ color: oklch(54.8% 0.137 130.3);
Tailwind
colors: {
  custom: {
    50: '#89a55f',
    500: '#558018',
    950: '#000000',
  },
}
SCSS
$custom: #558018;
$custom-light: #89a55f;
$custom-dark: #000000;
JSON
{
  "hex": "#558018",
  "rgb": {
    "r": 85,
    "g": 128,
    "b": 24
  },
  "hsl": {
    "h": 84.808,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.5482,
    "c": 0.13717,
    "h": 130.3
  },
  "luminance": 0.17436
}

Semantic roles & 50–950 ramp

primary
#558018
secondary
#7040B4
accent
#3DEB85
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #558018

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

Preview Lab → · Contrast checker → · Palette generator →

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