#5B8F2A#5B8F2A

#5B8F2A is a mid, vivid yellow-green. Relative luminance 0.220; OKLCH L 59.2% C 0.143 H 132.8°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#5B8F2A
RGBrgb(91, 143, 42)
HSLhsl(91, 55%, 36%)
HSVhsv(91, 71%, 56%)
CMYKcmyk(36.4%, 0%, 70.6%, 43.9%)
CIE-LABlab(54.06, -34.50, 46.09)
CIE-LCHlch(54.06, 57.57, 126.82°)
OKLaboklab(59.24% -0.0969 0.1046)
OKLCHoklch(59.24% 0.143 132.8)
XYZxyz(14.5546, 22.0356, 5.6765)
Luminance0.2204 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8F2A #5E2A8F
analogous
#8E8F2A #5B8F2A #2A8F2C
triadic
#5B8F2A #2A5B8F #8F2A5B
tetradic
#5B8F2A #2A8E8F #5E2A8F #8F2C2A
square
#5B8F2A #2A8E8F #5E2A8F #8F2C2A
split-complementary
#5B8F2A #2C2A8F #8F2A8E
monochromatic
#1F300E #3D601C #5B8F2A #79BE38 #98D162

Accessibility & contrast

On white

3.88
#5B8F2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#5B8F2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B8F2A
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8F2A#FFFFFF#000000##000000
##5B8F2A1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#95841B
Deuteranopia (green-blind)
#8E8033
Tritanopia (blue-blind)
#5C897B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5b8f2a;
/* rgb */ color: rgb(91, 143, 42);
/* oklch */ color: oklch(59.2% 0.143 132.8);
Tailwind
colors: {
  custom: {
    50: '#8eb06a',
    500: '#5b8f2a',
    950: '#000000',
  },
}
SCSS
$custom: #5b8f2a;
$custom-light: #8eb06a;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8f2a",
  "rgb": {
    "r": 91,
    "g": 143,
    "b": 42
  },
  "hsl": {
    "h": 90.891,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.59237,
    "c": 0.14254,
    "h": 132.8
  },
  "luminance": 0.22036
}

Semantic roles & 50–950 ramp

primary
#5B8F2A
secondary
#8C5EB7
accent
#4ADE96
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #5B8F2A

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

Preview Lab → · Contrast checker → · Palette generator →

#5B8F2A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva