#558A1B#558A1B

#558A1B is a mid, vivid yellow-green. Relative luminance 0.202; OKLCH L 57.5% C 0.148 H 132.5°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#558A1B
RGBrgb(85, 138, 27)
HSLhsl(89, 67%, 32%)
HSVhsv(89, 80%, 54%)
CMYKcmyk(38.4%, 0%, 80.4%, 45.9%)
CIE-LABlab(52.05, -35.48, 49.50)
CIE-LCHlch(52.05, 60.90, 125.63°)
OKLaboklab(57.47% -0.1003 0.1095)
OKLCHoklch(57.47% 0.148 132.5)
XYZxyz(13.0325, 20.1868, 4.2465)
Luminance0.2019 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#558A1B #501B8A
analogous
#8A881B #558A1B #1D8A1B
triadic
#558A1B #1B558A #8A1B55
tetradic
#558A1B #1B8A88 #501B8A #8A1B1D
square
#558A1B #1B8A88 #501B8A #8A1B1D
split-complementary
#558A1B #1B1D8A #881B8A
monochromatic
#162407 #355711 #558A1B #75BD25 #93DB45

Accessibility & contrast

On white

4.17
#558A1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#558A1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #558A1B
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##558A1B#FFFFFF#000000##000000
##558A1B1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#897B27
Tritanopia (blue-blind)
#568475
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #558a1b;
/* rgb */ color: rgb(85, 138, 27);
/* oklch */ color: oklch(57.5% 0.148 132.5);
Tailwind
colors: {
  custom: {
    50: '#8aac61',
    500: '#558a1b',
    950: '#000000',
  },
}
SCSS
$custom: #558a1b;
$custom-light: #8aac61;
$custom-dark: #000000;
JSON
{
  "hex": "#558a1b",
  "rgb": {
    "r": 85,
    "g": 138,
    "b": 27
  },
  "hsl": {
    "h": 88.649,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.57473,
    "c": 0.14847,
    "h": 132.5
  },
  "luminance": 0.20187
}

Semantic roles & 50–950 ramp

primary
#558A1B
secondary
#7E45BC
accent
#3EEA90
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #558A1B

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

Preview Lab → · Contrast checker → · Palette generator →

#558A1B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva