#588118#588118

#588118 is a mid, vivid yellow-green. Relative luminance 0.178; OKLCH L 55.3% C 0.137 H 129.4°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#588118
RGBrgb(88, 129, 24)
HSLhsl(83, 69%, 30%)
HSVhsv(83, 81%, 51%)
CMYKcmyk(31.8%, 0%, 81.4%, 49.4%)
CIE-LABlab(49.30, -30.37, 47.97)
CIE-LCHlch(49.30, 56.77, 122.34°)
OKLaboklab(55.27% -0.0869 0.1057)
OKLCHoklch(55.27% 0.137 129.4)
XYZxyz(12.0396, 17.8408, 3.6733)
Luminance0.1784 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#588118 #411881
analogous
#817618 #588118 #238118
triadic
#588118 #185881 #811858
tetradic
#588118 #188176 #411881 #811823
square
#588118 #188176 #411881 #811823
split-complementary
#588118 #182381 #761881
monochromatic
#121A05 #354D0E #588118 #7BB522 #9BDA39

Accessibility & contrast

On white

4.60
#588118 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#588118 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #588118
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##588118#FFFFFF#000000##FFFFFF
##5881181.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#827423
Tritanopia (blue-blind)
#5B7B6E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #588118;
/* rgb */ color: rgb(88, 129, 24);
/* oklch */ color: oklch(55.3% 0.137 129.4);
Tailwind
colors: {
  custom: {
    50: '#8ba65f',
    500: '#588118',
    950: '#000000',
  },
}
SCSS
$custom: #588118;
$custom-light: #8ba65f;
$custom-dark: #000000;
JSON
{
  "hex": "#588118",
  "rgb": {
    "r": 88,
    "g": 129,
    "b": 24
  },
  "hsl": {
    "h": 83.429,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.55273,
    "c": 0.13682,
    "h": 129.4
  },
  "luminance": 0.17841
}

Semantic roles & 50–950 ramp

primary
#588118
secondary
#6E40B5
accent
#3CEB81
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #588118

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

Preview Lab → · Contrast checker → · Palette generator →

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