#588126#588126

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

Color values

HEX#588126
RGBrgb(88, 129, 38)
HSLhsl(87, 54%, 33%)
HSVhsv(87, 71%, 51%)
CMYKcmyk(31.8%, 0%, 70.5%, 49.4%)
CIE-LABlab(49.39, -29.48, 42.85)
CIE-LCHlch(49.39, 52.01, 124.52°)
OKLaboklab(55.38% -0.0833 0.0972)
OKLCHoklch(55.38% 0.128 130.6)
XYZxyz(12.2245, 17.9148, 4.6472)
Luminance0.1792 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#588126 #4F2681
analogous
#817C26 #588126 #2A8126
triadic
#588126 #265881 #812658
tetradic
#588126 #26817C #4F2681 #81262A
square
#588126 #26817C #4F2681 #81262A
split-complementary
#588126 #262A81 #7C2681
monochromatic
#18220A #385218 #588126 #78B034 #97CD55

Accessibility & contrast

On white

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

On black

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

Best text color

#000000 on #588126
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##588126#FFFFFF#000000##000000
##5881261.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#877719
Deuteranopia (green-blind)
#81742E
Tritanopia (blue-blind)
#5A7B6F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #588126;
/* rgb */ color: rgb(88, 129, 38);
/* oklch */ color: oklch(55.4% 0.128 130.6);
Tailwind
colors: {
  custom: {
    50: '#8aa666',
    500: '#588126',
    950: '#000000',
  },
}
SCSS
$custom: #588126;
$custom-light: #8aa666;
$custom-dark: #000000;
JSON
{
  "hex": "#588126",
  "rgb": {
    "r": 88,
    "g": 129,
    "b": 38
  },
  "hsl": {
    "h": 87.033,
    "s": 54.491,
    "l": 32.745
  },
  "oklch": {
    "l": 0.55375,
    "c": 0.12805,
    "h": 130.6
  },
  "luminance": 0.17915
}

Semantic roles & 50–950 ramp

primary
#588126
secondary
#7D51B1
accent
#4ADE8D
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #588126

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

Preview Lab → · Contrast checker → · Palette generator →

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