#588128#588128

#588128 is a mid, vivid yellow-green. Relative luminance 0.179; OKLCH L 55.4% C 0.127 H 130.8°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#588128
RGBrgb(88, 129, 40)
HSLhsl(88, 53%, 33%)
HSVhsv(88, 69%, 51%)
CMYKcmyk(31.8%, 0%, 69%, 49.4%)
CIE-LABlab(49.41, -29.32, 42.02)
CIE-LCHlch(49.41, 51.23, 124.91°)
OKLaboklab(55.39% -0.0827 0.0958)
OKLCHoklch(55.39% 0.127 130.8)
XYZxyz(12.2577, 17.9280, 4.8217)
Luminance0.1793 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#588128 #512881
analogous
#817D28 #588128 #2C8128
triadic
#588128 #285881 #812858
tetradic
#588128 #28817D #512881 #81282C
square
#588128 #28817D #512881 #81282C
split-complementary
#588128 #282C81 #7D2881
monochromatic
#18240B #38521A #588128 #78B036 #96CB58

Accessibility & contrast

On white

4.58
#588128 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#588128 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #588128
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##588128#FFFFFF#000000##000000
##5881281.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#87771C
Deuteranopia (green-blind)
#81742F
Tritanopia (blue-blind)
#5A7C6F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #588128;
/* rgb */ color: rgb(88, 129, 40);
/* oklch */ color: oklch(55.4% 0.127 130.8);
Tailwind
colors: {
  custom: {
    50: '#8aa667',
    500: '#588128',
    950: '#000000',
  },
}
SCSS
$custom: #588128;
$custom-light: #8aa667;
$custom-dark: #000000;
JSON
{
  "hex": "#588128",
  "rgb": {
    "r": 88,
    "g": 129,
    "b": 40
  },
  "hsl": {
    "h": 87.64,
    "s": 52.663,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55393,
    "c": 0.12653,
    "h": 130.8
  },
  "luminance": 0.17928
}

Semantic roles & 50–950 ramp

primary
#588128
secondary
#7F54B0
accent
#4CDC8E
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #588128

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

Preview Lab → · Contrast checker → · Palette generator →

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