#588B31#588B31

#588B31 is a mid, vivid yellow-green. Relative luminance 0.208; OKLCH L 58.1% C 0.133 H 134.0°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#588B31
RGBrgb(88, 139, 49)
HSLhsl(94, 48%, 37%)
HSVhsv(94, 65%, 55%)
CMYKcmyk(36.7%, 0%, 64.7%, 45.5%)
CIE-LABlab(52.69, -33.20, 41.55)
CIE-LCHlch(52.69, 53.18, 128.63°)
OKLaboklab(58.09% -0.0926 0.096)
OKLCHoklch(58.09% 0.133 134)
XYZxyz(13.8112, 20.7611, 6.1847)
Luminance0.2076 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#588B31 #64318B
analogous
#858B31 #588B31 #318B37
triadic
#588B31 #31588B #8B3158
tetradic
#588B31 #31858B #64318B #8B3731
square
#588B31 #31858B #64318B #8B3731
split-complementary
#588B31 #37318B #8B3185
monochromatic
#1F3111 #3B5E21 #588B31 #75B841 #95CB6B

Accessibility & contrast

On white

4.08
#588B31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#588B31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #588B31
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##588B31#FFFFFF#000000##000000
##588B311.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#908026
Deuteranopia (green-blind)
#897C38
Tritanopia (blue-blind)
#588678
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #588b31;
/* rgb */ color: rgb(88, 139, 49);
/* oklch */ color: oklch(58.1% 0.133 134.0);
Tailwind
colors: {
  custom: {
    50: '#8bad6d',
    500: '#588b31',
    950: '#000000',
  },
}
SCSS
$custom: #588b31;
$custom-light: #8bad6d;
$custom-dark: #000000;
JSON
{
  "hex": "#588b31",
  "rgb": {
    "r": 88,
    "g": 139,
    "b": 49
  },
  "hsl": {
    "h": 94,
    "s": 47.872,
    "l": 36.863
  },
  "oklch": {
    "l": 0.58089,
    "c": 0.13333,
    "h": 134
  },
  "luminance": 0.20762
}

Semantic roles & 50–950 ramp

primary
#588B31
secondary
#9165B2
accent
#50D79D
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #588B31

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

Preview Lab → · Contrast checker → · Palette generator →

#588B31 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva