#588228#588228

#588228 is a mid, vivid yellow-green. Relative luminance 0.182; OKLCH L 55.7% C 0.128 H 131.1°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#588228
RGBrgb(88, 130, 40)
HSLhsl(88, 53%, 33%)
HSVhsv(88, 69%, 51%)
CMYKcmyk(32.3%, 0%, 69.2%, 49%)
CIE-LABlab(49.73, -29.79, 42.35)
CIE-LCHlch(49.73, 51.78, 125.13°)
OKLaboklab(55.65% -0.084 0.0965)
OKLCHoklch(55.65% 0.128 131.1)
XYZxyz(12.3900, 18.1928, 4.8658)
Luminance0.1819 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#588228 #522882
analogous
#827F28 #588228 #2B8228
triadic
#588228 #285882 #822858
tetradic
#588228 #28827F #522882 #82282B
square
#588228 #28827F #522882 #82282B
split-complementary
#588228 #282B82 #7F2882
monochromatic
#19240B #38531A #588228 #78B136 #96CC59

Accessibility & contrast

On white

4.53
#588228 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#588228 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #588228
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##588228#FFFFFF#000000##000000
##5882281.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#88781B
Deuteranopia (green-blind)
#827530
Tritanopia (blue-blind)
#5A7C70
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #588228;
/* rgb */ color: rgb(88, 130, 40);
/* oklch */ color: oklch(55.7% 0.128 131.1);
Tailwind
colors: {
  custom: {
    50: '#8aa667',
    500: '#588228',
    950: '#000000',
  },
}
SCSS
$custom: #588228;
$custom-light: #8aa667;
$custom-dark: #000000;
JSON
{
  "hex": "#588228",
  "rgb": {
    "r": 88,
    "g": 130,
    "b": 40
  },
  "hsl": {
    "h": 88,
    "s": 52.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.55654,
    "c": 0.12792,
    "h": 131.1
  },
  "luminance": 0.18193
}

Semantic roles & 50–950 ramp

primary
#588228
secondary
#8055B1
accent
#4BDC8F
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #588228

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

Preview Lab → · Contrast checker → · Palette generator →

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