#5B8F2E#5B8F2E

#5B8F2E is a mid, vivid yellow-green. Relative luminance 0.221; OKLCH L 59.3% C 0.140 H 133.3°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#5B8F2E
RGBrgb(91, 143, 46)
HSLhsl(92, 51%, 37%)
HSVhsv(92, 68%, 56%)
CMYKcmyk(36.4%, 0%, 67.8%, 43.9%)
CIE-LABlab(54.10, -34.18, 44.44)
CIE-LCHlch(54.10, 56.07, 127.56°)
OKLaboklab(59.27% -0.0957 0.1017)
OKLCHoklch(59.27% 0.14 133.3)
XYZxyz(14.6297, 22.0657, 6.0725)
Luminance0.2207 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8F2E #622E8F
analogous
#8C8F2E #5B8F2E #2E8F32
triadic
#5B8F2E #2E5B8F #8F2E5B
tetradic
#5B8F2E #2E8C8F #622E8F #8F322E
square
#5B8F2E #2E8C8F #622E8F #8F322E
split-complementary
#5B8F2E #322E8F #8F2E8C
monochromatic
#203210 #3E611F #5B8F2E #78BD3D #98CF69

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B8F2E#FFFFFF#000000##000000
##5B8F2E1.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)
#958421
Deuteranopia (green-blind)
#8E8036
Tritanopia (blue-blind)
#5B897B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5b8f2e;
/* rgb */ color: rgb(91, 143, 46);
/* oklch */ color: oklch(59.3% 0.140 133.3);
Tailwind
colors: {
  custom: {
    50: '#8db06c',
    500: '#5b8f2e',
    950: '#000000',
  },
}
SCSS
$custom: #5b8f2e;
$custom-light: #8db06c;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8f2e",
  "rgb": {
    "r": 91,
    "g": 143,
    "b": 46
  },
  "hsl": {
    "h": 92.165,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.59273,
    "c": 0.1396,
    "h": 133.3
  },
  "luminance": 0.22066
}

Semantic roles & 50–950 ramp

primary
#5B8F2E
secondary
#8F63B6
accent
#4DDB99
background
#F8FAF6
surface
#F0F5EC
border
#CBCFC7
text
#0D1007
muted
#7D7F7A

Preview Lab

Preview with #5B8F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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