#588F1F#588F1F

#588F1F is a mid, vivid yellow-green. Relative luminance 0.218; OKLCH L 59.0% C 0.151 H 132.7°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#588F1F
RGBrgb(88, 143, 31)
HSLhsl(89, 64%, 34%)
HSVhsv(89, 78%, 56%)
CMYKcmyk(38.5%, 0%, 78.3%, 43.9%)
CIE-LABlab(53.83, -36.36, 49.92)
CIE-LCHlch(53.83, 61.76, 126.06°)
OKLaboklab(58.98% -0.1026 0.111)
OKLCHoklch(58.98% 0.151 132.7)
XYZxyz(14.0941, 21.8179, 4.7647)
Luminance0.2182 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#588F1F #561F8F
analogous
#8F8E1F #588F1F #208F1F
triadic
#588F1F #1F588F #8F1F58
tetradic
#588F1F #1F8F8E #561F8F #8F1F20
square
#588F1F #1F8F8E #561F8F #8F1F20
split-complementary
#588F1F #1F208F #8E1F8F
monochromatic
#1A2A09 #395D14 #588F1F #77C12A #95D94F

Accessibility & contrast

On white

3.92
#588F1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#588F1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #588F1F
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##588F1F#FFFFFF#000000##000000
##588F1F1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#958303
Deuteranopia (green-blind)
#8E7F2B
Tritanopia (blue-blind)
#59897A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #588f1f;
/* rgb */ color: rgb(88, 143, 31);
/* oklch */ color: oklch(59.0% 0.151 132.7);
Tailwind
colors: {
  custom: {
    50: '#8cb064',
    500: '#588f1f',
    950: '#000000',
  },
}
SCSS
$custom: #588f1f;
$custom-light: #8cb064;
$custom-dark: #000000;
JSON
{
  "hex": "#588f1f",
  "rgb": {
    "r": 88,
    "g": 143,
    "b": 31
  },
  "hsl": {
    "h": 89.464,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.58982,
    "c": 0.1511,
    "h": 132.7
  },
  "luminance": 0.21819
}

Semantic roles & 50–950 ramp

primary
#588F1F
secondary
#844EBC
accent
#40E792
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0D1006
muted
#7D7F7A

Preview Lab

Preview with #588F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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