#588A1F#588A1F

#588A1F is a mid, vivid yellow-green. Relative luminance 0.204; OKLCH L 57.7% C 0.145 H 131.9°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#588A1F
RGBrgb(88, 138, 31)
HSLhsl(88, 63%, 33%)
HSVhsv(88, 78%, 54%)
CMYKcmyk(36.2%, 0%, 77.5%, 45.9%)
CIE-LABlab(52.23, -34.13, 48.39)
CIE-LCHlch(52.23, 59.21, 125.19°)
OKLaboklab(57.67% -0.0965 0.1077)
OKLCHoklch(57.67% 0.145 131.9)
XYZxyz(13.3602, 20.3501, 4.5201)
Luminance0.2035 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#588A1F #511F8A
analogous
#8A861F #588A1F #238A1F
triadic
#588A1F #1F588A #8A1F58
tetradic
#588A1F #1F8A86 #511F8A #8A1F23
square
#588A1F #1F8A86 #511F8A #8A1F23
split-complementary
#588A1F #1F238A #861F8A
monochromatic
#182609 #385814 #588A1F #78BC2A #96D74C

Accessibility & contrast

On white

4.14
#588A1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#588A1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #588A1F
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##588A1F#FFFFFF#000000##000000
##588A1F1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F06
Deuteranopia (green-blind)
#897B2A
Tritanopia (blue-blind)
#598476
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #588a1f;
/* rgb */ color: rgb(88, 138, 31);
/* oklch */ color: oklch(57.7% 0.145 131.9);
Tailwind
colors: {
  custom: {
    50: '#8cac63',
    500: '#588a1f',
    950: '#000000',
  },
}
SCSS
$custom: #588a1f;
$custom-light: #8cac63;
$custom-dark: #000000;
JSON
{
  "hex": "#588a1f",
  "rgb": {
    "r": 88,
    "g": 138,
    "b": 31
  },
  "hsl": {
    "h": 88.037,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.57673,
    "c": 0.14466,
    "h": 131.9
  },
  "luminance": 0.20351
}

Semantic roles & 50–950 ramp

primary
#588A1F
secondary
#7F4BBA
accent
#41E68F
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #588A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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