#588B1A#588B1A

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

Color values

HEX#588B1A
RGBrgb(88, 139, 26)
HSLhsl(87, 68%, 32%)
HSVhsv(87, 81%, 55%)
CMYKcmyk(36.7%, 0%, 81.3%, 45.5%)
CIE-LABlab(52.52, -34.85, 50.31)
CIE-LCHlch(52.52, 61.21, 124.71°)
OKLaboklab(57.9% -0.0988 0.111)
OKLCHoklch(57.9% 0.149 131.7)
XYZxyz(13.4434, 20.6140, 4.2477)
Luminance0.2061 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#588B1A #4D1A8B
analogous
#8B861A #588B1A #1F8B1A
triadic
#588B1A #1A588B #8B1A58
tetradic
#588B1A #1A8B86 #4D1A8B #8B1A1F
square
#588B1A #1A8B86 #4D1A8B #8B1A1F
split-complementary
#588B1A #1A1F8B #861A8B
monochromatic
#172407 #375710 #588B1A #79BF24 #97DC43

Accessibility & contrast

On white

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

On black

5.12
#588B1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #588B1A
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##588B1A#FFFFFF#000000##000000
##588B1A1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#8A7C27
Tritanopia (blue-blind)
#598576
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #588b1a;
/* rgb */ color: rgb(88, 139, 26);
/* oklch */ color: oklch(57.9% 0.149 131.7);
Tailwind
colors: {
  custom: {
    50: '#8cad61',
    500: '#588b1a',
    950: '#000000',
  },
}
SCSS
$custom: #588b1a;
$custom-light: #8cad61;
$custom-dark: #000000;
JSON
{
  "hex": "#588b1a",
  "rgb": {
    "r": 88,
    "g": 139,
    "b": 26
  },
  "hsl": {
    "h": 87.08,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.57904,
    "c": 0.14861,
    "h": 131.7
  },
  "luminance": 0.20615
}

Semantic roles & 50–950 ramp

primary
#588B1A
secondary
#7A44BD
accent
#3CEB8B
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0D1005
muted
#7D7F7A

Preview Lab

Preview with #588B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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