#5B8F27#5B8F27

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

Color values

HEX#5B8F27
RGBrgb(91, 143, 39)
HSLhsl(90, 57%, 36%)
HSVhsv(90, 73%, 56%)
CMYKcmyk(36.4%, 0%, 72.7%, 43.9%)
CIE-LABlab(54.04, -34.73, 47.26)
CIE-LCHlch(54.04, 58.65, 126.31°)
OKLaboklab(59.21% -0.0977 0.1066)
OKLCHoklch(59.21% 0.145 132.5)
XYZxyz(14.5029, 22.0150, 5.4042)
Luminance0.2202 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8F27 #5B278F
analogous
#8F8F27 #5B8F27 #278F27
triadic
#5B8F27 #275B8F #8F275B
tetradic
#5B8F27 #278F8F #5B278F #8F2727
square
#5B8F27 #278F8F #5B278F #8F2727
split-complementary
#5B8F27 #27278F #8F278F
monochromatic
#1E2F0D #3C5F1A #5B8F27 #7ABF34 #98D35D

Accessibility & contrast

On white

3.89
#5B8F27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#5B8F27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B8F27
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8F27#FFFFFF#000000##000000
##5B8F271.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#958415
Deuteranopia (green-blind)
#8E8031
Tritanopia (blue-blind)
#5C897B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5b8f27;
/* rgb */ color: rgb(91, 143, 39);
/* oklch */ color: oklch(59.2% 0.145 132.5);
Tailwind
colors: {
  custom: {
    50: '#8eb068',
    500: '#5b8f27',
    950: '#000000',
  },
}
SCSS
$custom: #5b8f27;
$custom-light: #8eb068;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8f27",
  "rgb": {
    "r": 91,
    "g": 143,
    "b": 39
  },
  "hsl": {
    "h": 90,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.59212,
    "c": 0.1446,
    "h": 132.5
  },
  "luminance": 0.22016
}

Semantic roles & 50–950 ramp

primary
#5B8F27
secondary
#895AB8
accent
#47E094
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5B8F27

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

Preview Lab → · Contrast checker → · Palette generator →

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