#558B1B#558B1B

#558B1B is a mid, vivid yellow-green. Relative luminance 0.205; OKLCH L 57.7% C 0.150 H 132.7°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#558B1B
RGBrgb(85, 139, 27)
HSLhsl(89, 67%, 33%)
HSVhsv(89, 81%, 55%)
CMYKcmyk(38.8%, 0%, 80.6%, 45.5%)
CIE-LABlab(52.37, -35.92, 49.80)
CIE-LCHlch(52.37, 61.40, 125.80°)
OKLaboklab(57.74% -0.1015 0.1101)
OKLCHoklch(57.74% 0.15 132.7)
XYZxyz(13.1766, 20.4751, 4.2945)
Luminance0.2048 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#558B1B #511B8B
analogous
#8B891B #558B1B #1D8B1B
triadic
#558B1B #1B558B #8B1B55
tetradic
#558B1B #1B8B89 #511B8B #8B1B1D
square
#558B1B #1B8B89 #511B8B #8B1B1D
split-complementary
#558B1B #1B1D8B #891B8B
monochromatic
#162507 #365811 #558B1B #74BE25 #93DB45

Accessibility & contrast

On white

4.12
#558B1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#558B1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #558B1B
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##558B1B#FFFFFF#000000##000000
##558B1B1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#8A7B27
Tritanopia (blue-blind)
#568576
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #558b1b;
/* rgb */ color: rgb(85, 139, 27);
/* oklch */ color: oklch(57.7% 0.150 132.7);
Tailwind
colors: {
  custom: {
    50: '#8aad62',
    500: '#558b1b',
    950: '#000000',
  },
}
SCSS
$custom: #558b1b;
$custom-light: #8aad62;
$custom-dark: #000000;
JSON
{
  "hex": "#558b1b",
  "rgb": {
    "r": 85,
    "g": 139,
    "b": 27
  },
  "hsl": {
    "h": 88.929,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.57737,
    "c": 0.14974,
    "h": 132.7
  },
  "luminance": 0.20476
}

Semantic roles & 50–950 ramp

primary
#558B1B
secondary
#7F45BC
accent
#3DEA91
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #558B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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