#588122#588122

#588122 is a mid, vivid yellow-green. Relative luminance 0.179; OKLCH L 55.3% C 0.131 H 130.2°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#588122
RGBrgb(88, 129, 34)
HSLhsl(86, 58%, 32%)
HSVhsv(86, 74%, 51%)
CMYKcmyk(31.8%, 0%, 73.6%, 49.4%)
CIE-LABlab(49.36, -29.77, 44.45)
CIE-LCHlch(49.36, 53.50, 123.81°)
OKLaboklab(55.34% -0.0845 0.1)
OKLCHoklch(55.34% 0.131 130.2)
XYZxyz(12.1634, 17.8903, 4.3254)
Luminance0.1789 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#588122 #4B2281
analogous
#817B22 #588122 #298122
triadic
#588122 #225881 #812258
tetradic
#588122 #22817B #4B2281 #812229
square
#588122 #22817B #4B2281 #812229
split-complementary
#588122 #222981 #7B2281
monochromatic
#162008 #375115 #588122 #79B12F #98D04D

Accessibility & contrast

On white

4.59
#588122 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#588122 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #588122
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##588122#FFFFFF#000000##FFFFFF
##5881221.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877712
Deuteranopia (green-blind)
#81742B
Tritanopia (blue-blind)
#5A7B6E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #588122;
/* rgb */ color: rgb(88, 129, 34);
/* oklch */ color: oklch(55.3% 0.131 130.2);
Tailwind
colors: {
  custom: {
    50: '#8ba664',
    500: '#588122',
    950: '#000000',
  },
}
SCSS
$custom: #588122;
$custom-light: #8ba664;
$custom-dark: #000000;
JSON
{
  "hex": "#588122",
  "rgb": {
    "r": 88,
    "g": 129,
    "b": 34
  },
  "hsl": {
    "h": 85.895,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55341,
    "c": 0.13088,
    "h": 130.2
  },
  "luminance": 0.17891
}

Semantic roles & 50–950 ramp

primary
#588122
secondary
#784BB3
accent
#46E189
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #588122

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

Preview Lab → · Contrast checker → · Palette generator →

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