#558227#558227

#558227 is a mid, vivid yellow-green. Relative luminance 0.180; OKLCH L 55.5% C 0.130 H 132.1°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#558227
RGBrgb(85, 130, 39)
HSLhsl(90, 54%, 33%)
HSVhsv(90, 70%, 51%)
CMYKcmyk(34.6%, 0%, 70%, 49%)
CIE-LABlab(49.55, -31.04, 42.54)
CIE-LCHlch(49.55, 52.66, 126.12°)
OKLaboklab(55.46% -0.0873 0.0968)
OKLCHoklch(55.46% 0.13 132.1)
XYZxyz(12.0950, 18.0426, 4.7644)
Luminance0.1804 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#558227 #542782
analogous
#828127 #558227 #288227
triadic
#558227 #275582 #822755
tetradic
#558227 #278281 #542782 #822728
square
#558227 #278281 #542782 #822728
split-complementary
#558227 #272882 #812782
monochromatic
#17240B #365319 #558227 #74B135 #92CD57

Accessibility & contrast

On white

4.56
#558227 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#558227 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #558227
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##558227#FFFFFF#000000##000000
##5582271.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#88781A
Deuteranopia (green-blind)
#81752F
Tritanopia (blue-blind)
#567D70
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #558227;
/* rgb */ color: rgb(85, 130, 39);
/* oklch */ color: oklch(55.5% 0.130 132.1);
Tailwind
colors: {
  custom: {
    50: '#88a666',
    500: '#558227',
    950: '#000000',
  },
}
SCSS
$custom: #558227;
$custom-light: #88a666;
$custom-dark: #000000;
JSON
{
  "hex": "#558227",
  "rgb": {
    "r": 85,
    "g": 130,
    "b": 39
  },
  "hsl": {
    "h": 89.67,
    "s": 53.846,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55458,
    "c": 0.13033,
    "h": 132.1
  },
  "luminance": 0.18043
}

Semantic roles & 50–950 ramp

primary
#558227
secondary
#8253B1
accent
#4BDD93
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #558227

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

Preview Lab → · Contrast checker → · Palette generator →

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