#58A228#58A228

#58A228 is a light, vivid yellow-green. Relative luminance 0.281; OKLCH L 64.0% C 0.170 H 135.9°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#58A228
RGBrgb(88, 162, 40)
HSLhsl(96, 60%, 40%)
HSVhsv(96, 75%, 64%)
CMYKcmyk(45.7%, 0%, 75.3%, 36.5%)
CIE-LABlab(59.95, -43.86, 52.74)
CIE-LCHlch(59.95, 68.59, 129.75°)
OKLaboklab(64.01% -0.1222 0.1182)
OKLCHoklch(64.01% 0.17 135.9)
XYZxyz(17.3274, 28.0675, 6.5116)
Luminance0.2807 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58A228 #7228A2
analogous
#95A228 #58A228 #28A235
triadic
#58A228 #2858A2 #A22858
tetradic
#58A228 #2895A2 #7228A2 #A23528
square
#58A228 #2895A2 #7228A2 #A23528
split-complementary
#58A228 #3528A2 #A22895
monochromatic
#234010 #3D711C #58A228 #74CE39 #96DA6A

Accessibility & contrast

On white

3.18
#58A228 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#58A228 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #58A228
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58A228#FFFFFF#000000##000000
##58A2281.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8940E
Deuteranopia (green-blind)
#9E8E34
Tritanopia (blue-blind)
#559C8B
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #58a228;
/* rgb */ color: rgb(88, 162, 40);
/* oklch */ color: oklch(64.0% 0.170 135.9);
Tailwind
colors: {
  custom: {
    50: '#8ebe6b',
    500: '#58a228',
    950: '#000000',
  },
}
SCSS
$custom: #58a228;
$custom-light: #8ebe6b;
$custom-dark: #000000;
JSON
{
  "hex": "#58a228",
  "rgb": {
    "r": 88,
    "g": 162,
    "b": 40
  },
  "hsl": {
    "h": 96.393,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.6401,
    "c": 0.17001,
    "h": 135.9
  },
  "luminance": 0.28069
}

Semantic roles & 50–950 ramp

primary
#58A228
secondary
#9D65C1
accent
#44E4A5
background
#F9FBF6
surface
#F1F7EC
border
#CBD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #58A228

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

Preview Lab → · Contrast checker → · Palette generator →

#58A228 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva