#588B1F#588B1F

#588B1F is a mid, vivid yellow-green. Relative luminance 0.206; OKLCH L 57.9% C 0.146 H 132.0°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#588B1F
RGBrgb(88, 139, 31)
HSLhsl(88, 64%, 33%)
HSVhsv(88, 78%, 55%)
CMYKcmyk(36.7%, 0%, 77.7%, 45.5%)
CIE-LABlab(52.55, -34.58, 48.70)
CIE-LCHlch(52.55, 59.72, 125.38°)
OKLaboklab(57.94% -0.0977 0.1084)
OKLCHoklch(57.94% 0.146 132)
XYZxyz(13.5043, 20.6383, 4.5681)
Luminance0.2064 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#588B1F #521F8B
analogous
#8B881F #588B1F #228B1F
triadic
#588B1F #1F588B #8B1F58
tetradic
#588B1F #1F8B88 #521F8B #8B1F22
square
#588B1F #1F8B88 #521F8B #8B1F22
split-complementary
#588B1F #1F228B #881F8B
monochromatic
#192709 #385914 #588B1F #78BD2A #96D74D

Accessibility & contrast

On white

4.10
#588B1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#588B1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #588B1F
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##588B1F#FFFFFF#000000##000000
##588B1F1.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#918005
Deuteranopia (green-blind)
#8A7C2A
Tritanopia (blue-blind)
#598577
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #588b1f;
/* rgb */ color: rgb(88, 139, 31);
/* oklch */ color: oklch(57.9% 0.146 132.0);
Tailwind
colors: {
  custom: {
    50: '#8cad63',
    500: '#588b1f',
    950: '#000000',
  },
}
SCSS
$custom: #588b1f;
$custom-light: #8cad63;
$custom-dark: #000000;
JSON
{
  "hex": "#588b1f",
  "rgb": {
    "r": 88,
    "g": 139,
    "b": 31
  },
  "hsl": {
    "h": 88.333,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.57935,
    "c": 0.14596,
    "h": 132
  },
  "luminance": 0.20639
}

Semantic roles & 50–950 ramp

primary
#588B1F
secondary
#804CBA
accent
#41E78F
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #588B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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